_xiaofang/xiaofang/Assets/ProtoBuf/Proto/Fps.cs

2923 lines
91 KiB
C#
Raw Normal View History

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: fps.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
/// <summary>Holder for reflection information generated from fps.proto</summary>
public static partial class FpsReflection {
#region Descriptor
/// <summary>File descriptor for fps.proto</summary>
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
/// <summary>
///广播帧消息
/// </summary>
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BroadcastFrameMsg : pb::IMessage<BroadcastFrameMsg>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<BroadcastFrameMsg> _parser = new pb::MessageParser<BroadcastFrameMsg>(() => new BroadcastFrameMsg());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<BroadcastFrameMsg> 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);
}
/// <summary>Field number for the "frames" field.</summary>
public const int FramesFieldNumber = 1;
private static readonly pb::FieldCodec<global::FrameDataRequest> _repeated_frames_codec
= pb::FieldCodec.ForMessage(10, global::FrameDataRequest.Parser);
private readonly pbc::RepeatedField<global::FrameDataRequest> frames_ = new pbc::RepeatedField<global::FrameDataRequest>();
/// <summary>
///帧数据
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::FrameDataRequest> 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
}
/// <summary>
///帧数据
/// </summary>
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class FrameDataRequest : pb::IMessage<FrameDataRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<FrameDataRequest> _parser = new pb::MessageParser<FrameDataRequest>(() => new FrameDataRequest());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<FrameDataRequest> 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);
}
/// <summary>Field number for the "frameID" field.</summary>
public const int FrameIDFieldNumber = 1;
private readonly static uint FrameIDDefaultValue = 0;
private uint frameID_;
/// <summary>
///帧ID
/// </summary>
[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;
}
}
/// <summary>Gets whether the "frameID" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HasFrameID {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "frameID" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearFrameID() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "input" field.</summary>
public const int InputFieldNumber = 2;
private static readonly pb::FieldCodec<global::InputData> _repeated_input_codec
= pb::FieldCodec.ForMessage(18, global::InputData.Parser);
private readonly pbc::RepeatedField<global::InputData> input_ = new pbc::RepeatedField<global::InputData>();
/// <summary>
///操作输入
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::InputData> 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
}
/// <summary>
///帧存储操作输入
/// </summary>
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class InputData : pb::IMessage<InputData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<InputData> _parser = new pb::MessageParser<InputData>(() => new InputData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<InputData> 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);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private string id_ = "";
/// <summary>
///id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "sId" field.</summary>
public const int SIdFieldNumber = 2;
private string sId_ = "";
/// <summary>
///操作id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SId {
get { return sId_; }
set {
sId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "x" field.</summary>
public const int XFieldNumber = 3;
private float x_;
/// <summary>
///操作位置x
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float X {
get { return x_; }
set {
x_ = value;
}
}
/// <summary>Field number for the "y" field.</summary>
public const int YFieldNumber = 4;
private float y_;
/// <summary>
///操作位置y
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float Y {
get { return y_; }
set {
y_ = value;
}
}
/// <summary>Field number for the "roomSeatId" field.</summary>
public const int RoomSeatIdFieldNumber = 5;
private int roomSeatId_;
/// <summary>
///操作者的位置索引id(1~N)
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RoomSeatId {
get { return roomSeatId_; }
set {
roomSeatId_ = value;
}
}
/// <summary>Field number for the "z" field.</summary>
public const int ZFieldNumber = 6;
private float z_;
/// <summary>
///操作位置z
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float Z {
get { return z_; }
set {
z_ = value;
}
}
/// <summary>Field number for the "roomId" field.</summary>
public const int RoomIdFieldNumber = 8;
private string roomId_ = "";
/// <summary>
///房间id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoomId {
get { return roomId_; }
set {
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "vision" field.</summary>
public const int VisionFieldNumber = 9;
private float vision_;
/// <summary>
///视野范围
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float Vision {
get { return vision_; }
set {
vision_ = value;
}
}
/// <summary>Field number for the "direction" field.</summary>
public const int DirectionFieldNumber = 10;
private float direction_;
/// <summary>
///方向
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float Direction {
get { return direction_; }
set {
direction_ = value;
}
}
/// <summary>Field number for the "action" field.</summary>
public const int ActionFieldNumber = 11;
private int action_;
/// <summary>
///动作 1 跑动 2 使用道具 3 救人 4 使用配电箱
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Action {
get { return action_; }
set {
action_ = value;
}
}
/// <summary>Field number for the "fireParams" field.</summary>
public const int FireParamsFieldNumber = 12;
private static readonly pb::FieldCodec<global::FireParam> _repeated_fireParams_codec
= pb::FieldCodec.ForMessage(98, global::FireParam.Parser);
private readonly pbc::RepeatedField<global::FireParam> fireParams_ = new pbc::RepeatedField<global::FireParam>();
/// <summary>
/// 火势参数
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::FireParam> FireParams {
get { return fireParams_; }
}
/// <summary>Field number for the "propParams" field.</summary>
public const int PropParamsFieldNumber = 13;
private static readonly pb::FieldCodec<global::PropParam> _repeated_propParams_codec
= pb::FieldCodec.ForMessage(106, global::PropParam.Parser);
private readonly pbc::RepeatedField<global::PropParam> propParams_ = new pbc::RepeatedField<global::PropParam>();
/// <summary>
/// 道具id列表
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::PropParam> PropParams {
get { return propParams_; }
}
/// <summary>Field number for the "npcParams" field.</summary>
public const int NpcParamsFieldNumber = 14;
private static readonly pb::FieldCodec<global::NpcParam> _repeated_npcParams_codec
= pb::FieldCodec.ForMessage(114, global::NpcParam.Parser);
private readonly pbc::RepeatedField<global::NpcParam> npcParams_ = new pbc::RepeatedField<global::NpcParam>();
/// <summary>
/// NPC参数列表
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::NpcParam> NpcParams {
get { return npcParams_; }
}
/// <summary>Field number for the "speed" field.</summary>
public const int SpeedFieldNumber = 15;
private float speed_;
/// <summary>
/// 速度
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float Speed {
get { return speed_; }
set {
speed_ = value;
}
}
/// <summary>Field number for the "network" field.</summary>
public const int NetworkFieldNumber = 16;
private float network_;
/// <summary>
/// 网络延迟
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float Network {
get { return network_; }
set {
network_ = value;
}
}
/// <summary>Field number for the "usePowerBox" field.</summary>
public const int UsePowerBoxFieldNumber = 17;
private bool usePowerBox_;
/// <summary>
/// 是否使用配电箱
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool UsePowerBox {
get { return usePowerBox_; }
set {
usePowerBox_ = value;
}
}
/// <summary>Field number for the "taskParams" field.</summary>
public const int TaskParamsFieldNumber = 18;
private static readonly pb::FieldCodec<global::TaskParam> _repeated_taskParams_codec
= pb::FieldCodec.ForMessage(146, global::TaskParam.Parser);
private readonly pbc::RepeatedField<global::TaskParam> taskParams_ = new pbc::RepeatedField<global::TaskParam>();
/// <summary>
/// 配电箱id列表
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::TaskParam> TaskParams {
get { return taskParams_; }
}
/// <summary>Field number for the "OnlineParam" field.</summary>
public const int OnlineParamFieldNumber = 19;
private static readonly pb::FieldCodec<global::OnlineParam> _repeated_onlineParam_codec
= pb::FieldCodec.ForMessage(154, global::OnlineParam.Parser);
private readonly pbc::RepeatedField<global::OnlineParam> onlineParam_ = new pbc::RepeatedField<global::OnlineParam>();
/// <summary>
/// 配电箱id列表
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::OnlineParam> 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
}
/// <summary>
/// 空白消息
/// </summary>
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class EmptyResponse : pb::IMessage<EmptyResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<EmptyResponse> _parser = new pb::MessageParser<EmptyResponse>(() => new EmptyResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<EmptyResponse> 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
}
/// <summary>
/// 火势参数
/// </summary>
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class FireParam : pb::IMessage<FireParam>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<FireParam> _parser = new pb::MessageParser<FireParam>(() => new FireParam());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<FireParam> 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);
}
/// <summary>Field number for the "point" field.</summary>
public const int PointFieldNumber = 1;
private string point_ = "";
/// <summary>
///着火点
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Point {
get { return point_; }
set {
point_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "half" field.</summary>
public const int HalfFieldNumber = 2;
private float half_;
/// <summary>
///半径
/// </summary>
[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
}
/// <summary>
/// 道具参数
/// </summary>
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PropParam : pb::IMessage<PropParam>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PropParam> _parser = new pb::MessageParser<PropParam>(() => new PropParam());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PropParam> 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);
}
/// <summary>Field number for the "propId" field.</summary>
public const int PropIdFieldNumber = 1;
private string propId_ = "";
/// <summary>
///道具id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string PropId {
get { return propId_; }
set {
propId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "num" field.</summary>
public const int NumFieldNumber = 2;
private int num_;
/// <summary>
///道具数量
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Num {
get { return num_; }
set {
num_ = value;
}
}
/// <summary>Field number for the "seconds" field.</summary>
public const int SecondsFieldNumber = 3;
private int seconds_;
/// <summary>
///道具使用时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Seconds {
get { return seconds_; }
set {
seconds_ = value;
}
}
/// <summary>Field number for the "point" field.</summary>
public const int PointFieldNumber = 4;
private string point_ = "";
/// <summary>
///道具使用位置
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Point {
get { return point_; }
set {
point_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "status" field.</summary>
public const int StatusFieldNumber = 5;
private int status_;
/// <summary>
///道具状态 0 未使用 1 使用中 2 已使用
/// </summary>
[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
}
/// <summary>
/// npc 参数
/// </summary>
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class NpcParam : pb::IMessage<NpcParam>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<NpcParam> _parser = new pb::MessageParser<NpcParam>(() => new NpcParam());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<NpcParam> 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);
}
/// <summary>Field number for the "npcId" field.</summary>
public const int NpcIdFieldNumber = 1;
private string npcId_ = "";
/// <summary>
///npc id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string NpcId {
get { return npcId_; }
set {
npcId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "point" field.</summary>
public const int PointFieldNumber = 2;
private string point_ = "";
/// <summary>
///npc 位置
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Point {
get { return point_; }
set {
point_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "status" field.</summary>
public const int StatusFieldNumber = 3;
private int status_;
/// <summary>
///npc 状态 1 移动 2 倒下
/// </summary>
[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
}
/// <summary>
/// 角色在线状态
/// </summary>
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class OnlineParam : pb::IMessage<OnlineParam>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<OnlineParam> _parser = new pb::MessageParser<OnlineParam>(() => new OnlineParam());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<OnlineParam> 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);
}
/// <summary>Field number for the "roleId" field.</summary>
public const int RoleIdFieldNumber = 1;
private string roleId_ = "";
/// <summary>
///角色id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoleId {
get { return roleId_; }
set {
roleId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "onlineNum" field.</summary>
public const int OnlineNumFieldNumber = 2;
private int onlineNum_;
/// <summary>
/// 在线人数
/// </summary>
[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
}
/// <summary>
/// 任务列表参数
/// </summary>
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TaskParam : pb::IMessage<TaskParam>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TaskParam> _parser = new pb::MessageParser<TaskParam>(() => new TaskParam());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TaskParam> 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);
}
/// <summary>Field number for the "taskId" field.</summary>
public const int TaskIdFieldNumber = 1;
private string taskId_ = "";
/// <summary>
///任务id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TaskId {
get { return taskId_; }
set {
taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "taskName" field.</summary>
public const int TaskNameFieldNumber = 2;
private string taskName_ = "";
/// <summary>
///任务名称
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TaskName {
get { return taskName_; }
set {
taskName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "taskStatus" field.</summary>
public const int TaskStatusFieldNumber = 3;
private int taskStatus_;
/// <summary>
///任务状态 0 未完成 1 完成
/// </summary>
[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