_xiaofang/xiaofang/Assets/ProtoBuf/Proto/Hall.cs
2024-12-29 19:33:02 +08:00

5471 lines
169 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: hall.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 hall.proto</summary>
public static partial class HallReflection {
#region Descriptor
/// <summary>File descriptor for hall.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static HallReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CgpoYWxsLnByb3RvIi8KDExvZ2luUmVxdWVzdBIOCgZ1c2VySWQYASABKAkS",
"DwoHYWNjb3VudBgCIAEoCSJfCg1Mb2dpblJlc3BvbnNlEg8KB21lc3NhZ2UY",
"ASABKAkSDAoEY29kZRgCIAEoBRIMCgRkYXRlGAQgASgJEiEKBGRhdGEYAyAB",
"KAsyEy5QbGF5ZXJKb2luUmVzcG9uc2UiHwoMSGVsbG9SZXF1ZXN0Eg8KB21l",
"c3NhZ2UYASABKAkiIAoNSGVsbG9SZXNwb25zZRIPCgdtZXNzYWdlGAEgASgJ",
"IiEKD0pvaW5Sb29tUmVxdWVzdBIOCgZyb29tSWQYASABKAkiNQoSUGxheWVy",
"UmVhZHlSZXF1ZXN0Eg4KBnJvb21JZBgBIAEoCRIPCgdpc1JlYWR5GAIgASgI",
"IlQKEEpvaW5Sb29tUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIMCgRjb2Rl",
"GAIgASgFEiEKBGRhdGEYAyABKAsyEy5QbGF5ZXJKb2luUmVzcG9uc2UiyAMK",
"ElBsYXllckpvaW5SZXNwb25zZRIQCghVc2VyTmFtZRgBIAEoCRIOCgZSb29t",
"SWQYAiABKAkSDgoGU3RhdHVzGAMgASgFEhAKCFJvbGVOYW1lGAQgASgJEhQK",
"DElzTGVhZGluZ05QQxgFIAEoBRIOCgZPbmxpbmUYBiABKAgSDgoGUm9sZUlk",
"GAcgASgFEhMKC0dyb3VwTGVhZGVyGAggASgFEhIKCkFjdGlvbk1vZGUYCSAB",
"KAUSDQoFR3JvdXAYCiABKAUSCQoBWBgLIAEoARIJCgFZGAwgASgBEgkKAVoY",
"DSABKAESEwoLT3ZlcnNlZUNvbmQYDiABKAkSFgoOU2VuZEZyYW1lQ291bnQY",
"DyABKAUSFgoOTW92ZVNwZWVkRmlyc3QYECABKAUSFwoPTW92ZVNwZWVkU2Vj",
"b25kGBEgASgFEhYKDk1vdmVTcGVlZFRoaXJkGBIgASgFEhAKCEJlYXJMb2Fk",
"GBMgASgFEhIKClByb3RlY3Rpb24YFCABKAUSDgoGSGVhbHRoGBUgASgFEhIK",
"ClJvbGVTdGF0dXMYFiABKAUSDgoGVXNlcklkGBcgASgDEg8KB2lzUmVhZHkY",
"GCABKAgiKQoTUHJvcFRlbXBsYXRlUmVxdWVzdBISCgp0ZW1wbGF0ZUlkGAEg",
"ASgDIksKFFByb3BUZW1wbGF0ZVJlc3BvbnNlEhIKClRlbXBsYXRlSWQYASAB",
"KAMSCwoDTnVtGAIgASgDEhIKCk1hdGVyaWFsSWQYAyABKAMiOwoPUHBjUHJv",
"cFJlc3BvbnNlEigKCXJlc3BvbnNlcxgBIAMoCzIVLlByb3BUZW1wbGF0ZVJl",
"c3BvbnNlIloKE1JwY1Jvb21JbmZvUmVzcG9uc2USCgoCSWQYASABKAMSEgoK",
"VGVtcGxhdGVJZBgCIAEoAxIOCgZTdGF0dXMYAyABKAMSEwoLUmVzZXJ2ZURh",
"dGUYBCABKAkiOQoTVXNlclRlbXBsYXRlUmVxdWVzdBISCgp0ZW1wbGF0ZUlk",
"GAEgASgDEg4KBlJvb21JZBgCIAEoCSI4CgxVc2VyVGVtcGxhdGUSKAoJcmVz",
"cG9uc2VzGAEgAygLMhUuVXNlclRlbXBsYXRlUmVzcG9uc2Ui/wEKFFVzZXJU",
"ZW1wbGF0ZVJlc3BvbnNlEg4KBlJvb21JZBgBIAEoAxIOCgZVc2VySWQYAiAB",
"KAMSDgoGU3RhdHVzGAMgASgFEhIKClRlbXBsYXRlSWQYBCABKAMSDgoGUm9s",
"ZUlkGAUgASgDEhMKC0JpcnRoQXJlYUlkGAYgASgDEhQKDENoYXJnZUFyZWFJ",
"ZBgHIAEoAxIJCgFYGAggASgCEgkKAVkYCSABKAISCQoBWhgKIAEoAhIWCg5N",
"b3ZlU3BlZWRGaXJzdBgLIAEoAxIXCg9Nb3ZlU3BlZWRTZWNvbmQYDCABKAMS",
"FgoOTW92ZVNwZWVkVGhpcmQYDSABKAMiYgoPVXNlckluZm9SZXF1ZXN0Eg4K",
"BlVzZXJJZBgBIAEoAxIOCgZTdGF0dXMYAiABKAUSDgoGUm9vbUlkGAMgASgJ",
"EgkKAXgYBCABKAISCQoBeRgFIAEoAhIJCgF6GAYgASgCIhIKEFVzZXJJbmZv",
"UmVzcG9uc2VCB1oFLi87cGJiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::LoginRequest), global::LoginRequest.Parser, new[]{ "UserId", "Account" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::LoginResponse), global::LoginResponse.Parser, new[]{ "Message", "Code", "Date", "Data" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::HelloRequest), global::HelloRequest.Parser, new[]{ "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::HelloResponse), global::HelloResponse.Parser, new[]{ "Message" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::JoinRoomRequest), global::JoinRoomRequest.Parser, new[]{ "RoomId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::PlayerReadyRequest), global::PlayerReadyRequest.Parser, new[]{ "RoomId", "IsReady" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::JoinRoomResponse), global::JoinRoomResponse.Parser, new[]{ "Message", "Code", "Data" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::PlayerJoinResponse), global::PlayerJoinResponse.Parser, new[]{ "UserName", "RoomId", "Status", "RoleName", "IsLeadingNPC", "Online", "RoleId", "GroupLeader", "ActionMode", "Group", "X", "Y", "Z", "OverseeCond", "SendFrameCount", "MoveSpeedFirst", "MoveSpeedSecond", "MoveSpeedThird", "BearLoad", "Protection", "Health", "RoleStatus", "UserId", "IsReady" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::PropTemplateRequest), global::PropTemplateRequest.Parser, new[]{ "TemplateId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::PropTemplateResponse), global::PropTemplateResponse.Parser, new[]{ "TemplateId", "Num", "MaterialId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::PpcPropResponse), global::PpcPropResponse.Parser, new[]{ "Responses" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RpcRoomInfoResponse), global::RpcRoomInfoResponse.Parser, new[]{ "Id", "TemplateId", "Status", "ReserveDate" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::UserTemplateRequest), global::UserTemplateRequest.Parser, new[]{ "TemplateId", "RoomId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::UserTemplate), global::UserTemplate.Parser, new[]{ "Responses" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::UserTemplateResponse), global::UserTemplateResponse.Parser, new[]{ "RoomId", "UserId", "Status", "TemplateId", "RoleId", "BirthAreaId", "ChargeAreaId", "X", "Y", "Z", "MoveSpeedFirst", "MoveSpeedSecond", "MoveSpeedThird" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::UserInfoRequest), global::UserInfoRequest.Parser, new[]{ "UserId", "Status", "RoomId", "X", "Y", "Z" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::UserInfoResponse), global::UserInfoResponse.Parser, null, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class LoginRequest : pb::IMessage<LoginRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<LoginRequest> _parser = new pb::MessageParser<LoginRequest>(() => new LoginRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<LoginRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.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 LoginRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LoginRequest(LoginRequest other) : this() {
userId_ = other.userId_;
account_ = other.account_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LoginRequest Clone() {
return new LoginRequest(this);
}
/// <summary>Field number for the "userId" field.</summary>
public const int UserIdFieldNumber = 1;
private string userId_ = "";
[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 "account" field.</summary>
public const int AccountFieldNumber = 2;
private string account_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Account {
get { return account_; }
set {
account_ = 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 LoginRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(LoginRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserId != other.UserId) return false;
if (Account != other.Account) 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 (Account.Length != 0) hash ^= Account.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (UserId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(UserId);
}
if (Account.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Account);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (UserId.Length != 0) {
output.WriteRawTag(10);
output.WriteString(UserId);
}
if (Account.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Account);
}
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 (Account.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Account);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(LoginRequest other) {
if (other == null) {
return;
}
if (other.UserId.Length != 0) {
UserId = other.UserId;
}
if (other.Account.Length != 0) {
Account = other.Account;
}
_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: {
UserId = input.ReadString();
break;
}
case 18: {
Account = 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: {
UserId = input.ReadString();
break;
}
case 18: {
Account = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class LoginResponse : pb::IMessage<LoginResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<LoginResponse> _parser = new pb::MessageParser<LoginResponse>(() => new LoginResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<LoginResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.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 LoginResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LoginResponse(LoginResponse other) : this() {
message_ = other.message_;
code_ = other.code_;
date_ = other.date_;
data_ = other.data_ != null ? other.data_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LoginResponse Clone() {
return new LoginResponse(this);
}
/// <summary>Field number for the "message" field.</summary>
public const int MessageFieldNumber = 1;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "code" field.</summary>
public const int CodeFieldNumber = 2;
private int code_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Code {
get { return code_; }
set {
code_ = value;
}
}
/// <summary>Field number for the "date" field.</summary>
public const int DateFieldNumber = 4;
private string date_ = "";
/// <summary>
/// 返回服务器当前时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Date {
get { return date_; }
set {
date_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "data" field.</summary>
public const int DataFieldNumber = 3;
private global::PlayerJoinResponse data_;
/// <summary>
/// 玩家信息
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::PlayerJoinResponse Data {
get { return data_; }
set {
data_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as LoginResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(LoginResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Message != other.Message) return false;
if (Code != other.Code) return false;
if (Date != other.Date) return false;
if (!object.Equals(Data, other.Data)) 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 (Message.Length != 0) hash ^= Message.GetHashCode();
if (Code != 0) hash ^= Code.GetHashCode();
if (Date.Length != 0) hash ^= Date.GetHashCode();
if (data_ != null) hash ^= Data.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 (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
if (Code != 0) {
output.WriteRawTag(16);
output.WriteInt32(Code);
}
if (data_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Data);
}
if (Date.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Date);
}
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 (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
if (Code != 0) {
output.WriteRawTag(16);
output.WriteInt32(Code);
}
if (data_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Data);
}
if (Date.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Date);
}
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 (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (Code != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code);
}
if (Date.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Date);
}
if (data_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(LoginResponse other) {
if (other == null) {
return;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
if (other.Code != 0) {
Code = other.Code;
}
if (other.Date.Length != 0) {
Date = other.Date;
}
if (other.data_ != null) {
if (data_ == null) {
Data = new global::PlayerJoinResponse();
}
Data.MergeFrom(other.Data);
}
_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: {
Message = input.ReadString();
break;
}
case 16: {
Code = input.ReadInt32();
break;
}
case 26: {
if (data_ == null) {
Data = new global::PlayerJoinResponse();
}
input.ReadMessage(Data);
break;
}
case 34: {
Date = 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: {
Message = input.ReadString();
break;
}
case 16: {
Code = input.ReadInt32();
break;
}
case 26: {
if (data_ == null) {
Data = new global::PlayerJoinResponse();
}
input.ReadMessage(Data);
break;
}
case 34: {
Date = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class HelloRequest : pb::IMessage<HelloRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<HelloRequest> _parser = new pb::MessageParser<HelloRequest>(() => new HelloRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<HelloRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.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 HelloRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public HelloRequest(HelloRequest other) : this() {
message_ = other.message_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public HelloRequest Clone() {
return new HelloRequest(this);
}
/// <summary>Field number for the "message" field.</summary>
public const int MessageFieldNumber = 1;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Message {
get { return message_; }
set {
message_ = 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 HelloRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(HelloRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Message != other.Message) 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 (Message.Length != 0) hash ^= Message.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 (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
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 (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
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 (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(HelloRequest other) {
if (other == null) {
return;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
_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: {
Message = 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: {
Message = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class HelloResponse : pb::IMessage<HelloResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<HelloResponse> _parser = new pb::MessageParser<HelloResponse>(() => new HelloResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<HelloResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.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 HelloResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public HelloResponse(HelloResponse other) : this() {
message_ = other.message_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public HelloResponse Clone() {
return new HelloResponse(this);
}
/// <summary>Field number for the "message" field.</summary>
public const int MessageFieldNumber = 1;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Message {
get { return message_; }
set {
message_ = 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 HelloResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(HelloResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Message != other.Message) 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 (Message.Length != 0) hash ^= Message.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 (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
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 (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
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 (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(HelloResponse other) {
if (other == null) {
return;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
_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: {
Message = 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: {
Message = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class JoinRoomRequest : pb::IMessage<JoinRoomRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<JoinRoomRequest> _parser = new pb::MessageParser<JoinRoomRequest>(() => new JoinRoomRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<JoinRoomRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.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 JoinRoomRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public JoinRoomRequest(JoinRoomRequest other) : this() {
roomId_ = other.roomId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public JoinRoomRequest Clone() {
return new JoinRoomRequest(this);
}
/// <summary>Field number for the "roomId" field.</summary>
public const int RoomIdFieldNumber = 1;
private string roomId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoomId {
get { return roomId_; }
set {
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as JoinRoomRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(JoinRoomRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RoomId != other.RoomId) 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 (_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 (_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 (_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 (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(JoinRoomRequest other) {
if (other == null) {
return;
}
if (other.RoomId.Length != 0) {
RoomId = other.RoomId;
}
_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;
}
}
}
#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;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PlayerReadyRequest : pb::IMessage<PlayerReadyRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PlayerReadyRequest> _parser = new pb::MessageParser<PlayerReadyRequest>(() => new PlayerReadyRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PlayerReadyRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.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 PlayerReadyRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerReadyRequest(PlayerReadyRequest other) : this() {
roomId_ = other.roomId_;
isReady_ = other.isReady_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerReadyRequest Clone() {
return new PlayerReadyRequest(this);
}
/// <summary>Field number for the "roomId" field.</summary>
public const int RoomIdFieldNumber = 1;
private string roomId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoomId {
get { return roomId_; }
set {
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "isReady" field.</summary>
public const int IsReadyFieldNumber = 2;
private bool isReady_;
/// <summary>
/// 是否准备 false 未准备 true 准备
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsReady {
get { return isReady_; }
set {
isReady_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PlayerReadyRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PlayerReadyRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RoomId != other.RoomId) return false;
if (IsReady != other.IsReady) 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 (IsReady != false) hash ^= IsReady.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 (IsReady != false) {
output.WriteRawTag(16);
output.WriteBool(IsReady);
}
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 (IsReady != false) {
output.WriteRawTag(16);
output.WriteBool(IsReady);
}
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 (IsReady != 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(PlayerReadyRequest other) {
if (other == null) {
return;
}
if (other.RoomId.Length != 0) {
RoomId = other.RoomId;
}
if (other.IsReady != false) {
IsReady = other.IsReady;
}
_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: {
IsReady = 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: {
RoomId = input.ReadString();
break;
}
case 16: {
IsReady = input.ReadBool();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class JoinRoomResponse : pb::IMessage<JoinRoomResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<JoinRoomResponse> _parser = new pb::MessageParser<JoinRoomResponse>(() => new JoinRoomResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<JoinRoomResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.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 JoinRoomResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public JoinRoomResponse(JoinRoomResponse other) : this() {
message_ = other.message_;
code_ = other.code_;
data_ = other.data_ != null ? other.data_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public JoinRoomResponse Clone() {
return new JoinRoomResponse(this);
}
/// <summary>Field number for the "message" field.</summary>
public const int MessageFieldNumber = 1;
private string message_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Message {
get { return message_; }
set {
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "code" field.</summary>
public const int CodeFieldNumber = 2;
private int code_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Code {
get { return code_; }
set {
code_ = value;
}
}
/// <summary>Field number for the "data" field.</summary>
public const int DataFieldNumber = 3;
private global::PlayerJoinResponse data_;
/// <summary>
/// 玩家加入房间返回数据
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::PlayerJoinResponse Data {
get { return data_; }
set {
data_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as JoinRoomResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(JoinRoomResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Message != other.Message) return false;
if (Code != other.Code) return false;
if (!object.Equals(Data, other.Data)) 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 (Message.Length != 0) hash ^= Message.GetHashCode();
if (Code != 0) hash ^= Code.GetHashCode();
if (data_ != null) hash ^= Data.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 (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
if (Code != 0) {
output.WriteRawTag(16);
output.WriteInt32(Code);
}
if (data_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Data);
}
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 (Message.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Message);
}
if (Code != 0) {
output.WriteRawTag(16);
output.WriteInt32(Code);
}
if (data_ != null) {
output.WriteRawTag(26);
output.WriteMessage(Data);
}
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 (Message.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
}
if (Code != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code);
}
if (data_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(JoinRoomResponse other) {
if (other == null) {
return;
}
if (other.Message.Length != 0) {
Message = other.Message;
}
if (other.Code != 0) {
Code = other.Code;
}
if (other.data_ != null) {
if (data_ == null) {
Data = new global::PlayerJoinResponse();
}
Data.MergeFrom(other.Data);
}
_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: {
Message = input.ReadString();
break;
}
case 16: {
Code = input.ReadInt32();
break;
}
case 26: {
if (data_ == null) {
Data = new global::PlayerJoinResponse();
}
input.ReadMessage(Data);
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: {
Message = input.ReadString();
break;
}
case 16: {
Code = input.ReadInt32();
break;
}
case 26: {
if (data_ == null) {
Data = new global::PlayerJoinResponse();
}
input.ReadMessage(Data);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PlayerJoinResponse> _parser = new pb::MessageParser<PlayerJoinResponse>(() => new PlayerJoinResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PlayerJoinResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.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 PlayerJoinResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerJoinResponse(PlayerJoinResponse other) : this() {
userName_ = other.userName_;
roomId_ = other.roomId_;
status_ = other.status_;
roleName_ = other.roleName_;
isLeadingNPC_ = other.isLeadingNPC_;
online_ = other.online_;
roleId_ = other.roleId_;
groupLeader_ = other.groupLeader_;
actionMode_ = other.actionMode_;
group_ = other.group_;
x_ = other.x_;
y_ = other.y_;
z_ = other.z_;
overseeCond_ = other.overseeCond_;
sendFrameCount_ = other.sendFrameCount_;
moveSpeedFirst_ = other.moveSpeedFirst_;
moveSpeedSecond_ = other.moveSpeedSecond_;
moveSpeedThird_ = other.moveSpeedThird_;
bearLoad_ = other.bearLoad_;
protection_ = other.protection_;
health_ = other.health_;
roleStatus_ = other.roleStatus_;
userId_ = other.userId_;
isReady_ = other.isReady_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerJoinResponse Clone() {
return new PlayerJoinResponse(this);
}
/// <summary>Field number for the "UserName" field.</summary>
public const int UserNameFieldNumber = 1;
private string userName_ = "";
/// <summary>
/// 用户名
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UserName {
get { return userName_; }
set {
userName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "RoomId" field.</summary>
public const int RoomIdFieldNumber = 2;
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 "Status" field.</summary>
public const int StatusFieldNumber = 3;
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;
}
}
/// <summary>Field number for the "RoleName" field.</summary>
public const int RoleNameFieldNumber = 4;
private string roleName_ = "";
/// <summary>
/// 角色名
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoleName {
get { return roleName_; }
set {
roleName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "IsLeadingNPC" field.</summary>
public const int IsLeadingNPCFieldNumber = 5;
private int isLeadingNPC_;
/// <summary>
/// 1=此职业有分管NPC的功能
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int IsLeadingNPC {
get { return isLeadingNPC_; }
set {
isLeadingNPC_ = value;
}
}
/// <summary>Field number for the "Online" field.</summary>
public const int OnlineFieldNumber = 6;
private bool online_;
/// <summary>
/// 判断是否在线 true 在线 false 离线
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Online {
get { return online_; }
set {
online_ = value;
}
}
/// <summary>Field number for the "RoleId" field.</summary>
public const int RoleIdFieldNumber = 7;
private int roleId_;
/// <summary>
/// 角色id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RoleId {
get { return roleId_; }
set {
roleId_ = value;
}
}
/// <summary>Field number for the "GroupLeader" field.</summary>
public const int GroupLeaderFieldNumber = 8;
private int groupLeader_;
/// <summary>
/// 是否是组长 0 组员 1 组长 2 总指挥 3 主持人
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int GroupLeader {
get { return groupLeader_; }
set {
groupLeader_ = value;
}
}
/// <summary>Field number for the "ActionMode" field.</summary>
public const int ActionModeFieldNumber = 9;
private int actionMode_;
/// <summary>
/// 0=主持人 1=指令式行动 2=自由行动
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ActionMode {
get { return actionMode_; }
set {
actionMode_ = value;
}
}
/// <summary>Field number for the "Group" field.</summary>
public const int GroupFieldNumber = 10;
private int group_;
/// <summary>
/// 小组归属 -1 无归属 有值有归属
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Group {
get { return group_; }
set {
group_ = value;
}
}
/// <summary>Field number for the "X" field.</summary>
public const int XFieldNumber = 11;
private double x_;
/// <summary>
/// 坐标x
/// </summary>
[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 = 12;
private double y_;
/// <summary>
/// 坐标y
/// </summary>
[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 = 13;
private double z_;
/// <summary>
/// 坐标z
/// </summary>
[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 "OverseeCond" field.</summary>
public const int OverseeCondFieldNumber = 14;
private string overseeCond_ = "";
/// <summary>
/// 分管区域Id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string OverseeCond {
get { return overseeCond_; }
set {
overseeCond_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "SendFrameCount" field.</summary>
public const int SendFrameCountFieldNumber = 15;
private int sendFrameCount_;
/// <summary>
/// 玩家发送的帧数
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SendFrameCount {
get { return sendFrameCount_; }
set {
sendFrameCount_ = value;
}
}
/// <summary>Field number for the "MoveSpeedFirst" field.</summary>
public const int MoveSpeedFirstFieldNumber = 16;
private int moveSpeedFirst_;
/// <summary>
/// 移动速度1
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MoveSpeedFirst {
get { return moveSpeedFirst_; }
set {
moveSpeedFirst_ = value;
}
}
/// <summary>Field number for the "MoveSpeedSecond" field.</summary>
public const int MoveSpeedSecondFieldNumber = 17;
private int moveSpeedSecond_;
/// <summary>
/// 移动速度2
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MoveSpeedSecond {
get { return moveSpeedSecond_; }
set {
moveSpeedSecond_ = value;
}
}
/// <summary>Field number for the "MoveSpeedThird" field.</summary>
public const int MoveSpeedThirdFieldNumber = 18;
private int moveSpeedThird_;
/// <summary>
/// 移动速度3
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MoveSpeedThird {
get { return moveSpeedThird_; }
set {
moveSpeedThird_ = value;
}
}
/// <summary>Field number for the "BearLoad" field.</summary>
public const int BearLoadFieldNumber = 19;
private int bearLoad_;
/// <summary>
/// 负重
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int BearLoad {
get { return bearLoad_; }
set {
bearLoad_ = value;
}
}
/// <summary>Field number for the "Protection" field.</summary>
public const int ProtectionFieldNumber = 20;
private int protection_;
/// <summary>
/// 防护值
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Protection {
get { return protection_; }
set {
protection_ = value;
}
}
/// <summary>Field number for the "Health" field.</summary>
public const int HealthFieldNumber = 21;
private int health_;
/// <summary>
/// 健康值 100
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Health {
get { return health_; }
set {
health_ = value;
}
}
/// <summary>Field number for the "RoleStatus" field.</summary>
public const int RoleStatusFieldNumber = 22;
private int roleStatus_;
/// <summary>
/// 角色状态 0正常 1行动受限 2负伤 3昏迷 4手受伤
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RoleStatus {
get { return roleStatus_; }
set {
roleStatus_ = value;
}
}
/// <summary>Field number for the "UserId" field.</summary>
public const int UserIdFieldNumber = 23;
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 "isReady" field.</summary>
public const int IsReadyFieldNumber = 24;
private bool isReady_;
/// <summary>
/// 是否准备 false 未准备 true 准备
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsReady {
get { return isReady_; }
set {
isReady_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PlayerJoinResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PlayerJoinResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserName != other.UserName) return false;
if (RoomId != other.RoomId) return false;
if (Status != other.Status) return false;
if (RoleName != other.RoleName) return false;
if (IsLeadingNPC != other.IsLeadingNPC) return false;
if (Online != other.Online) return false;
if (RoleId != other.RoleId) return false;
if (GroupLeader != other.GroupLeader) return false;
if (ActionMode != other.ActionMode) return false;
if (Group != other.Group) return false;
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 (OverseeCond != other.OverseeCond) return false;
if (SendFrameCount != other.SendFrameCount) return false;
if (MoveSpeedFirst != other.MoveSpeedFirst) return false;
if (MoveSpeedSecond != other.MoveSpeedSecond) return false;
if (MoveSpeedThird != other.MoveSpeedThird) return false;
if (BearLoad != other.BearLoad) return false;
if (Protection != other.Protection) return false;
if (Health != other.Health) return false;
if (RoleStatus != other.RoleStatus) return false;
if (UserId != other.UserId) return false;
if (IsReady != other.IsReady) 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 (UserName.Length != 0) hash ^= UserName.GetHashCode();
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
if (Status != 0) hash ^= Status.GetHashCode();
if (RoleName.Length != 0) hash ^= RoleName.GetHashCode();
if (IsLeadingNPC != 0) hash ^= IsLeadingNPC.GetHashCode();
if (Online != false) hash ^= Online.GetHashCode();
if (RoleId != 0) hash ^= RoleId.GetHashCode();
if (GroupLeader != 0) hash ^= GroupLeader.GetHashCode();
if (ActionMode != 0) hash ^= ActionMode.GetHashCode();
if (Group != 0) hash ^= Group.GetHashCode();
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 (OverseeCond.Length != 0) hash ^= OverseeCond.GetHashCode();
if (SendFrameCount != 0) hash ^= SendFrameCount.GetHashCode();
if (MoveSpeedFirst != 0) hash ^= MoveSpeedFirst.GetHashCode();
if (MoveSpeedSecond != 0) hash ^= MoveSpeedSecond.GetHashCode();
if (MoveSpeedThird != 0) hash ^= MoveSpeedThird.GetHashCode();
if (BearLoad != 0) hash ^= BearLoad.GetHashCode();
if (Protection != 0) hash ^= Protection.GetHashCode();
if (Health != 0) hash ^= Health.GetHashCode();
if (RoleStatus != 0) hash ^= RoleStatus.GetHashCode();
if (UserId != 0L) hash ^= UserId.GetHashCode();
if (IsReady != false) hash ^= IsReady.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 (UserName.Length != 0) {
output.WriteRawTag(10);
output.WriteString(UserName);
}
if (RoomId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(RoomId);
}
if (Status != 0) {
output.WriteRawTag(24);
output.WriteInt32(Status);
}
if (RoleName.Length != 0) {
output.WriteRawTag(34);
output.WriteString(RoleName);
}
if (IsLeadingNPC != 0) {
output.WriteRawTag(40);
output.WriteInt32(IsLeadingNPC);
}
if (Online != false) {
output.WriteRawTag(48);
output.WriteBool(Online);
}
if (RoleId != 0) {
output.WriteRawTag(56);
output.WriteInt32(RoleId);
}
if (GroupLeader != 0) {
output.WriteRawTag(64);
output.WriteInt32(GroupLeader);
}
if (ActionMode != 0) {
output.WriteRawTag(72);
output.WriteInt32(ActionMode);
}
if (Group != 0) {
output.WriteRawTag(80);
output.WriteInt32(Group);
}
if (X != 0D) {
output.WriteRawTag(89);
output.WriteDouble(X);
}
if (Y != 0D) {
output.WriteRawTag(97);
output.WriteDouble(Y);
}
if (Z != 0D) {
output.WriteRawTag(105);
output.WriteDouble(Z);
}
if (OverseeCond.Length != 0) {
output.WriteRawTag(114);
output.WriteString(OverseeCond);
}
if (SendFrameCount != 0) {
output.WriteRawTag(120);
output.WriteInt32(SendFrameCount);
}
if (MoveSpeedFirst != 0) {
output.WriteRawTag(128, 1);
output.WriteInt32(MoveSpeedFirst);
}
if (MoveSpeedSecond != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(MoveSpeedSecond);
}
if (MoveSpeedThird != 0) {
output.WriteRawTag(144, 1);
output.WriteInt32(MoveSpeedThird);
}
if (BearLoad != 0) {
output.WriteRawTag(152, 1);
output.WriteInt32(BearLoad);
}
if (Protection != 0) {
output.WriteRawTag(160, 1);
output.WriteInt32(Protection);
}
if (Health != 0) {
output.WriteRawTag(168, 1);
output.WriteInt32(Health);
}
if (RoleStatus != 0) {
output.WriteRawTag(176, 1);
output.WriteInt32(RoleStatus);
}
if (UserId != 0L) {
output.WriteRawTag(184, 1);
output.WriteInt64(UserId);
}
if (IsReady != false) {
output.WriteRawTag(192, 1);
output.WriteBool(IsReady);
}
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 (UserName.Length != 0) {
output.WriteRawTag(10);
output.WriteString(UserName);
}
if (RoomId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(RoomId);
}
if (Status != 0) {
output.WriteRawTag(24);
output.WriteInt32(Status);
}
if (RoleName.Length != 0) {
output.WriteRawTag(34);
output.WriteString(RoleName);
}
if (IsLeadingNPC != 0) {
output.WriteRawTag(40);
output.WriteInt32(IsLeadingNPC);
}
if (Online != false) {
output.WriteRawTag(48);
output.WriteBool(Online);
}
if (RoleId != 0) {
output.WriteRawTag(56);
output.WriteInt32(RoleId);
}
if (GroupLeader != 0) {
output.WriteRawTag(64);
output.WriteInt32(GroupLeader);
}
if (ActionMode != 0) {
output.WriteRawTag(72);
output.WriteInt32(ActionMode);
}
if (Group != 0) {
output.WriteRawTag(80);
output.WriteInt32(Group);
}
if (X != 0D) {
output.WriteRawTag(89);
output.WriteDouble(X);
}
if (Y != 0D) {
output.WriteRawTag(97);
output.WriteDouble(Y);
}
if (Z != 0D) {
output.WriteRawTag(105);
output.WriteDouble(Z);
}
if (OverseeCond.Length != 0) {
output.WriteRawTag(114);
output.WriteString(OverseeCond);
}
if (SendFrameCount != 0) {
output.WriteRawTag(120);
output.WriteInt32(SendFrameCount);
}
if (MoveSpeedFirst != 0) {
output.WriteRawTag(128, 1);
output.WriteInt32(MoveSpeedFirst);
}
if (MoveSpeedSecond != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(MoveSpeedSecond);
}
if (MoveSpeedThird != 0) {
output.WriteRawTag(144, 1);
output.WriteInt32(MoveSpeedThird);
}
if (BearLoad != 0) {
output.WriteRawTag(152, 1);
output.WriteInt32(BearLoad);
}
if (Protection != 0) {
output.WriteRawTag(160, 1);
output.WriteInt32(Protection);
}
if (Health != 0) {
output.WriteRawTag(168, 1);
output.WriteInt32(Health);
}
if (RoleStatus != 0) {
output.WriteRawTag(176, 1);
output.WriteInt32(RoleStatus);
}
if (UserId != 0L) {
output.WriteRawTag(184, 1);
output.WriteInt64(UserId);
}
if (IsReady != false) {
output.WriteRawTag(192, 1);
output.WriteBool(IsReady);
}
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 (UserName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserName);
}
if (RoomId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
}
if (Status != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status);
}
if (RoleName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleName);
}
if (IsLeadingNPC != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(IsLeadingNPC);
}
if (Online != false) {
size += 1 + 1;
}
if (RoleId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoleId);
}
if (GroupLeader != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupLeader);
}
if (ActionMode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActionMode);
}
if (Group != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group);
}
if (X != 0D) {
size += 1 + 8;
}
if (Y != 0D) {
size += 1 + 8;
}
if (Z != 0D) {
size += 1 + 8;
}
if (OverseeCond.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(OverseeCond);
}
if (SendFrameCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SendFrameCount);
}
if (MoveSpeedFirst != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(MoveSpeedFirst);
}
if (MoveSpeedSecond != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(MoveSpeedSecond);
}
if (MoveSpeedThird != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(MoveSpeedThird);
}
if (BearLoad != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(BearLoad);
}
if (Protection != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Protection);
}
if (Health != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Health);
}
if (RoleStatus != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(RoleStatus);
}
if (UserId != 0L) {
size += 2 + pb::CodedOutputStream.ComputeInt64Size(UserId);
}
if (IsReady != false) {
size += 2 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PlayerJoinResponse other) {
if (other == null) {
return;
}
if (other.UserName.Length != 0) {
UserName = other.UserName;
}
if (other.RoomId.Length != 0) {
RoomId = other.RoomId;
}
if (other.Status != 0) {
Status = other.Status;
}
if (other.RoleName.Length != 0) {
RoleName = other.RoleName;
}
if (other.IsLeadingNPC != 0) {
IsLeadingNPC = other.IsLeadingNPC;
}
if (other.Online != false) {
Online = other.Online;
}
if (other.RoleId != 0) {
RoleId = other.RoleId;
}
if (other.GroupLeader != 0) {
GroupLeader = other.GroupLeader;
}
if (other.ActionMode != 0) {
ActionMode = other.ActionMode;
}
if (other.Group != 0) {
Group = other.Group;
}
if (other.X != 0D) {
X = other.X;
}
if (other.Y != 0D) {
Y = other.Y;
}
if (other.Z != 0D) {
Z = other.Z;
}
if (other.OverseeCond.Length != 0) {
OverseeCond = other.OverseeCond;
}
if (other.SendFrameCount != 0) {
SendFrameCount = other.SendFrameCount;
}
if (other.MoveSpeedFirst != 0) {
MoveSpeedFirst = other.MoveSpeedFirst;
}
if (other.MoveSpeedSecond != 0) {
MoveSpeedSecond = other.MoveSpeedSecond;
}
if (other.MoveSpeedThird != 0) {
MoveSpeedThird = other.MoveSpeedThird;
}
if (other.BearLoad != 0) {
BearLoad = other.BearLoad;
}
if (other.Protection != 0) {
Protection = other.Protection;
}
if (other.Health != 0) {
Health = other.Health;
}
if (other.RoleStatus != 0) {
RoleStatus = other.RoleStatus;
}
if (other.UserId != 0L) {
UserId = other.UserId;
}
if (other.IsReady != false) {
IsReady = other.IsReady;
}
_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: {
UserName = input.ReadString();
break;
}
case 18: {
RoomId = input.ReadString();
break;
}
case 24: {
Status = input.ReadInt32();
break;
}
case 34: {
RoleName = input.ReadString();
break;
}
case 40: {
IsLeadingNPC = input.ReadInt32();
break;
}
case 48: {
Online = input.ReadBool();
break;
}
case 56: {
RoleId = input.ReadInt32();
break;
}
case 64: {
GroupLeader = input.ReadInt32();
break;
}
case 72: {
ActionMode = input.ReadInt32();
break;
}
case 80: {
Group = input.ReadInt32();
break;
}
case 89: {
X = input.ReadDouble();
break;
}
case 97: {
Y = input.ReadDouble();
break;
}
case 105: {
Z = input.ReadDouble();
break;
}
case 114: {
OverseeCond = input.ReadString();
break;
}
case 120: {
SendFrameCount = input.ReadInt32();
break;
}
case 128: {
MoveSpeedFirst = input.ReadInt32();
break;
}
case 136: {
MoveSpeedSecond = input.ReadInt32();
break;
}
case 144: {
MoveSpeedThird = input.ReadInt32();
break;
}
case 152: {
BearLoad = input.ReadInt32();
break;
}
case 160: {
Protection = input.ReadInt32();
break;
}
case 168: {
Health = input.ReadInt32();
break;
}
case 176: {
RoleStatus = input.ReadInt32();
break;
}
case 184: {
UserId = input.ReadInt64();
break;
}
case 192: {
IsReady = 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: {
UserName = input.ReadString();
break;
}
case 18: {
RoomId = input.ReadString();
break;
}
case 24: {
Status = input.ReadInt32();
break;
}
case 34: {
RoleName = input.ReadString();
break;
}
case 40: {
IsLeadingNPC = input.ReadInt32();
break;
}
case 48: {
Online = input.ReadBool();
break;
}
case 56: {
RoleId = input.ReadInt32();
break;
}
case 64: {
GroupLeader = input.ReadInt32();
break;
}
case 72: {
ActionMode = input.ReadInt32();
break;
}
case 80: {
Group = input.ReadInt32();
break;
}
case 89: {
X = input.ReadDouble();
break;
}
case 97: {
Y = input.ReadDouble();
break;
}
case 105: {
Z = input.ReadDouble();
break;
}
case 114: {
OverseeCond = input.ReadString();
break;
}
case 120: {
SendFrameCount = input.ReadInt32();
break;
}
case 128: {
MoveSpeedFirst = input.ReadInt32();
break;
}
case 136: {
MoveSpeedSecond = input.ReadInt32();
break;
}
case 144: {
MoveSpeedThird = input.ReadInt32();
break;
}
case 152: {
BearLoad = input.ReadInt32();
break;
}
case 160: {
Protection = input.ReadInt32();
break;
}
case 168: {
Health = input.ReadInt32();
break;
}
case 176: {
RoleStatus = input.ReadInt32();
break;
}
case 184: {
UserId = input.ReadInt64();
break;
}
case 192: {
IsReady = input.ReadBool();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PropTemplateRequest : pb::IMessage<PropTemplateRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PropTemplateRequest> _parser = new pb::MessageParser<PropTemplateRequest>(() => new PropTemplateRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PropTemplateRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.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 PropTemplateRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PropTemplateRequest(PropTemplateRequest other) : this() {
templateId_ = other.templateId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PropTemplateRequest Clone() {
return new PropTemplateRequest(this);
}
/// <summary>Field number for the "templateId" field.</summary>
public const int TemplateIdFieldNumber = 1;
private long templateId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long TemplateId {
get { return templateId_; }
set {
templateId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PropTemplateRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PropTemplateRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (TemplateId != other.TemplateId) 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 (TemplateId != 0L) hash ^= TemplateId.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 (TemplateId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(TemplateId);
}
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 (TemplateId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(TemplateId);
}
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 (TemplateId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PropTemplateRequest other) {
if (other == null) {
return;
}
if (other.TemplateId != 0L) {
TemplateId = other.TemplateId;
}
_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: {
TemplateId = input.ReadInt64();
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: {
TemplateId = input.ReadInt64();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PropTemplateResponse : pb::IMessage<PropTemplateResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PropTemplateResponse> _parser = new pb::MessageParser<PropTemplateResponse>(() => new PropTemplateResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PropTemplateResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.Descriptor.MessageTypes[9]; }
}
[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 PropTemplateResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PropTemplateResponse(PropTemplateResponse other) : this() {
templateId_ = other.templateId_;
num_ = other.num_;
materialId_ = other.materialId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PropTemplateResponse Clone() {
return new PropTemplateResponse(this);
}
/// <summary>Field number for the "TemplateId" field.</summary>
public const int TemplateIdFieldNumber = 1;
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 "Num" field.</summary>
public const int NumFieldNumber = 2;
private long num_;
/// <summary>
/// 道具数量
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Num {
get { return num_; }
set {
num_ = value;
}
}
/// <summary>Field number for the "MaterialId" field.</summary>
public const int MaterialIdFieldNumber = 3;
private long materialId_;
/// <summary>
/// 材料id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long MaterialId {
get { return materialId_; }
set {
materialId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PropTemplateResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PropTemplateResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (TemplateId != other.TemplateId) return false;
if (Num != other.Num) return false;
if (MaterialId != other.MaterialId) 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 (TemplateId != 0L) hash ^= TemplateId.GetHashCode();
if (Num != 0L) hash ^= Num.GetHashCode();
if (MaterialId != 0L) hash ^= MaterialId.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 (TemplateId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(TemplateId);
}
if (Num != 0L) {
output.WriteRawTag(16);
output.WriteInt64(Num);
}
if (MaterialId != 0L) {
output.WriteRawTag(24);
output.WriteInt64(MaterialId);
}
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 (TemplateId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(TemplateId);
}
if (Num != 0L) {
output.WriteRawTag(16);
output.WriteInt64(Num);
}
if (MaterialId != 0L) {
output.WriteRawTag(24);
output.WriteInt64(MaterialId);
}
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 (TemplateId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId);
}
if (Num != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Num);
}
if (MaterialId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(MaterialId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PropTemplateResponse other) {
if (other == null) {
return;
}
if (other.TemplateId != 0L) {
TemplateId = other.TemplateId;
}
if (other.Num != 0L) {
Num = other.Num;
}
if (other.MaterialId != 0L) {
MaterialId = other.MaterialId;
}
_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: {
TemplateId = input.ReadInt64();
break;
}
case 16: {
Num = input.ReadInt64();
break;
}
case 24: {
MaterialId = input.ReadInt64();
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: {
TemplateId = input.ReadInt64();
break;
}
case 16: {
Num = input.ReadInt64();
break;
}
case 24: {
MaterialId = input.ReadInt64();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PpcPropResponse : pb::IMessage<PpcPropResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PpcPropResponse> _parser = new pb::MessageParser<PpcPropResponse>(() => new PpcPropResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PpcPropResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.Descriptor.MessageTypes[10]; }
}
[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 PpcPropResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PpcPropResponse(PpcPropResponse other) : this() {
responses_ = other.responses_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PpcPropResponse Clone() {
return new PpcPropResponse(this);
}
/// <summary>Field number for the "responses" field.</summary>
public const int ResponsesFieldNumber = 1;
private static readonly pb::FieldCodec<global::PropTemplateResponse> _repeated_responses_codec
= pb::FieldCodec.ForMessage(10, global::PropTemplateResponse.Parser);
private readonly pbc::RepeatedField<global::PropTemplateResponse> responses_ = new pbc::RepeatedField<global::PropTemplateResponse>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::PropTemplateResponse> Responses {
get { return responses_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PpcPropResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PpcPropResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!responses_.Equals(other.responses_)) 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 ^= responses_.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
responses_.WriteTo(output, _repeated_responses_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) {
responses_.WriteTo(ref output, _repeated_responses_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 += responses_.CalculateSize(_repeated_responses_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PpcPropResponse other) {
if (other == null) {
return;
}
responses_.Add(other.responses_);
_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: {
responses_.AddEntriesFrom(input, _repeated_responses_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: {
responses_.AddEntriesFrom(ref input, _repeated_responses_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RpcRoomInfoResponse : pb::IMessage<RpcRoomInfoResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RpcRoomInfoResponse> _parser = new pb::MessageParser<RpcRoomInfoResponse>(() => new RpcRoomInfoResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RpcRoomInfoResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.Descriptor.MessageTypes[11]; }
}
[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 RpcRoomInfoResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RpcRoomInfoResponse(RpcRoomInfoResponse other) : this() {
id_ = other.id_;
templateId_ = other.templateId_;
status_ = other.status_;
reserveDate_ = other.reserveDate_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RpcRoomInfoResponse Clone() {
return new RpcRoomInfoResponse(this);
}
/// <summary>Field number for the "Id" field.</summary>
public const int IdFieldNumber = 1;
private long id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "TemplateId" field.</summary>
public const int TemplateIdFieldNumber = 2;
private long templateId_;
[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 "Status" field.</summary>
public const int StatusFieldNumber = 3;
private long status_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Status {
get { return status_; }
set {
status_ = value;
}
}
/// <summary>Field number for the "ReserveDate" field.</summary>
public const int ReserveDateFieldNumber = 4;
private string reserveDate_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ReserveDate {
get { return reserveDate_; }
set {
reserveDate_ = 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 RpcRoomInfoResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RpcRoomInfoResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (TemplateId != other.TemplateId) return false;
if (Status != other.Status) return false;
if (ReserveDate != other.ReserveDate) 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 != 0L) hash ^= Id.GetHashCode();
if (TemplateId != 0L) hash ^= TemplateId.GetHashCode();
if (Status != 0L) hash ^= Status.GetHashCode();
if (ReserveDate.Length != 0) hash ^= ReserveDate.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 != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Id);
}
if (TemplateId != 0L) {
output.WriteRawTag(16);
output.WriteInt64(TemplateId);
}
if (Status != 0L) {
output.WriteRawTag(24);
output.WriteInt64(Status);
}
if (ReserveDate.Length != 0) {
output.WriteRawTag(34);
output.WriteString(ReserveDate);
}
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 != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Id);
}
if (TemplateId != 0L) {
output.WriteRawTag(16);
output.WriteInt64(TemplateId);
}
if (Status != 0L) {
output.WriteRawTag(24);
output.WriteInt64(Status);
}
if (ReserveDate.Length != 0) {
output.WriteRawTag(34);
output.WriteString(ReserveDate);
}
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 != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
}
if (TemplateId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId);
}
if (Status != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Status);
}
if (ReserveDate.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ReserveDate);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RpcRoomInfoResponse other) {
if (other == null) {
return;
}
if (other.Id != 0L) {
Id = other.Id;
}
if (other.TemplateId != 0L) {
TemplateId = other.TemplateId;
}
if (other.Status != 0L) {
Status = other.Status;
}
if (other.ReserveDate.Length != 0) {
ReserveDate = other.ReserveDate;
}
_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: {
Id = input.ReadInt64();
break;
}
case 16: {
TemplateId = input.ReadInt64();
break;
}
case 24: {
Status = input.ReadInt64();
break;
}
case 34: {
ReserveDate = 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 8: {
Id = input.ReadInt64();
break;
}
case 16: {
TemplateId = input.ReadInt64();
break;
}
case 24: {
Status = input.ReadInt64();
break;
}
case 34: {
ReserveDate = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UserTemplateRequest : pb::IMessage<UserTemplateRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<UserTemplateRequest> _parser = new pb::MessageParser<UserTemplateRequest>(() => new UserTemplateRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<UserTemplateRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.Descriptor.MessageTypes[12]; }
}
[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 UserTemplateRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserTemplateRequest(UserTemplateRequest other) : this() {
templateId_ = other.templateId_;
roomId_ = other.roomId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserTemplateRequest Clone() {
return new UserTemplateRequest(this);
}
/// <summary>Field number for the "templateId" field.</summary>
public const int TemplateIdFieldNumber = 1;
private long templateId_;
[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 "RoomId" field.</summary>
public const int RoomIdFieldNumber = 2;
private string roomId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoomId {
get { return roomId_; }
set {
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UserTemplateRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UserTemplateRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (TemplateId != other.TemplateId) return false;
if (RoomId != other.RoomId) 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 (TemplateId != 0L) hash ^= TemplateId.GetHashCode();
if (RoomId.Length != 0) hash ^= RoomId.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 (TemplateId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(TemplateId);
}
if (RoomId.Length != 0) {
output.WriteRawTag(18);
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) {
if (TemplateId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(TemplateId);
}
if (RoomId.Length != 0) {
output.WriteRawTag(18);
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 (TemplateId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId);
}
if (RoomId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UserTemplateRequest other) {
if (other == null) {
return;
}
if (other.TemplateId != 0L) {
TemplateId = other.TemplateId;
}
if (other.RoomId.Length != 0) {
RoomId = other.RoomId;
}
_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: {
TemplateId = input.ReadInt64();
break;
}
case 18: {
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 8: {
TemplateId = input.ReadInt64();
break;
}
case 18: {
RoomId = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UserTemplate : pb::IMessage<UserTemplate>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<UserTemplate> _parser = new pb::MessageParser<UserTemplate>(() => new UserTemplate());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<UserTemplate> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.Descriptor.MessageTypes[13]; }
}
[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 UserTemplate() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserTemplate(UserTemplate other) : this() {
responses_ = other.responses_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserTemplate Clone() {
return new UserTemplate(this);
}
/// <summary>Field number for the "responses" field.</summary>
public const int ResponsesFieldNumber = 1;
private static readonly pb::FieldCodec<global::UserTemplateResponse> _repeated_responses_codec
= pb::FieldCodec.ForMessage(10, global::UserTemplateResponse.Parser);
private readonly pbc::RepeatedField<global::UserTemplateResponse> responses_ = new pbc::RepeatedField<global::UserTemplateResponse>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::UserTemplateResponse> Responses {
get { return responses_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UserTemplate);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UserTemplate other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!responses_.Equals(other.responses_)) 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 ^= responses_.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
responses_.WriteTo(output, _repeated_responses_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) {
responses_.WriteTo(ref output, _repeated_responses_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 += responses_.CalculateSize(_repeated_responses_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UserTemplate other) {
if (other == null) {
return;
}
responses_.Add(other.responses_);
_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: {
responses_.AddEntriesFrom(input, _repeated_responses_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: {
responses_.AddEntriesFrom(ref input, _repeated_responses_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UserTemplateResponse : pb::IMessage<UserTemplateResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<UserTemplateResponse> _parser = new pb::MessageParser<UserTemplateResponse>(() => new UserTemplateResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<UserTemplateResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.Descriptor.MessageTypes[14]; }
}
[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 UserTemplateResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserTemplateResponse(UserTemplateResponse other) : this() {
roomId_ = other.roomId_;
userId_ = other.userId_;
status_ = other.status_;
templateId_ = other.templateId_;
roleId_ = other.roleId_;
birthAreaId_ = other.birthAreaId_;
chargeAreaId_ = other.chargeAreaId_;
x_ = other.x_;
y_ = other.y_;
z_ = other.z_;
moveSpeedFirst_ = other.moveSpeedFirst_;
moveSpeedSecond_ = other.moveSpeedSecond_;
moveSpeedThird_ = other.moveSpeedThird_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserTemplateResponse Clone() {
return new UserTemplateResponse(this);
}
/// <summary>Field number for the "RoomId" field.</summary>
public const int RoomIdFieldNumber = 1;
private long roomId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long RoomId {
get { return roomId_; }
set {
roomId_ = value;
}
}
/// <summary>Field number for the "UserId" field.</summary>
public const int UserIdFieldNumber = 2;
private long userId_;
[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 "Status" field.</summary>
public const int StatusFieldNumber = 3;
private int status_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Status {
get { return status_; }
set {
status_ = value;
}
}
/// <summary>Field number for the "TemplateId" field.</summary>
public const int TemplateIdFieldNumber = 4;
private long templateId_;
[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 "RoleId" field.</summary>
public const int RoleIdFieldNumber = 5;
private long roleId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long RoleId {
get { return roleId_; }
set {
roleId_ = value;
}
}
/// <summary>Field number for the "BirthAreaId" field.</summary>
public const int BirthAreaIdFieldNumber = 6;
private long birthAreaId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long BirthAreaId {
get { return birthAreaId_; }
set {
birthAreaId_ = value;
}
}
/// <summary>Field number for the "ChargeAreaId" field.</summary>
public const int ChargeAreaIdFieldNumber = 7;
private long chargeAreaId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long ChargeAreaId {
get { return chargeAreaId_; }
set {
chargeAreaId_ = value;
}
}
/// <summary>Field number for the "X" field.</summary>
public const int XFieldNumber = 8;
private float x_;
[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 = 9;
private float y_;
[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 = 10;
private float z_;
[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 "MoveSpeedFirst" field.</summary>
public const int MoveSpeedFirstFieldNumber = 11;
private long moveSpeedFirst_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long MoveSpeedFirst {
get { return moveSpeedFirst_; }
set {
moveSpeedFirst_ = value;
}
}
/// <summary>Field number for the "MoveSpeedSecond" field.</summary>
public const int MoveSpeedSecondFieldNumber = 12;
private long moveSpeedSecond_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long MoveSpeedSecond {
get { return moveSpeedSecond_; }
set {
moveSpeedSecond_ = value;
}
}
/// <summary>Field number for the "MoveSpeedThird" field.</summary>
public const int MoveSpeedThirdFieldNumber = 13;
private long moveSpeedThird_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long MoveSpeedThird {
get { return moveSpeedThird_; }
set {
moveSpeedThird_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UserTemplateResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UserTemplateResponse 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 (Status != other.Status) return false;
if (TemplateId != other.TemplateId) return false;
if (RoleId != other.RoleId) return false;
if (BirthAreaId != other.BirthAreaId) return false;
if (ChargeAreaId != other.ChargeAreaId) 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 (MoveSpeedFirst != other.MoveSpeedFirst) return false;
if (MoveSpeedSecond != other.MoveSpeedSecond) return false;
if (MoveSpeedThird != other.MoveSpeedThird) 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 != 0L) hash ^= RoomId.GetHashCode();
if (UserId != 0L) hash ^= UserId.GetHashCode();
if (Status != 0) hash ^= Status.GetHashCode();
if (TemplateId != 0L) hash ^= TemplateId.GetHashCode();
if (RoleId != 0L) hash ^= RoleId.GetHashCode();
if (BirthAreaId != 0L) hash ^= BirthAreaId.GetHashCode();
if (ChargeAreaId != 0L) hash ^= ChargeAreaId.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 (MoveSpeedFirst != 0L) hash ^= MoveSpeedFirst.GetHashCode();
if (MoveSpeedSecond != 0L) hash ^= MoveSpeedSecond.GetHashCode();
if (MoveSpeedThird != 0L) hash ^= MoveSpeedThird.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 != 0L) {
output.WriteRawTag(8);
output.WriteInt64(RoomId);
}
if (UserId != 0L) {
output.WriteRawTag(16);
output.WriteInt64(UserId);
}
if (Status != 0) {
output.WriteRawTag(24);
output.WriteInt32(Status);
}
if (TemplateId != 0L) {
output.WriteRawTag(32);
output.WriteInt64(TemplateId);
}
if (RoleId != 0L) {
output.WriteRawTag(40);
output.WriteInt64(RoleId);
}
if (BirthAreaId != 0L) {
output.WriteRawTag(48);
output.WriteInt64(BirthAreaId);
}
if (ChargeAreaId != 0L) {
output.WriteRawTag(56);
output.WriteInt64(ChargeAreaId);
}
if (X != 0F) {
output.WriteRawTag(69);
output.WriteFloat(X);
}
if (Y != 0F) {
output.WriteRawTag(77);
output.WriteFloat(Y);
}
if (Z != 0F) {
output.WriteRawTag(85);
output.WriteFloat(Z);
}
if (MoveSpeedFirst != 0L) {
output.WriteRawTag(88);
output.WriteInt64(MoveSpeedFirst);
}
if (MoveSpeedSecond != 0L) {
output.WriteRawTag(96);
output.WriteInt64(MoveSpeedSecond);
}
if (MoveSpeedThird != 0L) {
output.WriteRawTag(104);
output.WriteInt64(MoveSpeedThird);
}
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 != 0L) {
output.WriteRawTag(8);
output.WriteInt64(RoomId);
}
if (UserId != 0L) {
output.WriteRawTag(16);
output.WriteInt64(UserId);
}
if (Status != 0) {
output.WriteRawTag(24);
output.WriteInt32(Status);
}
if (TemplateId != 0L) {
output.WriteRawTag(32);
output.WriteInt64(TemplateId);
}
if (RoleId != 0L) {
output.WriteRawTag(40);
output.WriteInt64(RoleId);
}
if (BirthAreaId != 0L) {
output.WriteRawTag(48);
output.WriteInt64(BirthAreaId);
}
if (ChargeAreaId != 0L) {
output.WriteRawTag(56);
output.WriteInt64(ChargeAreaId);
}
if (X != 0F) {
output.WriteRawTag(69);
output.WriteFloat(X);
}
if (Y != 0F) {
output.WriteRawTag(77);
output.WriteFloat(Y);
}
if (Z != 0F) {
output.WriteRawTag(85);
output.WriteFloat(Z);
}
if (MoveSpeedFirst != 0L) {
output.WriteRawTag(88);
output.WriteInt64(MoveSpeedFirst);
}
if (MoveSpeedSecond != 0L) {
output.WriteRawTag(96);
output.WriteInt64(MoveSpeedSecond);
}
if (MoveSpeedThird != 0L) {
output.WriteRawTag(104);
output.WriteInt64(MoveSpeedThird);
}
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 != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(RoomId);
}
if (UserId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId);
}
if (Status != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status);
}
if (TemplateId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId);
}
if (RoleId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(RoleId);
}
if (BirthAreaId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(BirthAreaId);
}
if (ChargeAreaId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(ChargeAreaId);
}
if (X != 0F) {
size += 1 + 4;
}
if (Y != 0F) {
size += 1 + 4;
}
if (Z != 0F) {
size += 1 + 4;
}
if (MoveSpeedFirst != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(MoveSpeedFirst);
}
if (MoveSpeedSecond != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(MoveSpeedSecond);
}
if (MoveSpeedThird != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(MoveSpeedThird);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UserTemplateResponse other) {
if (other == null) {
return;
}
if (other.RoomId != 0L) {
RoomId = other.RoomId;
}
if (other.UserId != 0L) {
UserId = other.UserId;
}
if (other.Status != 0) {
Status = other.Status;
}
if (other.TemplateId != 0L) {
TemplateId = other.TemplateId;
}
if (other.RoleId != 0L) {
RoleId = other.RoleId;
}
if (other.BirthAreaId != 0L) {
BirthAreaId = other.BirthAreaId;
}
if (other.ChargeAreaId != 0L) {
ChargeAreaId = other.ChargeAreaId;
}
if (other.X != 0F) {
X = other.X;
}
if (other.Y != 0F) {
Y = other.Y;
}
if (other.Z != 0F) {
Z = other.Z;
}
if (other.MoveSpeedFirst != 0L) {
MoveSpeedFirst = other.MoveSpeedFirst;
}
if (other.MoveSpeedSecond != 0L) {
MoveSpeedSecond = other.MoveSpeedSecond;
}
if (other.MoveSpeedThird != 0L) {
MoveSpeedThird = other.MoveSpeedThird;
}
_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: {
RoomId = input.ReadInt64();
break;
}
case 16: {
UserId = input.ReadInt64();
break;
}
case 24: {
Status = input.ReadInt32();
break;
}
case 32: {
TemplateId = input.ReadInt64();
break;
}
case 40: {
RoleId = input.ReadInt64();
break;
}
case 48: {
BirthAreaId = input.ReadInt64();
break;
}
case 56: {
ChargeAreaId = input.ReadInt64();
break;
}
case 69: {
X = input.ReadFloat();
break;
}
case 77: {
Y = input.ReadFloat();
break;
}
case 85: {
Z = input.ReadFloat();
break;
}
case 88: {
MoveSpeedFirst = input.ReadInt64();
break;
}
case 96: {
MoveSpeedSecond = input.ReadInt64();
break;
}
case 104: {
MoveSpeedThird = input.ReadInt64();
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: {
RoomId = input.ReadInt64();
break;
}
case 16: {
UserId = input.ReadInt64();
break;
}
case 24: {
Status = input.ReadInt32();
break;
}
case 32: {
TemplateId = input.ReadInt64();
break;
}
case 40: {
RoleId = input.ReadInt64();
break;
}
case 48: {
BirthAreaId = input.ReadInt64();
break;
}
case 56: {
ChargeAreaId = input.ReadInt64();
break;
}
case 69: {
X = input.ReadFloat();
break;
}
case 77: {
Y = input.ReadFloat();
break;
}
case 85: {
Z = input.ReadFloat();
break;
}
case 88: {
MoveSpeedFirst = input.ReadInt64();
break;
}
case 96: {
MoveSpeedSecond = input.ReadInt64();
break;
}
case 104: {
MoveSpeedThird = input.ReadInt64();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UserInfoRequest : pb::IMessage<UserInfoRequest>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<UserInfoRequest> _parser = new pb::MessageParser<UserInfoRequest>(() => new UserInfoRequest());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<UserInfoRequest> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.Descriptor.MessageTypes[15]; }
}
[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 UserInfoRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserInfoRequest(UserInfoRequest other) : this() {
userId_ = other.userId_;
status_ = other.status_;
roomId_ = other.roomId_;
x_ = other.x_;
y_ = other.y_;
z_ = other.z_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserInfoRequest Clone() {
return new UserInfoRequest(this);
}
/// <summary>Field number for the "UserId" field.</summary>
public const int UserIdFieldNumber = 1;
private long userId_;
[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 "Status" field.</summary>
public const int StatusFieldNumber = 2;
private int status_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Status {
get { return status_; }
set {
status_ = value;
}
}
/// <summary>Field number for the "RoomId" field.</summary>
public const int RoomIdFieldNumber = 3;
private string roomId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoomId {
get { return roomId_; }
set {
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "x" field.</summary>
public const int XFieldNumber = 4;
private float x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float X {
get { return x_; }
set {
x_ = value;
}
}
/// <summary>Field number for the "y" field.</summary>
public const int YFieldNumber = 5;
private float y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float Y {
get { return y_; }
set {
y_ = value;
}
}
/// <summary>Field number for the "z" field.</summary>
public const int ZFieldNumber = 6;
private float z_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float Z {
get { return z_; }
set {
z_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UserInfoRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UserInfoRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserId != other.UserId) return false;
if (Status != other.Status) return false;
if (RoomId != other.RoomId) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (UserId != 0L) hash ^= UserId.GetHashCode();
if (Status != 0) hash ^= Status.GetHashCode();
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X);
if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y);
if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z);
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (UserId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(UserId);
}
if (Status != 0) {
output.WriteRawTag(16);
output.WriteInt32(Status);
}
if (RoomId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(RoomId);
}
if (X != 0F) {
output.WriteRawTag(37);
output.WriteFloat(X);
}
if (Y != 0F) {
output.WriteRawTag(45);
output.WriteFloat(Y);
}
if (Z != 0F) {
output.WriteRawTag(53);
output.WriteFloat(Z);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (UserId != 0L) {
output.WriteRawTag(8);
output.WriteInt64(UserId);
}
if (Status != 0) {
output.WriteRawTag(16);
output.WriteInt32(Status);
}
if (RoomId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(RoomId);
}
if (X != 0F) {
output.WriteRawTag(37);
output.WriteFloat(X);
}
if (Y != 0F) {
output.WriteRawTag(45);
output.WriteFloat(Y);
}
if (Z != 0F) {
output.WriteRawTag(53);
output.WriteFloat(Z);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (UserId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId);
}
if (Status != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status);
}
if (RoomId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
}
if (X != 0F) {
size += 1 + 4;
}
if (Y != 0F) {
size += 1 + 4;
}
if (Z != 0F) {
size += 1 + 4;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(UserInfoRequest other) {
if (other == null) {
return;
}
if (other.UserId != 0L) {
UserId = other.UserId;
}
if (other.Status != 0) {
Status = other.Status;
}
if (other.RoomId.Length != 0) {
RoomId = other.RoomId;
}
if (other.X != 0F) {
X = other.X;
}
if (other.Y != 0F) {
Y = other.Y;
}
if (other.Z != 0F) {
Z = other.Z;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
UserId = input.ReadInt64();
break;
}
case 16: {
Status = input.ReadInt32();
break;
}
case 26: {
RoomId = input.ReadString();
break;
}
case 37: {
X = input.ReadFloat();
break;
}
case 45: {
Y = input.ReadFloat();
break;
}
case 53: {
Z = input.ReadFloat();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
UserId = input.ReadInt64();
break;
}
case 16: {
Status = input.ReadInt32();
break;
}
case 26: {
RoomId = input.ReadString();
break;
}
case 37: {
X = input.ReadFloat();
break;
}
case 45: {
Y = input.ReadFloat();
break;
}
case 53: {
Z = input.ReadFloat();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class UserInfoResponse : pb::IMessage<UserInfoResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<UserInfoResponse> _parser = new pb::MessageParser<UserInfoResponse>(() => new UserInfoResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<UserInfoResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::HallReflection.Descriptor.MessageTypes[16]; }
}
[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 UserInfoResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserInfoResponse(UserInfoResponse other) : this() {
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public UserInfoResponse Clone() {
return new UserInfoResponse(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as UserInfoResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(UserInfoResponse 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(UserInfoResponse 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
}
#endregion
#endregion Designer generated code