2024-08-17 14:27:18 +08:00
|
|
|
// <auto-generated>
|
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
// source: JNSyncMessage.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 JNSyncMessage.proto</summary>
|
|
|
|
public static partial class JNSyncMessageReflection {
|
|
|
|
|
|
|
|
#region Descriptor
|
|
|
|
/// <summary>File descriptor for JNSyncMessage.proto</summary>
|
|
|
|
public static pbr::FileDescriptor Descriptor {
|
|
|
|
get { return descriptor; }
|
|
|
|
}
|
|
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
|
|
|
|
static JNSyncMessageReflection() {
|
|
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
|
|
string.Concat(
|
2024-08-21 16:18:52 +08:00
|
|
|
"ChNKTlN5bmNNZXNzYWdlLnByb3RvIiMKD0pOQ2xpZW50Q29ubmVjdBIQCghj",
|
|
|
|
"bGllbnRJZBgBIAEoCSImChJKTkNsaWVudERpc2Nvbm5lY3QSEAoIY2xpZW50",
|
|
|
|
"SWQYASABKAkiSwoMSk5GcmFtZUlucHV0EgsKA25JZBgBIAEoBRISCgVpbnB1",
|
|
|
|
"dBgCIAEoDEgAiAEBEhAKCGNsaWVudElkGAMgASgFQggKBl9pbnB1dCIuCg1K",
|
|
|
|
"TkZyYW1lSW5wdXRzEh0KBmlucHV0cxgBIAMoCzINLkpORnJhbWVJbnB1dCI9",
|
|
|
|
"CgtKTkZyYW1lSW5mbxINCgVpbmRleBgBIAEoBRIfCghtZXNzYWdlcxgCIAMo",
|
|
|
|
"CzINLkpORnJhbWVJbnB1dCIsCgxKTkZyYW1lSW5mb3MSHAoGZnJhbWVzGAEg",
|
|
|
|
"AygLMgwuSk5GcmFtZUluZm8iKwoHSk5JbnB1dBIUCgdtZXNzYWdlGAEgASgJ",
|
|
|
|
"SACIAQFCCgoIX21lc3NhZ2UiKQoLSk5TdGF0ZURhdGESEQoEZGF0YRgCIAEo",
|
2024-08-22 20:37:39 +08:00
|
|
|
"DEgAiAEBQgcKBV9kYXRhIpEBCg9KTlN0YXRlSXRlbURhdGESDQoFTmV0SUQY",
|
|
|
|
"ASABKAUSMAoIbWVzc2FnZXMYAiADKAsyHi5KTlN0YXRlSXRlbURhdGEuTWVz",
|
2024-08-23 10:48:19 +08:00
|
|
|
"c2FnZXNFbnRyeRo9Cg1NZXNzYWdlc0VudHJ5EgsKA2tleRgBIAEoBBIbCgV2",
|
2024-08-22 20:37:39 +08:00
|
|
|
"YWx1ZRgCIAEoCzIMLkpOU3RhdGVEYXRhOgI4ASIwCg5KTlN0YXRlQWxsRGF0",
|
|
|
|
"YRIeCgRkYXRhGAIgAygLMhAuSk5TdGF0ZUl0ZW1EYXRhIkEKEUpOU3RhdGVU",
|
|
|
|
"aWxlSW5wdXRzEgsKA3RJZBgBIAEoBRIfCgdtZXNzYWdlGAIgASgLMg4uSk5G",
|
|
|
|
"cmFtZUlucHV0cyJAChJKTlN0YXRlVGlsZUFsbERhdGESCwoDdElkGAEgASgF",
|
|
|
|
"Eh0KBGRhdGEYAiABKAsyDy5KTlN0YXRlQWxsRGF0YSIqChtOU3luY1RpbGVH",
|
|
|
|
"ZXRUaWxlSW5mb1JlcXVlc3QSCwoDdElkGAEgASgFIjkKD0pOQWRkVGlsZVNl",
|
|
|
|
"cnZlchIMCgR0aWxlGAEgASgFEgoKAmlwGAIgASgJEgwKBHBvcnQYAyABKAVC",
|
|
|
|
"FgoUY24uamlzb2wubmdhbWUucHJvdG9iBnByb3RvMw=="));
|
2024-08-17 14:27:18 +08:00
|
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
|
|
new pbr::FileDescriptor[] { },
|
|
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
2024-08-21 16:18:52 +08:00
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNClientConnect), global::JNClientConnect.Parser, new[]{ "ClientId" }, null, null, null, null),
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNClientDisconnect), global::JNClientDisconnect.Parser, new[]{ "ClientId" }, null, null, null, null),
|
2024-08-17 14:27:18 +08:00
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNFrameInput), global::JNFrameInput.Parser, new[]{ "NId", "Input", "ClientId" }, new[]{ "Input" }, null, null, null),
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNFrameInputs), global::JNFrameInputs.Parser, new[]{ "Inputs" }, null, null, null, null),
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNFrameInfo), global::JNFrameInfo.Parser, new[]{ "Index", "Messages" }, null, null, null, null),
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNFrameInfos), global::JNFrameInfos.Parser, new[]{ "Frames" }, null, null, null, null),
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNInput), global::JNInput.Parser, new[]{ "Message" }, new[]{ "Message" }, null, null, null),
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNStateData), global::JNStateData.Parser, new[]{ "Data" }, new[]{ "Data" }, null, null, null),
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNStateItemData), global::JNStateItemData.Parser, new[]{ "NetID", "Messages" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
|
2024-08-22 20:37:39 +08:00
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNStateAllData), global::JNStateAllData.Parser, new[]{ "Data" }, null, null, null, null),
|
2024-08-17 14:27:18 +08:00
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNStateTileInputs), global::JNStateTileInputs.Parser, new[]{ "TId", "Message" }, null, null, null, null),
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNStateTileAllData), global::JNStateTileAllData.Parser, new[]{ "TId", "Data" }, null, null, null, null),
|
2024-08-22 20:37:39 +08:00
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::NSyncTileGetTileInfoRequest), global::NSyncTileGetTileInfoRequest.Parser, new[]{ "TId" }, null, null, null, null),
|
2024-08-17 14:27:18 +08:00
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::JNAddTileServer), global::JNAddTileServer.Parser, new[]{ "Tile", "Ip", "Port" }, null, null, null, null)
|
|
|
|
}));
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
}
|
|
|
|
#region Messages
|
2024-08-21 16:18:52 +08:00
|
|
|
/// <summary>
|
|
|
|
/// ---------------------- 状态 --------------------------
|
|
|
|
///连接客户端
|
|
|
|
/// </summary>
|
|
|
|
public sealed partial class JNClientConnect : pb::IMessage<JNClientConnect>
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
private static readonly pb::MessageParser<JNClientConnect> _parser = new pb::MessageParser<JNClientConnect>(() => new JNClientConnect());
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pb::MessageParser<JNClientConnect> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
get { return global::JNSyncMessageReflection.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 JNClientConnect() {
|
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNClientConnect(JNClientConnect other) : this() {
|
|
|
|
clientId_ = other.clientId_;
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNClientConnect Clone() {
|
|
|
|
return new JNClientConnect(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "clientId" field.</summary>
|
|
|
|
public const int ClientIdFieldNumber = 1;
|
|
|
|
private string clientId_ = "";
|
|
|
|
/// <summary>
|
|
|
|
///客户端Id
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public string ClientId {
|
|
|
|
get { return clientId_; }
|
|
|
|
set {
|
|
|
|
clientId_ = 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 JNClientConnect);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool Equals(JNClientConnect other) {
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (ClientId != other.ClientId) 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 (ClientId.Length != 0) hash ^= ClientId.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 (ClientId.Length != 0) {
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
output.WriteString(ClientId);
|
|
|
|
}
|
|
|
|
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 (ClientId.Length != 0) {
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
output.WriteString(ClientId);
|
|
|
|
}
|
|
|
|
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 (ClientId.Length != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientId);
|
|
|
|
}
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void MergeFrom(JNClientConnect other) {
|
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.ClientId.Length != 0) {
|
|
|
|
ClientId = other.ClientId;
|
|
|
|
}
|
|
|
|
_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 10: {
|
|
|
|
ClientId = 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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 10: {
|
|
|
|
ClientId = input.ReadString();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///断开客户端
|
|
|
|
/// </summary>
|
|
|
|
public sealed partial class JNClientDisconnect : pb::IMessage<JNClientDisconnect>
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
private static readonly pb::MessageParser<JNClientDisconnect> _parser = new pb::MessageParser<JNClientDisconnect>(() => new JNClientDisconnect());
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pb::MessageParser<JNClientDisconnect> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
get { return global::JNSyncMessageReflection.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 JNClientDisconnect() {
|
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNClientDisconnect(JNClientDisconnect other) : this() {
|
|
|
|
clientId_ = other.clientId_;
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNClientDisconnect Clone() {
|
|
|
|
return new JNClientDisconnect(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "clientId" field.</summary>
|
|
|
|
public const int ClientIdFieldNumber = 1;
|
|
|
|
private string clientId_ = "";
|
|
|
|
/// <summary>
|
|
|
|
///客户端Id
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public string ClientId {
|
|
|
|
get { return clientId_; }
|
|
|
|
set {
|
|
|
|
clientId_ = 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 JNClientDisconnect);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool Equals(JNClientDisconnect other) {
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (ClientId != other.ClientId) 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 (ClientId.Length != 0) hash ^= ClientId.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 (ClientId.Length != 0) {
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
output.WriteString(ClientId);
|
|
|
|
}
|
|
|
|
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 (ClientId.Length != 0) {
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
output.WriteString(ClientId);
|
|
|
|
}
|
|
|
|
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 (ClientId.Length != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientId);
|
|
|
|
}
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void MergeFrom(JNClientDisconnect other) {
|
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.ClientId.Length != 0) {
|
|
|
|
ClientId = other.ClientId;
|
|
|
|
}
|
|
|
|
_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 10: {
|
|
|
|
ClientId = 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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 10: {
|
|
|
|
ClientId = input.ReadString();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2024-08-17 14:27:18 +08:00
|
|
|
/// <summary>
|
|
|
|
/// ---------------------- 帧同步 --------------------------
|
|
|
|
///帧同步输入
|
|
|
|
/// </summary>
|
|
|
|
public sealed partial class JNFrameInput : pb::IMessage<JNFrameInput>
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
private static readonly pb::MessageParser<JNFrameInput> _parser = new pb::MessageParser<JNFrameInput>(() => new JNFrameInput());
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pb::MessageParser<JNFrameInput> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[2]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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 JNFrameInput() {
|
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNFrameInput(JNFrameInput other) : this() {
|
|
|
|
nId_ = other.nId_;
|
|
|
|
input_ = other.input_;
|
|
|
|
clientId_ = other.clientId_;
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNFrameInput Clone() {
|
|
|
|
return new JNFrameInput(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "nId" field.</summary>
|
|
|
|
public const int NIdFieldNumber = 1;
|
|
|
|
private int nId_;
|
|
|
|
/// <summary>
|
|
|
|
///输入的Id
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int NId {
|
|
|
|
get { return nId_; }
|
|
|
|
set {
|
|
|
|
nId_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "input" field.</summary>
|
|
|
|
public const int InputFieldNumber = 2;
|
|
|
|
private pb::ByteString input_;
|
|
|
|
/// <summary>
|
|
|
|
///输入内容
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public pb::ByteString Input {
|
|
|
|
get { return input_ ?? pb::ByteString.Empty; }
|
|
|
|
set {
|
|
|
|
input_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>Gets whether the "input" field is set</summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool HasInput {
|
|
|
|
get { return input_ != null; }
|
|
|
|
}
|
|
|
|
/// <summary>Clears the value of the "input" field</summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void ClearInput() {
|
|
|
|
input_ = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "clientId" field.</summary>
|
|
|
|
public const int ClientIdFieldNumber = 3;
|
|
|
|
private int clientId_;
|
|
|
|
/// <summary>
|
|
|
|
///输入所属的客户端Id
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int ClientId {
|
|
|
|
get { return clientId_; }
|
|
|
|
set {
|
|
|
|
clientId_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
return Equals(other as JNFrameInput);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool Equals(JNFrameInput other) {
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (NId != other.NId) return false;
|
|
|
|
if (Input != other.Input) return false;
|
|
|
|
if (ClientId != other.ClientId) 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 (NId != 0) hash ^= NId.GetHashCode();
|
|
|
|
if (HasInput) hash ^= Input.GetHashCode();
|
|
|
|
if (ClientId != 0) hash ^= ClientId.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 (NId != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(NId);
|
|
|
|
}
|
|
|
|
if (HasInput) {
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
output.WriteBytes(Input);
|
|
|
|
}
|
|
|
|
if (ClientId != 0) {
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
output.WriteInt32(ClientId);
|
|
|
|
}
|
|
|
|
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 (NId != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(NId);
|
|
|
|
}
|
|
|
|
if (HasInput) {
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
output.WriteBytes(Input);
|
|
|
|
}
|
|
|
|
if (ClientId != 0) {
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
output.WriteInt32(ClientId);
|
|
|
|
}
|
|
|
|
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 (NId != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NId);
|
|
|
|
}
|
|
|
|
if (HasInput) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Input);
|
|
|
|
}
|
|
|
|
if (ClientId != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClientId);
|
|
|
|
}
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void MergeFrom(JNFrameInput other) {
|
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.NId != 0) {
|
|
|
|
NId = other.NId;
|
|
|
|
}
|
|
|
|
if (other.HasInput) {
|
|
|
|
Input = other.Input;
|
|
|
|
}
|
|
|
|
if (other.ClientId != 0) {
|
|
|
|
ClientId = other.ClientId;
|
|
|
|
}
|
|
|
|
_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
NId = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
Input = input.ReadBytes();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 24: {
|
|
|
|
ClientId = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
|
|
uint tag;
|
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
NId = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
Input = input.ReadBytes();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 24: {
|
|
|
|
ClientId = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///帧输入列表
|
|
|
|
/// </summary>
|
|
|
|
public sealed partial class JNFrameInputs : pb::IMessage<JNFrameInputs>
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
private static readonly pb::MessageParser<JNFrameInputs> _parser = new pb::MessageParser<JNFrameInputs>(() => new JNFrameInputs());
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pb::MessageParser<JNFrameInputs> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[3]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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 JNFrameInputs() {
|
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNFrameInputs(JNFrameInputs other) : this() {
|
|
|
|
inputs_ = other.inputs_.Clone();
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNFrameInputs Clone() {
|
|
|
|
return new JNFrameInputs(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "inputs" field.</summary>
|
|
|
|
public const int InputsFieldNumber = 1;
|
|
|
|
private static readonly pb::FieldCodec<global::JNFrameInput> _repeated_inputs_codec
|
|
|
|
= pb::FieldCodec.ForMessage(10, global::JNFrameInput.Parser);
|
|
|
|
private readonly pbc::RepeatedField<global::JNFrameInput> inputs_ = new pbc::RepeatedField<global::JNFrameInput>();
|
|
|
|
/// <summary>
|
|
|
|
///输入列表
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public pbc::RepeatedField<global::JNFrameInput> Inputs {
|
|
|
|
get { return inputs_; }
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
return Equals(other as JNFrameInputs);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool Equals(JNFrameInputs other) {
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if(!inputs_.Equals(other.inputs_)) 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 ^= inputs_.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
|
|
|
|
inputs_.WriteTo(output, _repeated_inputs_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) {
|
|
|
|
inputs_.WriteTo(ref output, _repeated_inputs_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 += inputs_.CalculateSize(_repeated_inputs_codec);
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void MergeFrom(JNFrameInputs other) {
|
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
inputs_.Add(other.inputs_);
|
|
|
|
_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 10: {
|
|
|
|
inputs_.AddEntriesFrom(input, _repeated_inputs_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 10: {
|
|
|
|
inputs_.AddEntriesFrom(ref input, _repeated_inputs_codec);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///帧同步消息
|
|
|
|
/// </summary>
|
|
|
|
public sealed partial class JNFrameInfo : pb::IMessage<JNFrameInfo>
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
private static readonly pb::MessageParser<JNFrameInfo> _parser = new pb::MessageParser<JNFrameInfo>(() => new JNFrameInfo());
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pb::MessageParser<JNFrameInfo> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[4]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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 JNFrameInfo() {
|
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNFrameInfo(JNFrameInfo other) : this() {
|
|
|
|
index_ = other.index_;
|
|
|
|
messages_ = other.messages_.Clone();
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNFrameInfo Clone() {
|
|
|
|
return new JNFrameInfo(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "index" field.</summary>
|
|
|
|
public const int IndexFieldNumber = 1;
|
|
|
|
private int index_;
|
|
|
|
/// <summary>
|
|
|
|
///帧数
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int Index {
|
|
|
|
get { return index_; }
|
|
|
|
set {
|
|
|
|
index_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "messages" field.</summary>
|
|
|
|
public const int MessagesFieldNumber = 2;
|
|
|
|
private static readonly pb::FieldCodec<global::JNFrameInput> _repeated_messages_codec
|
|
|
|
= pb::FieldCodec.ForMessage(18, global::JNFrameInput.Parser);
|
|
|
|
private readonly pbc::RepeatedField<global::JNFrameInput> messages_ = new pbc::RepeatedField<global::JNFrameInput>();
|
|
|
|
/// <summary>
|
|
|
|
///消息bytes
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public pbc::RepeatedField<global::JNFrameInput> Messages {
|
|
|
|
get { return messages_; }
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
return Equals(other as JNFrameInfo);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool Equals(JNFrameInfo other) {
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (Index != other.Index) return false;
|
|
|
|
if(!messages_.Equals(other.messages_)) 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 (Index != 0) hash ^= Index.GetHashCode();
|
|
|
|
hash ^= messages_.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 (Index != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(Index);
|
|
|
|
}
|
|
|
|
messages_.WriteTo(output, _repeated_messages_codec);
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
if (Index != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(Index);
|
|
|
|
}
|
|
|
|
messages_.WriteTo(ref output, _repeated_messages_codec);
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int CalculateSize() {
|
|
|
|
int size = 0;
|
|
|
|
if (Index != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index);
|
|
|
|
}
|
|
|
|
size += messages_.CalculateSize(_repeated_messages_codec);
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void MergeFrom(JNFrameInfo other) {
|
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.Index != 0) {
|
|
|
|
Index = other.Index;
|
|
|
|
}
|
|
|
|
messages_.Add(other.messages_);
|
|
|
|
_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
Index = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
messages_.AddEntriesFrom(input, _repeated_messages_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
Index = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
messages_.AddEntriesFrom(ref input, _repeated_messages_codec);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///帧同步集合
|
|
|
|
/// </summary>
|
|
|
|
public sealed partial class JNFrameInfos : pb::IMessage<JNFrameInfos>
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
private static readonly pb::MessageParser<JNFrameInfos> _parser = new pb::MessageParser<JNFrameInfos>(() => new JNFrameInfos());
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pb::MessageParser<JNFrameInfos> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[5]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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 JNFrameInfos() {
|
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNFrameInfos(JNFrameInfos other) : this() {
|
|
|
|
frames_ = other.frames_.Clone();
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNFrameInfos Clone() {
|
|
|
|
return new JNFrameInfos(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "frames" field.</summary>
|
|
|
|
public const int FramesFieldNumber = 1;
|
|
|
|
private static readonly pb::FieldCodec<global::JNFrameInfo> _repeated_frames_codec
|
|
|
|
= pb::FieldCodec.ForMessage(10, global::JNFrameInfo.Parser);
|
|
|
|
private readonly pbc::RepeatedField<global::JNFrameInfo> frames_ = new pbc::RepeatedField<global::JNFrameInfo>();
|
|
|
|
/// <summary>
|
|
|
|
///帧数集
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public pbc::RepeatedField<global::JNFrameInfo> Frames {
|
|
|
|
get { return frames_; }
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
return Equals(other as JNFrameInfos);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool Equals(JNFrameInfos other) {
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if(!frames_.Equals(other.frames_)) return false;
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override int GetHashCode() {
|
|
|
|
int hash = 1;
|
|
|
|
hash ^= frames_.GetHashCode();
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
}
|
|
|
|
return hash;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override string ToString() {
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
#else
|
|
|
|
frames_.WriteTo(output, _repeated_frames_codec);
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
frames_.WriteTo(ref output, _repeated_frames_codec);
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int CalculateSize() {
|
|
|
|
int size = 0;
|
|
|
|
size += frames_.CalculateSize(_repeated_frames_codec);
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void MergeFrom(JNFrameInfos other) {
|
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
frames_.Add(other.frames_);
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
input.ReadRawMessage(this);
|
|
|
|
#else
|
|
|
|
uint tag;
|
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 10: {
|
|
|
|
frames_.AddEntriesFrom(input, _repeated_frames_codec);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
|
|
uint tag;
|
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 10: {
|
|
|
|
frames_.AddEntriesFrom(ref input, _repeated_frames_codec);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///帧同步输入
|
|
|
|
/// </summary>
|
|
|
|
public sealed partial class JNInput : pb::IMessage<JNInput>
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
private static readonly pb::MessageParser<JNInput> _parser = new pb::MessageParser<JNInput>(() => new JNInput());
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pb::MessageParser<JNInput> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[6]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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 JNInput() {
|
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNInput(JNInput other) : this() {
|
|
|
|
message_ = other.message_;
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNInput Clone() {
|
|
|
|
return new JNInput(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>Gets whether the "message" field is set</summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool HasMessage {
|
|
|
|
get { return message_ != null; }
|
|
|
|
}
|
|
|
|
/// <summary>Clears the value of the "message" field</summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void ClearMessage() {
|
|
|
|
message_ = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
return Equals(other as JNInput);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool Equals(JNInput 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 (HasMessage) 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 (HasMessage) {
|
|
|
|
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 (HasMessage) {
|
|
|
|
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 (HasMessage) {
|
|
|
|
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(JNInput other) {
|
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.HasMessage) {
|
|
|
|
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) {
|
|
|
|
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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 10: {
|
|
|
|
Message = input.ReadString();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// ---------------------- 状态同步 --------------------------
|
|
|
|
/// 状态数据
|
|
|
|
/// </summary>
|
|
|
|
public sealed partial class JNStateData : pb::IMessage<JNStateData>
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
private static readonly pb::MessageParser<JNStateData> _parser = new pb::MessageParser<JNStateData>(() => new JNStateData());
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pb::MessageParser<JNStateData> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[7]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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 JNStateData() {
|
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNStateData(JNStateData other) : this() {
|
|
|
|
data_ = other.data_;
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNStateData Clone() {
|
|
|
|
return new JNStateData(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "data" field.</summary>
|
|
|
|
public const int DataFieldNumber = 2;
|
|
|
|
private pb::ByteString data_;
|
|
|
|
/// <summary>
|
|
|
|
///数据
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public pb::ByteString Data {
|
|
|
|
get { return data_ ?? pb::ByteString.Empty; }
|
|
|
|
set {
|
|
|
|
data_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>Gets whether the "data" field is set</summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool HasData {
|
|
|
|
get { return data_ != null; }
|
|
|
|
}
|
|
|
|
/// <summary>Clears the value of the "data" field</summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void ClearData() {
|
|
|
|
data_ = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
return Equals(other as JNStateData);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool Equals(JNStateData other) {
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (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 (HasData) 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 (HasData) {
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
output.WriteBytes(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 (HasData) {
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
output.WriteBytes(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 (HasData) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data);
|
|
|
|
}
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void MergeFrom(JNStateData other) {
|
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.HasData) {
|
|
|
|
Data = 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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 18: {
|
|
|
|
Data = input.ReadBytes();
|
|
|
|
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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 18: {
|
|
|
|
Data = input.ReadBytes();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
2024-08-22 20:37:39 +08:00
|
|
|
/// 更新状态
|
2024-08-17 14:27:18 +08:00
|
|
|
/// </summary>
|
2024-08-22 20:37:39 +08:00
|
|
|
public sealed partial class JNStateItemData : pb::IMessage<JNStateItemData>
|
2024-08-17 14:27:18 +08:00
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
2024-08-22 20:37:39 +08:00
|
|
|
private static readonly pb::MessageParser<JNStateItemData> _parser = new pb::MessageParser<JNStateItemData>(() => new JNStateItemData());
|
2024-08-17 14:27:18 +08:00
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public static pb::MessageParser<JNStateItemData> Parser { get { return _parser; } }
|
2024-08-17 14:27:18 +08:00
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[8]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public JNStateItemData() {
|
2024-08-17 14:27:18 +08:00
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public JNStateItemData(JNStateItemData other) : this() {
|
2024-08-17 14:27:18 +08:00
|
|
|
netID_ = other.netID_;
|
|
|
|
messages_ = other.messages_.Clone();
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public JNStateItemData Clone() {
|
|
|
|
return new JNStateItemData(this);
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "NetID" field.</summary>
|
|
|
|
public const int NetIDFieldNumber = 1;
|
|
|
|
private int netID_;
|
|
|
|
/// <summary>
|
|
|
|
///同步Id
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int NetID {
|
|
|
|
get { return netID_; }
|
|
|
|
set {
|
|
|
|
netID_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "messages" field.</summary>
|
|
|
|
public const int MessagesFieldNumber = 2;
|
2024-08-23 10:48:19 +08:00
|
|
|
private static readonly pbc::MapField<ulong, global::JNStateData>.Codec _map_messages_codec
|
|
|
|
= new pbc::MapField<ulong, global::JNStateData>.Codec(pb::FieldCodec.ForUInt64(8, 0UL), pb::FieldCodec.ForMessage(18, global::JNStateData.Parser), 18);
|
|
|
|
private readonly pbc::MapField<ulong, global::JNStateData> messages_ = new pbc::MapField<ulong, global::JNStateData>();
|
2024-08-17 14:27:18 +08:00
|
|
|
/// <summary>
|
|
|
|
///状态bytes
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-23 10:48:19 +08:00
|
|
|
public pbc::MapField<ulong, global::JNStateData> Messages {
|
2024-08-17 14:27:18 +08:00
|
|
|
get { return messages_; }
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
2024-08-22 20:37:39 +08:00
|
|
|
return Equals(other as JNStateItemData);
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public bool Equals(JNStateItemData other) {
|
2024-08-17 14:27:18 +08:00
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (NetID != other.NetID) return false;
|
|
|
|
if (!Messages.Equals(other.Messages)) 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 (NetID != 0) hash ^= NetID.GetHashCode();
|
|
|
|
hash ^= Messages.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 (NetID != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(NetID);
|
|
|
|
}
|
|
|
|
messages_.WriteTo(output, _map_messages_codec);
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
if (NetID != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(NetID);
|
|
|
|
}
|
|
|
|
messages_.WriteTo(ref output, _map_messages_codec);
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int CalculateSize() {
|
|
|
|
int size = 0;
|
|
|
|
if (NetID != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(NetID);
|
|
|
|
}
|
|
|
|
size += messages_.CalculateSize(_map_messages_codec);
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public void MergeFrom(JNStateItemData other) {
|
2024-08-17 14:27:18 +08:00
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.NetID != 0) {
|
|
|
|
NetID = other.NetID;
|
|
|
|
}
|
|
|
|
messages_.Add(other.messages_);
|
|
|
|
_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
NetID = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
messages_.AddEntriesFrom(input, _map_messages_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
NetID = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
messages_.AddEntriesFrom(ref input, _map_messages_codec);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
2024-08-22 20:37:39 +08:00
|
|
|
/// 全量状态
|
2024-08-17 14:27:18 +08:00
|
|
|
/// </summary>
|
2024-08-22 20:37:39 +08:00
|
|
|
public sealed partial class JNStateAllData : pb::IMessage<JNStateAllData>
|
2024-08-17 14:27:18 +08:00
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
2024-08-22 20:37:39 +08:00
|
|
|
private static readonly pb::MessageParser<JNStateAllData> _parser = new pb::MessageParser<JNStateAllData>(() => new JNStateAllData());
|
2024-08-17 14:27:18 +08:00
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public static pb::MessageParser<JNStateAllData> Parser { get { return _parser; } }
|
2024-08-17 14:27:18 +08:00
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[9]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public JNStateAllData() {
|
2024-08-17 14:27:18 +08:00
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public JNStateAllData(JNStateAllData other) : this() {
|
|
|
|
data_ = other.data_.Clone();
|
2024-08-17 14:27:18 +08:00
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public JNStateAllData Clone() {
|
|
|
|
return new JNStateAllData(this);
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
2024-08-22 20:37:39 +08:00
|
|
|
/// <summary>Field number for the "data" field.</summary>
|
|
|
|
public const int DataFieldNumber = 2;
|
|
|
|
private static readonly pb::FieldCodec<global::JNStateItemData> _repeated_data_codec
|
|
|
|
= pb::FieldCodec.ForMessage(18, global::JNStateItemData.Parser);
|
|
|
|
private readonly pbc::RepeatedField<global::JNStateItemData> data_ = new pbc::RepeatedField<global::JNStateItemData>();
|
2024-08-17 14:27:18 +08:00
|
|
|
/// <summary>
|
2024-08-22 20:37:39 +08:00
|
|
|
///数据
|
2024-08-17 14:27:18 +08:00
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public pbc::RepeatedField<global::JNStateItemData> Data {
|
|
|
|
get { return data_; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
2024-08-22 20:37:39 +08:00
|
|
|
return Equals(other as JNStateAllData);
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public bool Equals(JNStateAllData other) {
|
2024-08-17 14:27:18 +08:00
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
2024-08-22 20:37:39 +08:00
|
|
|
if(!data_.Equals(other.data_)) return false;
|
2024-08-17 14:27:18 +08:00
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override int GetHashCode() {
|
|
|
|
int hash = 1;
|
2024-08-22 20:37:39 +08:00
|
|
|
hash ^= data_.GetHashCode();
|
2024-08-17 14:27:18 +08:00
|
|
|
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
|
2024-08-22 20:37:39 +08:00
|
|
|
data_.WriteTo(output, _repeated_data_codec);
|
2024-08-17 14:27:18 +08:00
|
|
|
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) {
|
2024-08-22 20:37:39 +08:00
|
|
|
data_.WriteTo(ref output, _repeated_data_codec);
|
2024-08-17 14:27:18 +08:00
|
|
|
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;
|
2024-08-22 20:37:39 +08:00
|
|
|
size += data_.CalculateSize(_repeated_data_codec);
|
2024-08-17 14:27:18 +08:00
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public void MergeFrom(JNStateAllData other) {
|
2024-08-17 14:27:18 +08:00
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
2024-08-22 20:37:39 +08:00
|
|
|
data_.Add(other.data_);
|
2024-08-17 14:27:18 +08:00
|
|
|
_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 18: {
|
2024-08-22 20:37:39 +08:00
|
|
|
data_.AddEntriesFrom(input, _repeated_data_codec);
|
2024-08-17 14:27:18 +08:00
|
|
|
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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 18: {
|
2024-08-22 20:37:39 +08:00
|
|
|
data_.AddEntriesFrom(ref input, _repeated_data_codec);
|
2024-08-17 14:27:18 +08:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// --------------------- 状态Tile同步 -----------------------
|
|
|
|
/// 状态Tile输入
|
|
|
|
/// </summary>
|
|
|
|
public sealed partial class JNStateTileInputs : pb::IMessage<JNStateTileInputs>
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
private static readonly pb::MessageParser<JNStateTileInputs> _parser = new pb::MessageParser<JNStateTileInputs>(() => new JNStateTileInputs());
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pb::MessageParser<JNStateTileInputs> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[10]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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 JNStateTileInputs() {
|
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNStateTileInputs(JNStateTileInputs other) : this() {
|
|
|
|
tId_ = other.tId_;
|
|
|
|
message_ = other.message_ != null ? other.message_.Clone() : null;
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNStateTileInputs Clone() {
|
|
|
|
return new JNStateTileInputs(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "tId" field.</summary>
|
|
|
|
public const int TIdFieldNumber = 1;
|
|
|
|
private int tId_;
|
|
|
|
/// <summary>
|
|
|
|
///区块Id
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int TId {
|
|
|
|
get { return tId_; }
|
|
|
|
set {
|
|
|
|
tId_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "message" field.</summary>
|
|
|
|
public const int MessageFieldNumber = 2;
|
|
|
|
private global::JNFrameInputs message_;
|
|
|
|
/// <summary>
|
|
|
|
///inputs
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public global::JNFrameInputs Message {
|
|
|
|
get { return message_; }
|
|
|
|
set {
|
|
|
|
message_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
return Equals(other as JNStateTileInputs);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool Equals(JNStateTileInputs other) {
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (TId != other.TId) return false;
|
|
|
|
if (!object.Equals(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 (TId != 0) hash ^= TId.GetHashCode();
|
|
|
|
if (message_ != null) 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 (TId != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(TId);
|
|
|
|
}
|
|
|
|
if (message_ != null) {
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
output.WriteMessage(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 (TId != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(TId);
|
|
|
|
}
|
|
|
|
if (message_ != null) {
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
output.WriteMessage(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 (TId != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TId);
|
|
|
|
}
|
|
|
|
if (message_ != null) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message);
|
|
|
|
}
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void MergeFrom(JNStateTileInputs other) {
|
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.TId != 0) {
|
|
|
|
TId = other.TId;
|
|
|
|
}
|
|
|
|
if (other.message_ != null) {
|
|
|
|
if (message_ == null) {
|
|
|
|
Message = new global::JNFrameInputs();
|
|
|
|
}
|
|
|
|
Message.MergeFrom(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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
TId = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
if (message_ == null) {
|
|
|
|
Message = new global::JNFrameInputs();
|
|
|
|
}
|
|
|
|
input.ReadMessage(Message);
|
|
|
|
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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
TId = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
if (message_ == null) {
|
|
|
|
Message = new global::JNFrameInputs();
|
|
|
|
}
|
|
|
|
input.ReadMessage(Message);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
2024-08-22 20:37:39 +08:00
|
|
|
/// Tile更新全量状态
|
2024-08-17 14:27:18 +08:00
|
|
|
/// </summary>
|
2024-08-22 20:37:39 +08:00
|
|
|
public sealed partial class JNStateTileAllData : pb::IMessage<JNStateTileAllData>
|
2024-08-17 14:27:18 +08:00
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
2024-08-22 20:37:39 +08:00
|
|
|
private static readonly pb::MessageParser<JNStateTileAllData> _parser = new pb::MessageParser<JNStateTileAllData>(() => new JNStateTileAllData());
|
2024-08-17 14:27:18 +08:00
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public static pb::MessageParser<JNStateTileAllData> Parser { get { return _parser; } }
|
2024-08-17 14:27:18 +08:00
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[11]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public JNStateTileAllData() {
|
2024-08-17 14:27:18 +08:00
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public JNStateTileAllData(JNStateTileAllData other) : this() {
|
2024-08-17 14:27:18 +08:00
|
|
|
tId_ = other.tId_;
|
|
|
|
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)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public JNStateTileAllData Clone() {
|
|
|
|
return new JNStateTileAllData(this);
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "tId" field.</summary>
|
|
|
|
public const int TIdFieldNumber = 1;
|
|
|
|
private int tId_;
|
|
|
|
/// <summary>
|
|
|
|
///区块Id
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int TId {
|
|
|
|
get { return tId_; }
|
|
|
|
set {
|
|
|
|
tId_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "data" field.</summary>
|
|
|
|
public const int DataFieldNumber = 2;
|
2024-08-22 20:37:39 +08:00
|
|
|
private global::JNStateAllData data_;
|
2024-08-17 14:27:18 +08:00
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public global::JNStateAllData Data {
|
2024-08-17 14:27:18 +08:00
|
|
|
get { return data_; }
|
|
|
|
set {
|
|
|
|
data_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
2024-08-22 20:37:39 +08:00
|
|
|
return Equals(other as JNStateTileAllData);
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public bool Equals(JNStateTileAllData other) {
|
2024-08-17 14:27:18 +08:00
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (TId != other.TId) 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 (TId != 0) hash ^= TId.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 (TId != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(TId);
|
|
|
|
}
|
|
|
|
if (data_ != null) {
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
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 (TId != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(TId);
|
|
|
|
}
|
|
|
|
if (data_ != null) {
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
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 (TId != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TId);
|
|
|
|
}
|
|
|
|
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)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public void MergeFrom(JNStateTileAllData other) {
|
2024-08-17 14:27:18 +08:00
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.TId != 0) {
|
|
|
|
TId = other.TId;
|
|
|
|
}
|
|
|
|
if (other.data_ != null) {
|
|
|
|
if (data_ == null) {
|
2024-08-22 20:37:39 +08:00
|
|
|
Data = new global::JNStateAllData();
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
TId = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
if (data_ == null) {
|
2024-08-22 20:37:39 +08:00
|
|
|
Data = new global::JNStateAllData();
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
TId = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
if (data_ == null) {
|
2024-08-22 20:37:39 +08:00
|
|
|
Data = new global::JNStateAllData();
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
input.ReadMessage(Data);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
2024-08-22 20:37:39 +08:00
|
|
|
/// 获取指定区块的全量数据
|
2024-08-17 14:27:18 +08:00
|
|
|
/// </summary>
|
2024-08-22 20:37:39 +08:00
|
|
|
public sealed partial class NSyncTileGetTileInfoRequest : pb::IMessage<NSyncTileGetTileInfoRequest>
|
2024-08-17 14:27:18 +08:00
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
2024-08-22 20:37:39 +08:00
|
|
|
private static readonly pb::MessageParser<NSyncTileGetTileInfoRequest> _parser = new pb::MessageParser<NSyncTileGetTileInfoRequest>(() => new NSyncTileGetTileInfoRequest());
|
2024-08-17 14:27:18 +08:00
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public static pb::MessageParser<NSyncTileGetTileInfoRequest> Parser { get { return _parser; } }
|
2024-08-17 14:27:18 +08:00
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[12]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public NSyncTileGetTileInfoRequest() {
|
2024-08-17 14:27:18 +08:00
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public NSyncTileGetTileInfoRequest(NSyncTileGetTileInfoRequest other) : this() {
|
2024-08-17 14:27:18 +08:00
|
|
|
tId_ = other.tId_;
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public NSyncTileGetTileInfoRequest Clone() {
|
|
|
|
return new NSyncTileGetTileInfoRequest(this);
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "tId" field.</summary>
|
|
|
|
public const int TIdFieldNumber = 1;
|
|
|
|
private int tId_;
|
|
|
|
/// <summary>
|
|
|
|
///区块Id
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int TId {
|
|
|
|
get { return tId_; }
|
|
|
|
set {
|
|
|
|
tId_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
2024-08-22 20:37:39 +08:00
|
|
|
return Equals(other as NSyncTileGetTileInfoRequest);
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public bool Equals(NSyncTileGetTileInfoRequest other) {
|
2024-08-17 14:27:18 +08:00
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (TId != other.TId) 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 (TId != 0) hash ^= TId.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 (TId != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(TId);
|
|
|
|
}
|
|
|
|
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 (TId != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(TId);
|
|
|
|
}
|
|
|
|
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 (TId != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TId);
|
|
|
|
}
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
2024-08-22 20:37:39 +08:00
|
|
|
public void MergeFrom(NSyncTileGetTileInfoRequest other) {
|
2024-08-17 14:27:18 +08:00
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.TId != 0) {
|
|
|
|
TId = other.TId;
|
|
|
|
}
|
|
|
|
_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
TId = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
|
|
uint tag;
|
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
TId = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///Tile服务器区块信息
|
|
|
|
/// </summary>
|
|
|
|
public sealed partial class JNAddTileServer : pb::IMessage<JNAddTileServer>
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
, pb::IBufferMessage
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
private static readonly pb::MessageParser<JNAddTileServer> _parser = new pb::MessageParser<JNAddTileServer>(() => new JNAddTileServer());
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pb::MessageParser<JNAddTileServer> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-08-21 16:18:52 +08:00
|
|
|
get { return global::JNSyncMessageReflection.Descriptor.MessageTypes[13]; }
|
2024-08-17 14:27:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
[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 JNAddTileServer() {
|
|
|
|
OnConstruction();
|
|
|
|
}
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNAddTileServer(JNAddTileServer other) : this() {
|
|
|
|
tile_ = other.tile_;
|
|
|
|
ip_ = other.ip_;
|
|
|
|
port_ = other.port_;
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public JNAddTileServer Clone() {
|
|
|
|
return new JNAddTileServer(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "tile" field.</summary>
|
|
|
|
public const int TileFieldNumber = 1;
|
|
|
|
private int tile_;
|
|
|
|
/// <summary>
|
|
|
|
///TileId
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int Tile {
|
|
|
|
get { return tile_; }
|
|
|
|
set {
|
|
|
|
tile_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "ip" field.</summary>
|
|
|
|
public const int IpFieldNumber = 2;
|
|
|
|
private string ip_ = "";
|
|
|
|
/// <summary>
|
|
|
|
///IP
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public string Ip {
|
|
|
|
get { return ip_; }
|
|
|
|
set {
|
|
|
|
ip_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>Field number for the "port" field.</summary>
|
|
|
|
public const int PortFieldNumber = 3;
|
|
|
|
private int port_;
|
|
|
|
/// <summary>
|
|
|
|
///端口
|
|
|
|
/// </summary>
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public int Port {
|
|
|
|
get { return port_; }
|
|
|
|
set {
|
|
|
|
port_ = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
return Equals(other as JNAddTileServer);
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public bool Equals(JNAddTileServer other) {
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (Tile != other.Tile) return false;
|
|
|
|
if (Ip != other.Ip) return false;
|
|
|
|
if (Port != other.Port) 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 (Tile != 0) hash ^= Tile.GetHashCode();
|
|
|
|
if (Ip.Length != 0) hash ^= Ip.GetHashCode();
|
|
|
|
if (Port != 0) hash ^= Port.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 (Tile != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(Tile);
|
|
|
|
}
|
|
|
|
if (Ip.Length != 0) {
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
output.WriteString(Ip);
|
|
|
|
}
|
|
|
|
if (Port != 0) {
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
output.WriteInt32(Port);
|
|
|
|
}
|
|
|
|
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 (Tile != 0) {
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
output.WriteInt32(Tile);
|
|
|
|
}
|
|
|
|
if (Ip.Length != 0) {
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
output.WriteString(Ip);
|
|
|
|
}
|
|
|
|
if (Port != 0) {
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
output.WriteInt32(Port);
|
|
|
|
}
|
|
|
|
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 (Tile != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Tile);
|
|
|
|
}
|
|
|
|
if (Ip.Length != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Ip);
|
|
|
|
}
|
|
|
|
if (Port != 0) {
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port);
|
|
|
|
}
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
}
|
|
|
|
return size;
|
|
|
|
}
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
public void MergeFrom(JNAddTileServer other) {
|
|
|
|
if (other == null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (other.Tile != 0) {
|
|
|
|
Tile = other.Tile;
|
|
|
|
}
|
|
|
|
if (other.Ip.Length != 0) {
|
|
|
|
Ip = other.Ip;
|
|
|
|
}
|
|
|
|
if (other.Port != 0) {
|
|
|
|
Port = other.Port;
|
|
|
|
}
|
|
|
|
_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) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
Tile = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
Ip = input.ReadString();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 24: {
|
|
|
|
Port = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
|
|
uint tag;
|
|
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
|
|
switch(tag) {
|
|
|
|
default:
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
|
|
break;
|
|
|
|
case 8: {
|
|
|
|
Tile = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 18: {
|
|
|
|
Ip = input.ReadString();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case 24: {
|
|
|
|
Port = input.ReadInt32();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
#endregion Designer generated code
|