Compare commits
No commits in common. "339753e3f84f41ffb401e3ae8f2758c2c7e52fee" and "0540627a3fc8b0cd3f76a2325cbfe2dd2de7b75d" have entirely different histories.
339753e3f8
...
0540627a3f
@ -27,38 +27,36 @@ public static partial class HallReflection {
|
||||
"ASABKAkSDAoEY29kZRgCIAEoBRIMCgRkYXRlGAQgASgJEiEKBGRhdGEYAyAB",
|
||||
"KAsyEy5QbGF5ZXJKb2luUmVzcG9uc2UiHwoMSGVsbG9SZXF1ZXN0Eg8KB21l",
|
||||
"c3NhZ2UYASABKAkiIAoNSGVsbG9SZXNwb25zZRIPCgdtZXNzYWdlGAEgASgJ",
|
||||
"IiEKD0pvaW5Sb29tUmVxdWVzdBIOCgZyb29tSWQYASABKAkiNQoSUGxheWVy",
|
||||
"UmVhZHlSZXF1ZXN0Eg4KBnJvb21JZBgBIAEoCRIPCgdpc1JlYWR5GAIgASgI",
|
||||
"IlQKEEpvaW5Sb29tUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIMCgRjb2Rl",
|
||||
"GAIgASgFEiEKBGRhdGEYAyABKAsyEy5QbGF5ZXJKb2luUmVzcG9uc2UiyAMK",
|
||||
"ElBsYXllckpvaW5SZXNwb25zZRIQCghVc2VyTmFtZRgBIAEoCRIOCgZSb29t",
|
||||
"SWQYAiABKAkSDgoGU3RhdHVzGAMgASgFEhAKCFJvbGVOYW1lGAQgASgJEhQK",
|
||||
"DElzTGVhZGluZ05QQxgFIAEoBRIOCgZPbmxpbmUYBiABKAgSDgoGUm9sZUlk",
|
||||
"GAcgASgFEhMKC0dyb3VwTGVhZGVyGAggASgFEhIKCkFjdGlvbk1vZGUYCSAB",
|
||||
"KAUSDQoFR3JvdXAYCiABKAUSCQoBWBgLIAEoARIJCgFZGAwgASgBEgkKAVoY",
|
||||
"DSABKAESEwoLT3ZlcnNlZUNvbmQYDiABKAkSFgoOU2VuZEZyYW1lQ291bnQY",
|
||||
"DyABKAUSFgoOTW92ZVNwZWVkRmlyc3QYECABKAU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WRGaXJzdBgLIAEoAxIXCg9Nb3Zl",
|
||||
"U3BlZWRTZWNvbmQYDCABKAMSFgoOTW92ZVNwZWVkVGhpcmQYDSABKAMiYgoP",
|
||||
"VXNlckluZm9SZXF1ZXN0Eg4KBlVzZXJJZBgBIAEoAxIOCgZTdGF0dXMYAiAB",
|
||||
"KAUSDgoGUm9vbUlkGAMgASgJEgkKAXgYBCABKAISCQoBeRgFIAEoAhIJCgF6",
|
||||
"GAYgASgCIhIKEFVzZXJJbmZvUmVzcG9uc2VCB1oFLi87cGJiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
@ -67,9 +65,8 @@ public static partial class HallReflection {
|
||||
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::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" }, 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),
|
||||
@ -395,9 +392,6 @@ public sealed partial class LoginResponse : pb::IMessage<LoginResponse>
|
||||
/// <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 {
|
||||
@ -1238,244 +1232,6 @@ public sealed partial class JoinRoomRequest : pb::IMessage<JoinRoomRequest>
|
||||
|
||||
}
|
||||
|
||||
[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
|
||||
@ -1491,7 +1247,7 @@ public sealed partial class JoinRoomResponse : pb::IMessage<JoinRoomResponse>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[6]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[5]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -1775,7 +1531,7 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[7]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[6]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -1818,7 +1574,6 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
health_ = other.health_;
|
||||
roleStatus_ = other.roleStatus_;
|
||||
userId_ = other.userId_;
|
||||
isReady_ = other.isReady_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@ -2173,21 +1928,6 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
}
|
||||
}
|
||||
|
||||
/// <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) {
|
||||
@ -2226,7 +1966,6 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
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);
|
||||
}
|
||||
|
||||
@ -2257,7 +1996,6 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
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();
|
||||
}
|
||||
@ -2368,10 +2106,6 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
output.WriteRawTag(184, 1);
|
||||
output.WriteInt64(UserId);
|
||||
}
|
||||
if (IsReady != false) {
|
||||
output.WriteRawTag(192, 1);
|
||||
output.WriteBool(IsReady);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
@ -2474,10 +2208,6 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
output.WriteRawTag(184, 1);
|
||||
output.WriteInt64(UserId);
|
||||
}
|
||||
if (IsReady != false) {
|
||||
output.WriteRawTag(192, 1);
|
||||
output.WriteBool(IsReady);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
@ -2557,9 +2287,6 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
if (UserId != 0L) {
|
||||
size += 2 + pb::CodedOutputStream.ComputeInt64Size(UserId);
|
||||
}
|
||||
if (IsReady != false) {
|
||||
size += 2 + 1;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@ -2641,9 +2368,6 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
if (other.UserId != 0L) {
|
||||
UserId = other.UserId;
|
||||
}
|
||||
if (other.IsReady != false) {
|
||||
IsReady = other.IsReady;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@ -2755,10 +2479,6 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
UserId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 192: {
|
||||
IsReady = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@ -2870,10 +2590,6 @@ public sealed partial class PlayerJoinResponse : pb::IMessage<PlayerJoinResponse
|
||||
UserId = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 192: {
|
||||
IsReady = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2896,7 +2612,7 @@ public sealed partial class PropTemplateRequest : pb::IMessage<PropTemplateReque
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[8]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[7]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -3094,7 +2810,7 @@ public sealed partial class PropTemplateResponse : pb::IMessage<PropTemplateResp
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[9]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[8]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -3375,7 +3091,7 @@ public sealed partial class PpcPropResponse : pb::IMessage<PpcPropResponse>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[10]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[9]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -3562,7 +3278,7 @@ public sealed partial class RpcRoomInfoResponse : pb::IMessage<RpcRoomInfoRespon
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[11]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[10]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -3871,7 +3587,7 @@ public sealed partial class UserTemplateRequest : pb::IMessage<UserTemplateReque
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[12]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[11]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -4106,7 +3822,7 @@ public sealed partial class UserTemplate : pb::IMessage<UserTemplate>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[13]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[12]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -4293,7 +4009,7 @@ public sealed partial class UserTemplateResponse : pb::IMessage<UserTemplateResp
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[14]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[13]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -4935,7 +4651,7 @@ public sealed partial class UserInfoRequest : pb::IMessage<UserInfoRequest>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[15]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[14]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -5318,7 +5034,7 @@ public sealed partial class UserInfoResponse : pb::IMessage<UserInfoResponse>
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[16]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[15]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
@ -24,18 +24,18 @@ public static partial class UserReflection {
|
||||
string.Concat(
|
||||
"Cgp1c2VyLnByb3RvIiQKElVzZXJPZmZsaW5lUmVxdWVzdBIOCgZ1c2VySWQY",
|
||||
"ASABKAkiJQoTVXNlck9mZmxpbmVSZXNwb25zZRIOCgZ1c2VySWQYASABKAki",
|
||||
"IQoPVXNlclJvbGVSZXF1ZXN0Eg4KBnJvbGVJZBgBIAEoBSKmAQoQVXNlclJv",
|
||||
"IQoPVXNlclJvbGVSZXF1ZXN0Eg4KBnJvbGVJZBgBIAEoBSKRAQoQVXNlclJv",
|
||||
"bGVSZXNwb25zZRIOCgZyb2xlSWQYASABKAUSEAoIcm9sZU5hbWUYAiABKAkS",
|
||||
"EgoKYWN0aW9uTW9kZRgDIAEoBRINCgVncm91cBgEIAEoBRITCgtncm91cExl",
|
||||
"YWRlchgFIAEoBRIUCgxpc0xlYWRpbmdOUEMYBiABKAUSDQoFc3RhdHMYByAB",
|
||||
"KAkSEwoLV2VpZ2h0TGltaXQYCCABKAVCB1oFLi87cGJiBnByb3RvMw=="));
|
||||
"KAlCB1oFLi87cGJiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::UserOfflineRequest), global::UserOfflineRequest.Parser, new[]{ "UserId" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::UserOfflineResponse), global::UserOfflineResponse.Parser, new[]{ "UserId" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::UserRoleRequest), global::UserRoleRequest.Parser, new[]{ "RoleId" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::UserRoleResponse), global::UserRoleResponse.Parser, new[]{ "RoleId", "RoleName", "ActionMode", "Group", "GroupLeader", "IsLeadingNPC", "Stats", "WeightLimit" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::UserRoleResponse), global::UserRoleResponse.Parser, new[]{ "RoleId", "RoleName", "ActionMode", "Group", "GroupLeader", "IsLeadingNPC", "Stats" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
@ -684,7 +684,6 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
groupLeader_ = other.groupLeader_;
|
||||
isLeadingNPC_ = other.isLeadingNPC_;
|
||||
stats_ = other.stats_;
|
||||
weightLimit_ = other.weightLimit_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@ -778,18 +777,6 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "WeightLimit" field.</summary>
|
||||
public const int WeightLimitFieldNumber = 8;
|
||||
private int weightLimit_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int WeightLimit {
|
||||
get { return weightLimit_; }
|
||||
set {
|
||||
weightLimit_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
@ -812,7 +799,6 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
if (GroupLeader != other.GroupLeader) return false;
|
||||
if (IsLeadingNPC != other.IsLeadingNPC) return false;
|
||||
if (Stats != other.Stats) return false;
|
||||
if (WeightLimit != other.WeightLimit) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@ -827,7 +813,6 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
if (GroupLeader != 0) hash ^= GroupLeader.GetHashCode();
|
||||
if (IsLeadingNPC != 0) hash ^= IsLeadingNPC.GetHashCode();
|
||||
if (Stats.Length != 0) hash ^= Stats.GetHashCode();
|
||||
if (WeightLimit != 0) hash ^= WeightLimit.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@ -874,10 +859,6 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(Stats);
|
||||
}
|
||||
if (WeightLimit != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(WeightLimit);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
@ -916,10 +897,6 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(Stats);
|
||||
}
|
||||
if (WeightLimit != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteInt32(WeightLimit);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
@ -951,9 +928,6 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
if (Stats.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Stats);
|
||||
}
|
||||
if (WeightLimit != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WeightLimit);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@ -987,9 +961,6 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
if (other.Stats.Length != 0) {
|
||||
Stats = other.Stats;
|
||||
}
|
||||
if (other.WeightLimit != 0) {
|
||||
WeightLimit = other.WeightLimit;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@ -1037,10 +1008,6 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
Stats = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
WeightLimit = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@ -1088,10 +1055,6 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
Stats = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
WeightLimit = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -534,27 +534,6 @@ public class test : MonoBehaviour
|
||||
}
|
||||
|
||||
|
||||
public void PlayerReady(string roomId,bool isready)
|
||||
{
|
||||
PlayerReadyRequest data = new PlayerReadyRequest();
|
||||
data.RoomId = roomId;
|
||||
data.IsReady = isready;
|
||||
|
||||
|
||||
WSMessage msg = new WSMessage();
|
||||
msg.Module = "select";
|
||||
msg.ServiceName = "GetSelectHistoryList";
|
||||
msg.Data = ByteString.CopyFrom(ProtoBufffer.Serialize(data));
|
||||
byte[] sendData = ProtoBufffer.Serialize(msg);
|
||||
WSMessage deinfo = ProtoBufffer.DeSerialize<WSMessage>(sendData);
|
||||
PlayerReadyRequest login = ProtoBufffer.DeSerialize<PlayerReadyRequest>(deinfo.Data.ToByteArray());
|
||||
Debug.Log("==========消息转发函数调用");
|
||||
//BroadcastFrameMsg.FramesFieldNumber
|
||||
|
||||
wEBScriptListener.SendMessageByte(sendData);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -666,8 +645,6 @@ public class test : MonoBehaviour
|
||||
PlayerJoinResponse playerJoinResponse = ProtoBufffer.DeSerialize<PlayerJoinResponse>(joinByte);
|
||||
Debug.Log("鯤소:" + playerJoinResponse.UserName + "속흙렛쇌:" + playerJoinResponse.RoomId.ToString());
|
||||
GameObject.Find("player").transform.position = new Vector3((float)playerJoinResponse.X, (float)playerJoinResponse.Y, (float)playerJoinResponse.Z);
|
||||
Debug.Log(playerJoinResponse.IsReady);//是否准备的判断
|
||||
|
||||
Debug.Log("鯤소貫零");
|
||||
|
||||
break;
|
||||
@ -947,7 +924,7 @@ public class test : MonoBehaviour
|
||||
|
||||
break;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user