2529 lines
77 KiB
C#
2529 lines
77 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: move.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 move.proto</summary>
|
|
public static partial class MoveReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for move.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static MoveReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Cgptb3ZlLnByb3RvImgKEE5wY0NyZWF0ZVJlcXVlc3QSDgoGcm9vbUlkGAEg",
|
|
"ASgJEhIKCnRlbXBsYXRlSWQYAiABKAMSDwoHc2NlbmVJZBgDIAEoCRIMCgRt",
|
|
"b2RlGAQgASgJEhEKCXN1YmplY3RJZBgFIAEoCSITChFOcGNDcmVhdGVSZXNw",
|
|
"b25zZSJBCgtNb3ZlUmVxdWVzdBIOCgZyb29tSWQYASABKAkSEAoIbW92ZVR5",
|
|
"cGUYAiABKAUSEAoIc2VsZWN0SWQYAyABKAUiSgoMTW92ZVJlc3BvbnNlEg4K",
|
|
"BnVzZXJJZBgCIAEoCRIOCgZyb29tSWQYAyABKAkSGgoIbW92ZURhdGEYASAD",
|
|
"KAsyCC5OcGNEYXRhInwKB05wY0RhdGESCQoBeBgBIAEoARIJCgF5GAIgASgB",
|
|
"EgkKAXoYAyABKAESDgoGdXNlcklkGAQgASgJEhAKCG5pY2tOYW1lGAggASgJ",
|
|
"EgwKBHR5cGUYBSABKAUSEQoJZm9ybWF0aW9uGAYgASgFEg0KBWV2ZW50GAcg",
|
|
"ASgFIoUBChJNb3ZlUm9vbUFvaVJlcXVlc3QSDgoGcm9vbUlkGAEgASgJEg4K",
|
|
"BnVzZXJJZBgCIAEoAxIJCgF4GAMgASgCEgkKAXkYBCABKAISCQoBehgFIAEo",
|
|
"AhIPCgdzY2VuZUlkGAYgASgJEg0KBW5wY0lkGAcgASgJEg4KBmFjdGlvbhgI",
|
|
"IAEoBSIVChNNb3ZlUm9vbUFvaVJlc3BvbnNlIj8KD05wY0luZm9SZXNwb25z",
|
|
"ZRINCgVucGNJZBgBIAEoCRIPCgdpbmp1cmVkGAIgASgIEgwKBHN0b3AYAyAB",
|
|
"KAhCB1oFLi87cGJiBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::NpcCreateRequest), global::NpcCreateRequest.Parser, new[]{ "RoomId", "TemplateId", "SceneId", "Mode", "SubjectId" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::NpcCreateResponse), global::NpcCreateResponse.Parser, null, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::MoveRequest), global::MoveRequest.Parser, new[]{ "RoomId", "MoveType", "SelectId" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::MoveResponse), global::MoveResponse.Parser, new[]{ "UserId", "RoomId", "MoveData" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::NpcData), global::NpcData.Parser, new[]{ "X", "Y", "Z", "UserId", "NickName", "Type", "Formation", "Event" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::MoveRoomAoiRequest), global::MoveRoomAoiRequest.Parser, new[]{ "RoomId", "UserId", "X", "Y", "Z", "SceneId", "NpcId", "Action" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::MoveRoomAoiResponse), global::MoveRoomAoiResponse.Parser, null, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::NpcInfoResponse), global::NpcInfoResponse.Parser, new[]{ "NpcId", "Injured", "Stop" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class NpcCreateRequest : pb::IMessage<NpcCreateRequest>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<NpcCreateRequest> _parser = new pb::MessageParser<NpcCreateRequest>(() => new NpcCreateRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<NpcCreateRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::MoveReflection.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 NpcCreateRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NpcCreateRequest(NpcCreateRequest other) : this() {
|
|
roomId_ = other.roomId_;
|
|
templateId_ = other.templateId_;
|
|
sceneId_ = other.sceneId_;
|
|
mode_ = other.mode_;
|
|
subjectId_ = other.subjectId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NpcCreateRequest Clone() {
|
|
return new NpcCreateRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "roomId" field.</summary>
|
|
public const int RoomIdFieldNumber = 1;
|
|
private string roomId_ = "";
|
|
/// <summary>
|
|
/// 房间id
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string RoomId {
|
|
get { return roomId_; }
|
|
set {
|
|
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "templateId" field.</summary>
|
|
public const int TemplateIdFieldNumber = 2;
|
|
private long templateId_;
|
|
/// <summary>
|
|
/// 演练模板id
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long TemplateId {
|
|
get { return templateId_; }
|
|
set {
|
|
templateId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "sceneId" field.</summary>
|
|
public const int SceneIdFieldNumber = 3;
|
|
private string sceneId_ = "";
|
|
/// <summary>
|
|
/// 场景Id
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string SceneId {
|
|
get { return sceneId_; }
|
|
set {
|
|
sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "mode" field.</summary>
|
|
public const int ModeFieldNumber = 4;
|
|
private string mode_ = "";
|
|
/// <summary>
|
|
/// 难度
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Mode {
|
|
get { return mode_; }
|
|
set {
|
|
mode_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "subjectId" field.</summary>
|
|
public const int SubjectIdFieldNumber = 5;
|
|
private string subjectId_ = "";
|
|
/// <summary>
|
|
/// 训练科目
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string SubjectId {
|
|
get { return subjectId_; }
|
|
set {
|
|
subjectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as NpcCreateRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(NpcCreateRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (RoomId != other.RoomId) return false;
|
|
if (TemplateId != other.TemplateId) return false;
|
|
if (SceneId != other.SceneId) return false;
|
|
if (Mode != other.Mode) return false;
|
|
if (SubjectId != other.SubjectId) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
|
|
if (TemplateId != 0L) hash ^= TemplateId.GetHashCode();
|
|
if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
|
|
if (Mode.Length != 0) hash ^= Mode.GetHashCode();
|
|
if (SubjectId.Length != 0) hash ^= SubjectId.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (TemplateId != 0L) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt64(TemplateId);
|
|
}
|
|
if (SceneId.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(SceneId);
|
|
}
|
|
if (Mode.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Mode);
|
|
}
|
|
if (SubjectId.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(SubjectId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (TemplateId != 0L) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt64(TemplateId);
|
|
}
|
|
if (SceneId.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(SceneId);
|
|
}
|
|
if (Mode.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Mode);
|
|
}
|
|
if (SubjectId.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(SubjectId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (RoomId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
|
|
}
|
|
if (TemplateId != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId);
|
|
}
|
|
if (SceneId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
|
|
}
|
|
if (Mode.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Mode);
|
|
}
|
|
if (SubjectId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(SubjectId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(NpcCreateRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.RoomId.Length != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
if (other.TemplateId != 0L) {
|
|
TemplateId = other.TemplateId;
|
|
}
|
|
if (other.SceneId.Length != 0) {
|
|
SceneId = other.SceneId;
|
|
}
|
|
if (other.Mode.Length != 0) {
|
|
Mode = other.Mode;
|
|
}
|
|
if (other.SubjectId.Length != 0) {
|
|
SubjectId = other.SubjectId;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
TemplateId = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 26: {
|
|
SceneId = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Mode = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
SubjectId = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 10: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
TemplateId = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 26: {
|
|
SceneId = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Mode = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
SubjectId = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class NpcCreateResponse : pb::IMessage<NpcCreateResponse>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<NpcCreateResponse> _parser = new pb::MessageParser<NpcCreateResponse>(() => new NpcCreateResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<NpcCreateResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::MoveReflection.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 NpcCreateResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NpcCreateResponse(NpcCreateResponse other) : this() {
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NpcCreateResponse Clone() {
|
|
return new NpcCreateResponse(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as NpcCreateResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(NpcCreateResponse 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(NpcCreateResponse 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 MoveRequest : pb::IMessage<MoveRequest>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MoveRequest> _parser = new pb::MessageParser<MoveRequest>(() => new MoveRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MoveRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::MoveReflection.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 MoveRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MoveRequest(MoveRequest other) : this() {
|
|
roomId_ = other.roomId_;
|
|
moveType_ = other.moveType_;
|
|
selectId_ = other.selectId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MoveRequest Clone() {
|
|
return new MoveRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "roomId" field.</summary>
|
|
public const int RoomIdFieldNumber = 1;
|
|
private string roomId_ = "";
|
|
/// <summary>
|
|
/// 房间id
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string RoomId {
|
|
get { return roomId_; }
|
|
set {
|
|
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "moveType" field.</summary>
|
|
public const int MoveTypeFieldNumber = 2;
|
|
private int moveType_;
|
|
/// <summary>
|
|
/// 移动类型 1.窗子边的移动 2. 门边的移动 3. 一起移动
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int MoveType {
|
|
get { return moveType_; }
|
|
set {
|
|
moveType_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "selectId" field.</summary>
|
|
public const int SelectIdFieldNumber = 3;
|
|
private int selectId_;
|
|
/// <summary>
|
|
/// 选项的ID
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int SelectId {
|
|
get { return selectId_; }
|
|
set {
|
|
selectId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MoveRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MoveRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (RoomId != other.RoomId) return false;
|
|
if (MoveType != other.MoveType) return false;
|
|
if (SelectId != other.SelectId) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
|
|
if (MoveType != 0) hash ^= MoveType.GetHashCode();
|
|
if (SelectId != 0) hash ^= SelectId.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (MoveType != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(MoveType);
|
|
}
|
|
if (SelectId != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(SelectId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (MoveType != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(MoveType);
|
|
}
|
|
if (SelectId != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(SelectId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (RoomId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
|
|
}
|
|
if (MoveType != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(MoveType);
|
|
}
|
|
if (SelectId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SelectId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(MoveRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.RoomId.Length != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
if (other.MoveType != 0) {
|
|
MoveType = other.MoveType;
|
|
}
|
|
if (other.SelectId != 0) {
|
|
SelectId = other.SelectId;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
MoveType = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
SelectId = 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: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
MoveType = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
SelectId = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class MoveResponse : pb::IMessage<MoveResponse>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MoveResponse> _parser = new pb::MessageParser<MoveResponse>(() => new MoveResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MoveResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::MoveReflection.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 MoveResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MoveResponse(MoveResponse other) : this() {
|
|
userId_ = other.userId_;
|
|
roomId_ = other.roomId_;
|
|
moveData_ = other.moveData_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MoveResponse Clone() {
|
|
return new MoveResponse(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "userId" field.</summary>
|
|
public const int UserIdFieldNumber = 2;
|
|
private string userId_ = "";
|
|
/// <summary>
|
|
/// 用户id
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string UserId {
|
|
get { return userId_; }
|
|
set {
|
|
userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "roomId" field.</summary>
|
|
public const int RoomIdFieldNumber = 3;
|
|
private string roomId_ = "";
|
|
/// <summary>
|
|
/// 房间id
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string RoomId {
|
|
get { return roomId_; }
|
|
set {
|
|
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "moveData" field.</summary>
|
|
public const int MoveDataFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::NpcData> _repeated_moveData_codec
|
|
= pb::FieldCodec.ForMessage(10, global::NpcData.Parser);
|
|
private readonly pbc::RepeatedField<global::NpcData> moveData_ = new pbc::RepeatedField<global::NpcData>();
|
|
/// <summary>
|
|
/// 移动数据
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::NpcData> MoveData {
|
|
get { return moveData_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MoveResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MoveResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (UserId != other.UserId) return false;
|
|
if (RoomId != other.RoomId) return false;
|
|
if(!moveData_.Equals(other.moveData_)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (UserId.Length != 0) hash ^= UserId.GetHashCode();
|
|
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
|
|
hash ^= moveData_.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
|
|
moveData_.WriteTo(output, _repeated_moveData_codec);
|
|
if (UserId.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(UserId);
|
|
}
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
moveData_.WriteTo(ref output, _repeated_moveData_codec);
|
|
if (UserId.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(UserId);
|
|
}
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (UserId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
|
|
}
|
|
if (RoomId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
|
|
}
|
|
size += moveData_.CalculateSize(_repeated_moveData_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(MoveResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.UserId.Length != 0) {
|
|
UserId = other.UserId;
|
|
}
|
|
if (other.RoomId.Length != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
moveData_.Add(other.moveData_);
|
|
_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: {
|
|
moveData_.AddEntriesFrom(input, _repeated_moveData_codec);
|
|
break;
|
|
}
|
|
case 18: {
|
|
UserId = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 10: {
|
|
moveData_.AddEntriesFrom(ref input, _repeated_moveData_codec);
|
|
break;
|
|
}
|
|
case 18: {
|
|
UserId = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class NpcData : pb::IMessage<NpcData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<NpcData> _parser = new pb::MessageParser<NpcData>(() => new NpcData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<NpcData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::MoveReflection.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 NpcData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NpcData(NpcData other) : this() {
|
|
x_ = other.x_;
|
|
y_ = other.y_;
|
|
z_ = other.z_;
|
|
userId_ = other.userId_;
|
|
nickName_ = other.nickName_;
|
|
type_ = other.type_;
|
|
formation_ = other.formation_;
|
|
event_ = other.event_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NpcData Clone() {
|
|
return new NpcData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "x" field.</summary>
|
|
public const int XFieldNumber = 1;
|
|
private double x_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double X {
|
|
get { return x_; }
|
|
set {
|
|
x_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "y" field.</summary>
|
|
public const int YFieldNumber = 2;
|
|
private double y_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double Y {
|
|
get { return y_; }
|
|
set {
|
|
y_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "z" field.</summary>
|
|
public const int ZFieldNumber = 3;
|
|
private double z_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public double Z {
|
|
get { return z_; }
|
|
set {
|
|
z_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "userId" field.</summary>
|
|
public const int UserIdFieldNumber = 4;
|
|
private string userId_ = "";
|
|
/// <summary>
|
|
/// 移动的npc的id
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string UserId {
|
|
get { return userId_; }
|
|
set {
|
|
userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "nickName" field.</summary>
|
|
public const int NickNameFieldNumber = 8;
|
|
private string nickName_ = "";
|
|
/// <summary>
|
|
/// 昵称
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string NickName {
|
|
get { return nickName_; }
|
|
set {
|
|
nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "type" field.</summary>
|
|
public const int TypeFieldNumber = 5;
|
|
private int type_;
|
|
/// <summary>
|
|
/// 类型 1 玩家 2 NPC
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Type {
|
|
get { return type_; }
|
|
set {
|
|
type_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "formation" field.</summary>
|
|
public const int FormationFieldNumber = 6;
|
|
private int formation_;
|
|
/// <summary>
|
|
/// 下楼对应的阵型 1-靠两侧 2-并排
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Formation {
|
|
get { return formation_; }
|
|
set {
|
|
formation_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "event" field.</summary>
|
|
public const int EventFieldNumber = 7;
|
|
private int event_;
|
|
/// <summary>
|
|
/// 1 进入 2 保持 3 离开
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Event {
|
|
get { return event_; }
|
|
set {
|
|
event_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as NpcData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(NpcData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(X, other.X)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Y, other.Y)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Z, other.Z)) return false;
|
|
if (UserId != other.UserId) return false;
|
|
if (NickName != other.NickName) return false;
|
|
if (Type != other.Type) return false;
|
|
if (Formation != other.Formation) return false;
|
|
if (Event != other.Event) 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 (X != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(X);
|
|
if (Y != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Y);
|
|
if (Z != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Z);
|
|
if (UserId.Length != 0) hash ^= UserId.GetHashCode();
|
|
if (NickName.Length != 0) hash ^= NickName.GetHashCode();
|
|
if (Type != 0) hash ^= Type.GetHashCode();
|
|
if (Formation != 0) hash ^= Formation.GetHashCode();
|
|
if (Event != 0) hash ^= Event.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 (X != 0D) {
|
|
output.WriteRawTag(9);
|
|
output.WriteDouble(X);
|
|
}
|
|
if (Y != 0D) {
|
|
output.WriteRawTag(17);
|
|
output.WriteDouble(Y);
|
|
}
|
|
if (Z != 0D) {
|
|
output.WriteRawTag(25);
|
|
output.WriteDouble(Z);
|
|
}
|
|
if (UserId.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(UserId);
|
|
}
|
|
if (Type != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(Type);
|
|
}
|
|
if (Formation != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(Formation);
|
|
}
|
|
if (Event != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(Event);
|
|
}
|
|
if (NickName.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(NickName);
|
|
}
|
|
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 (X != 0D) {
|
|
output.WriteRawTag(9);
|
|
output.WriteDouble(X);
|
|
}
|
|
if (Y != 0D) {
|
|
output.WriteRawTag(17);
|
|
output.WriteDouble(Y);
|
|
}
|
|
if (Z != 0D) {
|
|
output.WriteRawTag(25);
|
|
output.WriteDouble(Z);
|
|
}
|
|
if (UserId.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(UserId);
|
|
}
|
|
if (Type != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(Type);
|
|
}
|
|
if (Formation != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteInt32(Formation);
|
|
}
|
|
if (Event != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteInt32(Event);
|
|
}
|
|
if (NickName.Length != 0) {
|
|
output.WriteRawTag(66);
|
|
output.WriteString(NickName);
|
|
}
|
|
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 (X != 0D) {
|
|
size += 1 + 8;
|
|
}
|
|
if (Y != 0D) {
|
|
size += 1 + 8;
|
|
}
|
|
if (Z != 0D) {
|
|
size += 1 + 8;
|
|
}
|
|
if (UserId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
|
|
}
|
|
if (NickName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName);
|
|
}
|
|
if (Type != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type);
|
|
}
|
|
if (Formation != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Formation);
|
|
}
|
|
if (Event != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Event);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(NpcData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.X != 0D) {
|
|
X = other.X;
|
|
}
|
|
if (other.Y != 0D) {
|
|
Y = other.Y;
|
|
}
|
|
if (other.Z != 0D) {
|
|
Z = other.Z;
|
|
}
|
|
if (other.UserId.Length != 0) {
|
|
UserId = other.UserId;
|
|
}
|
|
if (other.NickName.Length != 0) {
|
|
NickName = other.NickName;
|
|
}
|
|
if (other.Type != 0) {
|
|
Type = other.Type;
|
|
}
|
|
if (other.Formation != 0) {
|
|
Formation = other.Formation;
|
|
}
|
|
if (other.Event != 0) {
|
|
Event = other.Event;
|
|
}
|
|
_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 9: {
|
|
X = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 17: {
|
|
Y = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 25: {
|
|
Z = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 34: {
|
|
UserId = input.ReadString();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Type = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Formation = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Event = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
NickName = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 9: {
|
|
X = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 17: {
|
|
Y = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 25: {
|
|
Z = input.ReadDouble();
|
|
break;
|
|
}
|
|
case 34: {
|
|
UserId = input.ReadString();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Type = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
Formation = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
Event = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
NickName = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class MoveRoomAoiRequest : pb::IMessage<MoveRoomAoiRequest>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MoveRoomAoiRequest> _parser = new pb::MessageParser<MoveRoomAoiRequest>(() => new MoveRoomAoiRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MoveRoomAoiRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::MoveReflection.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 MoveRoomAoiRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MoveRoomAoiRequest(MoveRoomAoiRequest other) : this() {
|
|
roomId_ = other.roomId_;
|
|
userId_ = other.userId_;
|
|
x_ = other.x_;
|
|
y_ = other.y_;
|
|
z_ = other.z_;
|
|
sceneId_ = other.sceneId_;
|
|
npcId_ = other.npcId_;
|
|
action_ = other.action_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MoveRoomAoiRequest Clone() {
|
|
return new MoveRoomAoiRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "roomId" field.</summary>
|
|
public const int RoomIdFieldNumber = 1;
|
|
private string roomId_ = "";
|
|
/// <summary>
|
|
/// 房间Id
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string RoomId {
|
|
get { return roomId_; }
|
|
set {
|
|
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "userId" field.</summary>
|
|
public const int UserIdFieldNumber = 2;
|
|
private long userId_;
|
|
/// <summary>
|
|
/// 用户Id
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long UserId {
|
|
get { return userId_; }
|
|
set {
|
|
userId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "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 "z" field.</summary>
|
|
public const int ZFieldNumber = 5;
|
|
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 "sceneId" field.</summary>
|
|
public const int SceneIdFieldNumber = 6;
|
|
private string sceneId_ = "";
|
|
/// <summary>
|
|
/// sceneId
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string SceneId {
|
|
get { return sceneId_; }
|
|
set {
|
|
sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "npcId" field.</summary>
|
|
public const int NpcIdFieldNumber = 7;
|
|
private string npcId_ = "";
|
|
/// <summary>
|
|
/// npcId
|
|
/// </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 "action" field.</summary>
|
|
public const int ActionFieldNumber = 8;
|
|
private int action_;
|
|
/// <summary>
|
|
/// 是否扛起 1 扛起 2 放下
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Action {
|
|
get { return action_; }
|
|
set {
|
|
action_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MoveRoomAoiRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MoveRoomAoiRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (RoomId != other.RoomId) return false;
|
|
if (UserId != other.UserId) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false;
|
|
if (SceneId != other.SceneId) return false;
|
|
if (NpcId != other.NpcId) return false;
|
|
if (Action != other.Action) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
|
|
if (UserId != 0L) hash ^= UserId.GetHashCode();
|
|
if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X);
|
|
if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y);
|
|
if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z);
|
|
if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
|
|
if (NpcId.Length != 0) hash ^= NpcId.GetHashCode();
|
|
if (Action != 0) hash ^= Action.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (UserId != 0L) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt64(UserId);
|
|
}
|
|
if (X != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(X);
|
|
}
|
|
if (Y != 0F) {
|
|
output.WriteRawTag(37);
|
|
output.WriteFloat(Y);
|
|
}
|
|
if (Z != 0F) {
|
|
output.WriteRawTag(45);
|
|
output.WriteFloat(Z);
|
|
}
|
|
if (SceneId.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(SceneId);
|
|
}
|
|
if (NpcId.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(NpcId);
|
|
}
|
|
if (Action != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteInt32(Action);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (UserId != 0L) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt64(UserId);
|
|
}
|
|
if (X != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(X);
|
|
}
|
|
if (Y != 0F) {
|
|
output.WriteRawTag(37);
|
|
output.WriteFloat(Y);
|
|
}
|
|
if (Z != 0F) {
|
|
output.WriteRawTag(45);
|
|
output.WriteFloat(Z);
|
|
}
|
|
if (SceneId.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(SceneId);
|
|
}
|
|
if (NpcId.Length != 0) {
|
|
output.WriteRawTag(58);
|
|
output.WriteString(NpcId);
|
|
}
|
|
if (Action != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteInt32(Action);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (RoomId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
|
|
}
|
|
if (UserId != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId);
|
|
}
|
|
if (X != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (Y != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (Z != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (SceneId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
|
|
}
|
|
if (NpcId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(NpcId);
|
|
}
|
|
if (Action != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Action);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(MoveRoomAoiRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.RoomId.Length != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
if (other.UserId != 0L) {
|
|
UserId = other.UserId;
|
|
}
|
|
if (other.X != 0F) {
|
|
X = other.X;
|
|
}
|
|
if (other.Y != 0F) {
|
|
Y = other.Y;
|
|
}
|
|
if (other.Z != 0F) {
|
|
Z = other.Z;
|
|
}
|
|
if (other.SceneId.Length != 0) {
|
|
SceneId = other.SceneId;
|
|
}
|
|
if (other.NpcId.Length != 0) {
|
|
NpcId = other.NpcId;
|
|
}
|
|
if (other.Action != 0) {
|
|
Action = other.Action;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
UserId = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 29: {
|
|
X = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 37: {
|
|
Y = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 45: {
|
|
Z = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 50: {
|
|
SceneId = input.ReadString();
|
|
break;
|
|
}
|
|
case 58: {
|
|
NpcId = input.ReadString();
|
|
break;
|
|
}
|
|
case 64: {
|
|
Action = 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: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
UserId = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 29: {
|
|
X = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 37: {
|
|
Y = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 45: {
|
|
Z = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 50: {
|
|
SceneId = input.ReadString();
|
|
break;
|
|
}
|
|
case 58: {
|
|
NpcId = input.ReadString();
|
|
break;
|
|
}
|
|
case 64: {
|
|
Action = input.ReadInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class MoveRoomAoiResponse : pb::IMessage<MoveRoomAoiResponse>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<MoveRoomAoiResponse> _parser = new pb::MessageParser<MoveRoomAoiResponse>(() => new MoveRoomAoiResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<MoveRoomAoiResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::MoveReflection.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 MoveRoomAoiResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MoveRoomAoiResponse(MoveRoomAoiResponse other) : this() {
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public MoveRoomAoiResponse Clone() {
|
|
return new MoveRoomAoiResponse(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as MoveRoomAoiResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(MoveRoomAoiResponse 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(MoveRoomAoiResponse 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 NpcInfoResponse : pb::IMessage<NpcInfoResponse>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<NpcInfoResponse> _parser = new pb::MessageParser<NpcInfoResponse>(() => new NpcInfoResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<NpcInfoResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::MoveReflection.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 NpcInfoResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NpcInfoResponse(NpcInfoResponse other) : this() {
|
|
npcId_ = other.npcId_;
|
|
injured_ = other.injured_;
|
|
stop_ = other.stop_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public NpcInfoResponse Clone() {
|
|
return new NpcInfoResponse(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 "injured" field.</summary>
|
|
public const int InjuredFieldNumber = 2;
|
|
private bool injured_;
|
|
/// <summary>
|
|
/// 受伤
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Injured {
|
|
get { return injured_; }
|
|
set {
|
|
injured_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "stop" field.</summary>
|
|
public const int StopFieldNumber = 3;
|
|
private bool stop_;
|
|
/// <summary>
|
|
/// 是否停止下来
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Stop {
|
|
get { return stop_; }
|
|
set {
|
|
stop_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as NpcInfoResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(NpcInfoResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (NpcId != other.NpcId) return false;
|
|
if (Injured != other.Injured) return false;
|
|
if (Stop != other.Stop) 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 (Injured != false) hash ^= Injured.GetHashCode();
|
|
if (Stop != false) hash ^= Stop.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 (Injured != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(Injured);
|
|
}
|
|
if (Stop != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(Stop);
|
|
}
|
|
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 (Injured != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(Injured);
|
|
}
|
|
if (Stop != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(Stop);
|
|
}
|
|
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 (Injured != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (Stop != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(NpcInfoResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.NpcId.Length != 0) {
|
|
NpcId = other.NpcId;
|
|
}
|
|
if (other.Injured != false) {
|
|
Injured = other.Injured;
|
|
}
|
|
if (other.Stop != false) {
|
|
Stop = other.Stop;
|
|
}
|
|
_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 16: {
|
|
Injured = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Stop = input.ReadBool();
|
|
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 16: {
|
|
Injured = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Stop = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
#endregion Designer generated code
|