接口更新
This commit is contained in:
parent
886b713b94
commit
b574a8d8d4
@ -27,36 +27,38 @@ public static partial class HallReflection {
|
||||
"ASABKAkSDAoEY29kZRgCIAEoBRIMCgRkYXRlGAQgASgJEiEKBGRhdGEYAyAB",
|
||||
"KAsyEy5QbGF5ZXJKb2luUmVzcG9uc2UiHwoMSGVsbG9SZXF1ZXN0Eg8KB21l",
|
||||
"c3NhZ2UYASABKAkiIAoNSGVsbG9SZXNwb25zZRIPCgdtZXNzYWdlGAEgASgJ",
|
||||
"IiEKD0pvaW5Sb29tUmVxdWVzdBIOCgZyb29tSWQYASABKAkiVAoQSm9pblJv",
|
||||
"b21SZXNwb25zZRIPCgdtZXNzYWdlGAEgASgJEgwKBGNvZGUYAiABKAUSIQoE",
|
||||
"ZGF0YRgDIAEoCzITLlBsYXllckpvaW5SZXNwb25zZSK3AwoSUGxheWVySm9p",
|
||||
"blJlc3BvbnNlEhAKCFVzZXJOYW1lGAEgASgJEg4KBlJvb21JZBgCIAEoCRIO",
|
||||
"CgZTdGF0dXMYAyABKAUSEAoIUm9sZU5hbWUYBCABKAkSFAoMSXNMZWFkaW5n",
|
||||
"TlBDGAUgASgFEg4KBk9ubGluZRgGIAEoCBIOCgZSb2xlSWQYByABKAUSEwoL",
|
||||
"R3JvdXBMZWFkZXIYCCABKAUSEgoKQWN0aW9uTW9kZRgJIAEoBRINCgVHcm91",
|
||||
"cBgKIAEoBRIJCgFYGAsgASgBEgkKAVkYDCABKAESCQoBWhgNIAEoARITCgtP",
|
||||
"dmVyc2VlQ29uZBgOIAEoCRIWCg5TZW5kRnJhbWVDb3VudBgPIAEoBRIWCg5N",
|
||||
"b3ZlU3BlZWRGaXJzdBgQIAEoBRIXCg9Nb3ZlU3BlZWRTZWNvbmQYESABKAUS",
|
||||
"FgoOTW92ZVNwZWVkVGhpcmQYEiABKAUSEAoIQmVhckxvYWQYEyABKAUSEgoK",
|
||||
"UHJvdGVjdGlvbhgUIAEoBRIOCgZIZWFsdGgYFSABKA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vUmVxdWVzdBIOCgZVc2VySWQYASABKAMSDgoG",
|
||||
"U3RhdHVzGAIgASgFEg4KBlJvb21JZBgDIAEoCRIJCgF4GAQgASgCEgkKAXkY",
|
||||
"BSABKAISCQoBehgGIAEoAiISChBVc2VySW5mb1Jlc3BvbnNlQgdaBS4vO3Bi",
|
||||
"YgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
@ -65,6 +67,7 @@ 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" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::PropTemplateRequest), global::PropTemplateRequest.Parser, new[]{ "TemplateId" }, null, null, null, null),
|
||||
@ -392,6 +395,9 @@ 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 {
|
||||
@ -1232,6 +1238,244 @@ 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
|
||||
@ -1247,7 +1491,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[5]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[6]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -1531,7 +1775,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[6]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[7]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -2612,7 +2856,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[7]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[8]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -2810,7 +3054,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[8]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[9]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -3091,7 +3335,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[9]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[10]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -3278,7 +3522,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[10]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[11]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -3587,7 +3831,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[11]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[12]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -3822,7 +4066,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[12]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[13]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -4009,7 +4253,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[13]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[14]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -4651,7 +4895,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[14]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[15]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
@ -5034,7 +5278,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[15]; }
|
||||
get { return global::HallReflection.Descriptor.MessageTypes[16]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
@ -24,18 +24,18 @@ public static partial class UserReflection {
|
||||
string.Concat(
|
||||
"Cgp1c2VyLnByb3RvIiQKElVzZXJPZmZsaW5lUmVxdWVzdBIOCgZ1c2VySWQY",
|
||||
"ASABKAkiJQoTVXNlck9mZmxpbmVSZXNwb25zZRIOCgZ1c2VySWQYASABKAki",
|
||||
"IQoPVXNlclJvbGVSZXF1ZXN0Eg4KBnJvbGVJZBgBIAEoBSKRAQoQVXNlclJv",
|
||||
"IQoPVXNlclJvbGVSZXF1ZXN0Eg4KBnJvbGVJZBgBIAEoBSKmAQoQVXNlclJv",
|
||||
"bGVSZXNwb25zZRIOCgZyb2xlSWQYASABKAUSEAoIcm9sZU5hbWUYAiABKAkS",
|
||||
"EgoKYWN0aW9uTW9kZRgDIAEoBRINCgVncm91cBgEIAEoBRITCgtncm91cExl",
|
||||
"YWRlchgFIAEoBRIUCgxpc0xlYWRpbmdOUEMYBiABKAUSDQoFc3RhdHMYByAB",
|
||||
"KAlCB1oFLi87cGJiBnByb3RvMw=="));
|
||||
"KAkSEwoLV2VpZ2h0TGltaXQYCCABKAVCB1oFLi87cGJiBnByb3RvMw=="));
|
||||
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" }, 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)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
@ -684,6 +684,7 @@ 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);
|
||||
}
|
||||
|
||||
@ -777,6 +778,18 @@ 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) {
|
||||
@ -799,6 +812,7 @@ 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);
|
||||
}
|
||||
|
||||
@ -813,6 +827,7 @@ 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();
|
||||
}
|
||||
@ -859,6 +874,10 @@ 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);
|
||||
}
|
||||
@ -897,6 +916,10 @@ 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);
|
||||
}
|
||||
@ -928,6 +951,9 @@ 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();
|
||||
}
|
||||
@ -961,6 +987,9 @@ 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);
|
||||
}
|
||||
|
||||
@ -1008,6 +1037,10 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
Stats = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
WeightLimit = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@ -1055,6 +1088,10 @@ public sealed partial class UserRoleResponse : pb::IMessage<UserRoleResponse>
|
||||
Stats = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
WeightLimit = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -534,6 +534,27 @@ 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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user