2024-06-28 17:43:55 +08:00
|
|
|
|
// <auto-generated>
|
|
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
|
// source: protobuf_AxibugEmuOnline.proto
|
|
|
|
|
// </auto-generated>
|
|
|
|
|
#pragma warning disable 1591, 0612, 3021
|
|
|
|
|
#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;
|
|
|
|
|
namespace AxibugProtobuf {
|
|
|
|
|
|
|
|
|
|
/// <summary>Holder for reflection information generated from protobuf_AxibugEmuOnline.proto</summary>
|
|
|
|
|
public static partial class ProtobufAxibugEmuOnlineReflection {
|
|
|
|
|
|
|
|
|
|
#region Descriptor
|
|
|
|
|
/// <summary>File descriptor for protobuf_AxibugEmuOnline.proto</summary>
|
|
|
|
|
public static pbr::FileDescriptor Descriptor {
|
|
|
|
|
get { return descriptor; }
|
|
|
|
|
}
|
|
|
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
|
|
|
|
|
|
static ProtobufAxibugEmuOnlineReflection() {
|
|
|
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
|
|
|
string.Concat(
|
|
|
|
|
"Ch5wcm90b2J1Zl9BeGlidWdFbXVPbmxpbmUucHJvdG8SDkF4aWJ1Z1Byb3Rv",
|
|
|
|
|
"YnVmIiMKEFByb3RvYnVmX0NoYXRNc2cSDwoHQ2hhdE1zZxgBIAEoCSJIChVQ",
|
|
|
|
|
"cm90b2J1Zl9DaGF0TXNnX1JFU1ASEAoITmlja05hbWUYASABKAkSDwoHQ2hh",
|
2024-08-21 11:04:53 +08:00
|
|
|
|
"dE1zZxgCIAEoCRIMCgREYXRlGAMgASgDIh0KDVByb3RvYnVmX1BpbmcSDAoE",
|
2024-11-28 16:55:12 +08:00
|
|
|
|
"U2VlZBgBIAEoBSIdCg1Qcm90b2J1Zl9Qb25nEgwKBFNlZWQYASABKAUipAEK",
|
2024-08-21 11:04:53 +08:00
|
|
|
|
"DlByb3RvYnVmX0xvZ2luEiwKCWxvZ2luVHlwZRgBIAEoDjIZLkF4aWJ1Z1By",
|
|
|
|
|
"b3RvYnVmLkxvZ2luVHlwZRIuCgpkZXZpY2VUeXBlGAIgASgOMhouQXhpYnVn",
|
2024-11-28 16:55:12 +08:00
|
|
|
|
"UHJvdG9idWYuRGV2aWNlVHlwZRIRCglkZXZpY2VTdHIYAyABKAkSDwoHQWNj",
|
|
|
|
|
"b3VudBgEIAEoCRIQCghQYXNzd29yZBgFIAEoCSKeAQoTUHJvdG9idWZfTG9n",
|
|
|
|
|
"aW5fUkVTUBIQCghOaWNrTmFtZRgBIAEoCRINCgVUb2tlbhgCIAEoCRIVCg1M",
|
|
|
|
|
"YXN0TG9naW5EYXRlGAMgASgJEg8KB1JlZ0RhdGUYBCABKAkSMQoGU3RhdHVz",
|
|
|
|
|
"GAUgASgOMiEuQXhpYnVnUHJvdG9idWYuTG9naW5SZXN1bHRTdGF0dXMSCwoD",
|
|
|
|
|
"VUlEGAYgASgDIhMKEVByb3RvYnVmX1VzZXJMaXN0IlsKFlByb3RvYnVmX1Vz",
|
|
|
|
|
"ZXJMaXN0X1JFU1ASEQoJVXNlckNvdW50GAEgASgFEi4KCFVzZXJMaXN0GAIg",
|
|
|
|
|
"AygLMhwuQXhpYnVnUHJvdG9idWYuVXNlck1pbmlJbmZvIkgKFlByb3RvYnVm",
|
|
|
|
|
"X1VzZXJKb2luX1JFU1ASLgoIVXNlckluZm8YASABKAsyHC5BeGlidWdQcm90",
|
|
|
|
|
"b2J1Zi5Vc2VyTWluaUluZm8iJgoXUHJvdG9idWZfVXNlckxlYXZlX1JFU1AS",
|
|
|
|
|
"CwoDVUlEGAEgASgDIjUKF1Byb3RvYnVmX1VzZXJTdGF0ZV9SRVNQEgsKA1VJ",
|
|
|
|
|
"RBgBIAEoAxINCgVTdGF0ZRgCIAEoBSItCgxVc2VyTWluaUluZm8SCwoDVUlE",
|
|
|
|
|
"GAEgASgDEhAKCE5pY2tOYW1lGAIgASgJIiwKGFByb3RvYnVmX01vZGlmeV9O",
|
|
|
|
|
"aWNrTmFtZRIQCghOaWNrTmFtZRgBIAEoCSIfCh1Qcm90b2J1Zl9Nb2RpZnlf",
|
|
|
|
|
"Tmlja05hbWVfUkVTUCJPCh1Qcm90b2J1Zl9VcGRhdGVfVXNlckluZm9fUkVT",
|
|
|
|
|
"UBIuCghVc2VySW5mbxgBIAEoCzIcLkF4aWJ1Z1Byb3RvYnVmLlVzZXJNaW5p",
|
|
|
|
|
"SW5mbyJhCiJQcm90b2J1Zl9VcGRhdGVfT3RoZXJVc2VySW5mb19SRVNQEgsK",
|
|
|
|
|
"A1VJRBgBIAEoAxIuCghVc2VySW5mbxgCIAEoCzIcLkF4aWJ1Z1Byb3RvYnVm",
|
|
|
|
|
"LlVzZXJNaW5pSW5mbyIUChJQcm90b2J1Zl9Sb29tX0xpc3QiWwoXUHJvdG9i",
|
|
|
|
|
"dWZfUm9vbV9MaXN0X1JFU1ASQAoQUm9vbU1pbmlJbmZvTGlzdBgBIAMoCzIm",
|
|
|
|
|
"LkF4aWJ1Z1Byb3RvYnVmLlByb3RvYnVmX1Jvb21fTWluaUluZm8ihgMKFlBy",
|
|
|
|
|
"b3RvYnVmX1Jvb21fTWluaUluZm8SDgoGUm9vbUlEGAEgASgFEhEKCUdhbWVS",
|
|
|
|
|
"b21JRBgCIAEoBRITCgtHYW1lUm9tSGFzaBgDIAEoCRIVCg1Ib3N0UGxheWVy",
|
|
|
|
|
"VUlEGAQgASgDEjAKCUdhbWVTdGF0ZRgFIAEoDjIdLkF4aWJ1Z1Byb3RvYnVm",
|
|
|
|
|
"LlJvb21HYW1lU3RhdGUSFAoMT2JzVXNlckNvdW50GAYgASgFEhMKC1BsYXll",
|
|
|
|
|
"cjFfVUlEGAcgASgDEhgKEFBsYXllcjFfTmlja05hbWUYCCABKAkSEwoLUGxh",
|
|
|
|
|
"eWVyMl9VSUQYCSABKAMSGAoQUGxheWVyMl9OaWNrTmFtZRgKIAEoCRITCgtQ",
|
|
|
|
|
"bGF5ZXIzX1VJRBgLIAEoAxIYChBQbGF5ZXIzX05pY2tOYW1lGAwgASgJEhMK",
|
|
|
|
|
"C1BsYXllcjRfVUlEGA0gASgDEhgKEFBsYXllcjRfTmlja05hbWUYDiABKAkS",
|
|
|
|
|
"GQoRU2NyZWVuUHJvdmlkZXJVSUQYDyABKAMibQoZUHJvdG9idWZfUm9vbV9V",
|
|
|
|
|
"cGRhdGVfUkVTUBISCgpVcGRhdGVUeXBlGAEgASgFEjwKDFJvb21NaW5pSW5m",
|
|
|
|
|
"bxgCIAEoCzImLkF4aWJ1Z1Byb3RvYnVmLlByb3RvYnVmX1Jvb21fTWluaUlu",
|
|
|
|
|
"Zm8iSwoVUHJvdG9idWZfU2NyZW5uX0ZyYW1lEg4KBlJvb21JRBgBIAEoBRIP",
|
|
|
|
|
"CgdGcmFtZUlEGAIgASgFEhEKCVJhd0JpdG1hcBgDIAEoDCJJCiNQcm90b2J1",
|
|
|
|
|
"Zl9Sb29tX1NpbmdsZVBsYXllcklucHV0RGF0YRIPCgdGcmFtZUlEGAEgASgN",
|
2024-12-04 13:54:30 +08:00
|
|
|
|
"EhEKCUlucHV0RGF0YRgCIAEoDSKAAQonUHJvdG9idWZfUm9vbV9TeW5fUm9v",
|
|
|
|
|
"bUZyYW1lQWxsSW5wdXREYXRhEg8KB0ZyYW1lSUQYASABKA0SEQoJSW5wdXRE",
|
|
|
|
|
"YXRhGAIgASgEEhUKDVNlcnZlckZyYW1lSUQYAyABKA0SGgoSU2VydmVyRm9y",
|
|
|
|
|
"d2FyZENvdW50GAQgASgNIlUKFFByb3RvYnVmX1Jvb21fQ3JlYXRlEhEKCUdh",
|
|
|
|
|
"bWVSb21JRBgBIAEoBRITCgtHYW1lUm9tSGFzaBgCIAEoCRIVCg1Kb2luUGxh",
|
|
|
|
|
"eWVySWR4GAMgASgFIlkKGVByb3RvYnVmX1Jvb21fQ3JlYXRlX1JFU1ASPAoM",
|
|
|
|
|
"Um9vbU1pbmlJbmZvGAEgASgLMiYuQXhpYnVnUHJvdG9idWYuUHJvdG9idWZf",
|
|
|
|
|
"Um9vbV9NaW5pSW5mbyI3ChJQcm90b2J1Zl9Sb29tX0pvaW4SDgoGUm9vbUlE",
|
|
|
|
|
"GAEgASgFEhEKCVBsYXllck51bRgCIAEoBSJXChdQcm90b2J1Zl9Sb29tX0pv",
|
|
|
|
|
"aW5fUkVTUBI8CgxSb29tTWluaUluZm8YASABKAsyJi5BeGlidWdQcm90b2J1",
|
|
|
|
|
"Zi5Qcm90b2J1Zl9Sb29tX01pbmlJbmZvIiUKE1Byb3RvYnVmX1Jvb21fTGVh",
|
|
|
|
|
"dmUSDgoGUm9vbUlEGAEgASgFIioKGFByb3RvYnVmX1Jvb21fTGVhdmVfUkVT",
|
|
|
|
|
"UBIOCgZSb29tSUQYASABKAUiYQohUHJvdG9idWZfUm9vbV9NeVJvb21fU3Rh",
|
|
|
|
|
"dGVfQ2hhbmdlEjwKDFJvb21NaW5pSW5mbxgBIAEoCzImLkF4aWJ1Z1Byb3Rv",
|
|
|
|
|
"YnVmLlByb3RvYnVmX1Jvb21fTWluaUluZm8iRQobUHJvdG9idWZfUm9vbV9X",
|
|
|
|
|
"YWl0U3RlcF9SRVNQEhAKCFdhaXRTdGVwGAEgASgFEhQKDExvYWRTdGF0ZVJh",
|
|
|
|
|
"dxgCIAEoDCI/CidQcm90b2J1Zl9Sb29tX0hvc3RQbGF5ZXJfVXBkYXRlU3Rh",
|
|
|
|
|
"dGVSYXcSFAoMTG9hZFN0YXRlUmF3GAEgASgMIi4KLFByb3RvYnVmX1Jvb21f",
|
|
|
|
|
"SG9zdFBsYXllcl9VcGRhdGVTdGF0ZVJhd19SRVNQIhwKGlByb3RvYnVmX1Jv",
|
|
|
|
|
"b21fUGxheWVyX1JlYWR5IioKGFByb3RvYnVmX1Jvb21fR2V0X1NjcmVlbhIO",
|
|
|
|
|
"CgZSb29tSUQYASABKAUiUwodUHJvdG9idWZfUm9vbV9HZXRfU2NyZWVuX1JF",
|
|
|
|
|
"U1ASDgoGUm9vbUlEGAEgASgFEg8KB0ZyYW1lSUQYAiABKAUSEQoJUmF3Qml0",
|
|
|
|
|
"bWFwGAMgASgMImYKElByb3RvYnVmX0dhbWVfTWFyaxINCgVSb21JRBgBIAEo",
|
|
|
|
|
"BRINCgVzdGF0ZRgCIAEoBRIyCgxQbGF0Zm9ybVR5cGUYAyABKA4yHC5BeGli",
|
|
|
|
|
"dWdQcm90b2J1Zi5QbGF0Zm9ybVR5cGUiXAoXUHJvdG9idWZfR2FtZV9NYXJr",
|
|
|
|
|
"X1JFU1ASDQoFUm9tSUQYASABKAUSMgoMUGxhdGZvcm1UeXBlGAIgASgOMhwu",
|
|
|
|
|
"QXhpYnVnUHJvdG9idWYuUGxhdGZvcm1UeXBlKv4ECglDb21tYW5kSUQSDgoK",
|
|
|
|
|
"Q01EX0RFRkFVTBAAEgwKCENNRF9QSU5HEAESDAoIQ01EX1BPTkcQAhIOCglD",
|
|
|
|
|
"TURfTE9HSU4Q0Q8SGAoTQ01EX1VTRVJfT05MSU5FTElTVBC4FxISCg1DTURf",
|
|
|
|
|
"VVNFUl9KT0lOENcXEhMKDkNNRF9VU0VSX0xFQVZFENgXEhoKFUNNRF9VU0VS",
|
|
|
|
|
"X1NUQVRFX1VQREFURRDZFxIYChNDTURfTW9kaWZ5X05pY2tOYW1lEJ0YEhwK",
|
|
|
|
|
"F0NNRF9VcGRhdGVfU2VsZlVzZXJJbmZvEKYYEh0KGENNRF9VcGRhdGVfT3Ro",
|
|
|
|
|
"ZXJVc2VySW5mbxCoGBIQCgtDTURfQ0hBVE1TRxChHxISCg1DTURfUm9vbV9M",
|
|
|
|
|
"aXN0EIknEhkKFENNRF9Sb29tX0xpc3RfVXBkYXRlEIonEhgKE0NNRF9Sb29t",
|
|
|
|
|
"X0dldF9TY3JlZW4QkycSFAoPQ01EX1Jvb21fQ3JlYXRlEO0nEhIKDUNNRF9S",
|
|
|
|
|
"b29tX0pvaW4Q8ScSEwoOQ01EX1Jvb21fTGVhdmUQ8icSIgodQ01EX1Jvb21f",
|
|
|
|
|
"TXlSb29tX1N0YXRlX0NoYW5nZWQQ9icSFgoRQ01EX1Jvb21fV2FpdFN0ZXAQ",
|
|
|
|
|
"0SgSJwoiQ01EX1Jvb21fSG9zdFBsYXllcl9VcGRhdGVTdGF0ZVJhdxDUKBIa",
|
|
|
|
|
"ChVDTURfUm9vbV9QbGF5ZXJfUmVhZHkQ2CgSIAobQ01EX1Jvb21fU2luZ2Vs",
|
|
|
|
|
"X1BsYXllcklucHV0EPouEh0KGENNRF9ST09NX1NZTl9QbGF5ZXJJbnB1dBD/",
|
|
|
|
|
"LhIPCgpDTURfU2NyZWVuENk2EhIKDUNNRF9HQU1FX01BUksQ9U4q0AEKCUVy",
|
|
|
|
|
"cm9yQ29kZRIQCgxFUlJPUl9ERUZBVUwQABIMCghFUlJPUl9PSxABEhgKFEVS",
|
|
|
|
|
"Uk9SX1JPT01fTk9UX0ZPVU5EEAoSJwojRVJST1JfUk9PTV9TTE9UX0FMUkVB",
|
|
|
|
|
"RExZX0hBRF9QTEFZRVIQCxIhCh1FUlJPUl9ST09NX0NBTlRfRE9fQ1VSUl9T",
|
|
|
|
|
"VEFURRAyEh8KGkVSUk9SX1JPTV9BTFJFQURZX0hBRF9TVEFSEJMDEhwKF0VS",
|
|
|
|
|
"Uk9SX1JPTV9ET05UX0hBRF9TVEFSEJQDKkAKCUxvZ2luVHlwZRINCglVc2VE",
|
|
|
|
|
"ZXZpY2UQABIOCgpVc2VBY2NvdW50EAESFAoQVXNlSGFvWXVlQWNjb3VudBAC",
|
|
|
|
|
"KksKCkRldmljZVR5cGUSFgoSRGV2aWNlVHlwZV9EZWZhdWx0EAASBgoCUEMQ",
|
|
|
|
|
"ARILCgdBbmRyb2lkEAISBwoDSU9TEAMSBwoDUFNWEAQqIAoMUGxhdGZvcm1U",
|
|
|
|
|
"eXBlEgcKA0FsbBAAEgcKA05lcxABKnAKDVJvb21HYW1lU3RhdGUSEgoOTm9u",
|
|
|
|
|
"ZV9HYW1lU3RhdGUQABIMCghPbmx5SG9zdBABEhEKDVdhaXRSYXdVcGRhdGUQ",
|
|
|
|
|
"AhINCglXYWl0UmVhZHkQAxIJCgVQYXVzZRAEEhAKDEluT25saW5lR2FtZRAF",
|
|
|
|
|
"Kk4KEUxvZ2luUmVzdWx0U3RhdHVzEiEKHUxvZ2luUmVzdWx0U3RhdHVzX0Jh",
|
|
|
|
|
"c2VEZWZhdWx0EAASBgoCT0sQARIOCgpBY2NvdW50RXJyEAJCAkgBYgZwcm90",
|
|
|
|
|
"bzM="));
|
2024-06-28 17:43:55 +08:00
|
|
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
|
|
|
new pbr::FileDescriptor[] { },
|
2024-11-28 19:54:59 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::AxibugProtobuf.CommandID), typeof(global::AxibugProtobuf.ErrorCode), typeof(global::AxibugProtobuf.LoginType), typeof(global::AxibugProtobuf.DeviceType), typeof(global::AxibugProtobuf.PlatformType), typeof(global::AxibugProtobuf.RoomGameState), typeof(global::AxibugProtobuf.LoginResultStatus), }, null, new pbr::GeneratedClrTypeInfo[] {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_ChatMsg), global::AxibugProtobuf.Protobuf_ChatMsg.Parser, new[]{ "ChatMsg" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_ChatMsg_RESP), global::AxibugProtobuf.Protobuf_ChatMsg_RESP.Parser, new[]{ "NickName", "ChatMsg", "Date" }, null, null, null, null),
|
2024-08-21 11:04:53 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Ping), global::AxibugProtobuf.Protobuf_Ping.Parser, new[]{ "Seed" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Pong), global::AxibugProtobuf.Protobuf_Pong.Parser, new[]{ "Seed" }, null, null, null, null),
|
2024-11-28 16:55:12 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Login), global::AxibugProtobuf.Protobuf_Login.Parser, new[]{ "LoginType", "DeviceType", "DeviceStr", "Account", "Password" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Login_RESP), global::AxibugProtobuf.Protobuf_Login_RESP.Parser, new[]{ "NickName", "Token", "LastLoginDate", "RegDate", "Status", "UID" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_UserList), global::AxibugProtobuf.Protobuf_UserList.Parser, null, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_UserList_RESP), global::AxibugProtobuf.Protobuf_UserList_RESP.Parser, new[]{ "UserCount", "UserList" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_UserJoin_RESP), global::AxibugProtobuf.Protobuf_UserJoin_RESP.Parser, new[]{ "UserInfo" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_UserLeave_RESP), global::AxibugProtobuf.Protobuf_UserLeave_RESP.Parser, new[]{ "UID" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_UserState_RESP), global::AxibugProtobuf.Protobuf_UserState_RESP.Parser, new[]{ "UID", "State" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.UserMiniInfo), global::AxibugProtobuf.UserMiniInfo.Parser, new[]{ "UID", "NickName" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Modify_NickName), global::AxibugProtobuf.Protobuf_Modify_NickName.Parser, new[]{ "NickName" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Modify_NickName_RESP), global::AxibugProtobuf.Protobuf_Modify_NickName_RESP.Parser, null, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Update_UserInfo_RESP), global::AxibugProtobuf.Protobuf_Update_UserInfo_RESP.Parser, new[]{ "UserInfo" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Update_OtherUserInfo_RESP), global::AxibugProtobuf.Protobuf_Update_OtherUserInfo_RESP.Parser, new[]{ "UID", "UserInfo" }, null, null, null, null),
|
2024-07-09 17:22:09 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_List), global::AxibugProtobuf.Protobuf_Room_List.Parser, null, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_List_RESP), global::AxibugProtobuf.Protobuf_Room_List_RESP.Parser, new[]{ "RoomMiniInfoList" }, null, null, null, null),
|
2024-09-12 13:41:19 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_MiniInfo), global::AxibugProtobuf.Protobuf_Room_MiniInfo.Parser, new[]{ "RoomID", "GameRomID", "GameRomHash", "HostPlayerUID", "GameState", "ObsUserCount", "Player1UID", "Player1NickName", "Player2UID", "Player2NickName", "Player3UID", "Player3NickName", "Player4UID", "Player4NickName", "ScreenProviderUID" }, null, null, null, null),
|
2024-07-09 17:22:09 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Update_RESP), global::AxibugProtobuf.Protobuf_Room_Update_RESP.Parser, new[]{ "UpdateType", "RoomMiniInfo" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Screnn_Frame), global::AxibugProtobuf.Protobuf_Screnn_Frame.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null),
|
2024-08-21 11:04:53 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_SinglePlayerInputData), global::AxibugProtobuf.Protobuf_Room_SinglePlayerInputData.Parser, new[]{ "FrameID", "InputData" }, null, null, null, null),
|
2024-12-04 13:54:30 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData), global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData.Parser, new[]{ "FrameID", "InputData", "ServerFrameID", "ServerForwardCount" }, null, null, null, null),
|
2024-08-21 17:59:55 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create), global::AxibugProtobuf.Protobuf_Room_Create.Parser, new[]{ "GameRomID", "GameRomHash", "JoinPlayerIdx" }, null, null, null, null),
|
2024-07-09 17:22:09 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create_RESP), global::AxibugProtobuf.Protobuf_Room_Create_RESP.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Join), global::AxibugProtobuf.Protobuf_Room_Join.Parser, new[]{ "RoomID", "PlayerNum" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Join_RESP), global::AxibugProtobuf.Protobuf_Room_Join_RESP.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Leave), global::AxibugProtobuf.Protobuf_Room_Leave.Parser, new[]{ "RoomID" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Leave_RESP), global::AxibugProtobuf.Protobuf_Room_Leave_RESP.Parser, new[]{ "RoomID" }, null, null, null, null),
|
2024-08-21 11:04:53 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_MyRoom_State_Change), global::AxibugProtobuf.Protobuf_Room_MyRoom_State_Change.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null),
|
2024-08-21 17:59:55 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_WaitStep_RESP), global::AxibugProtobuf.Protobuf_Room_WaitStep_RESP.Parser, new[]{ "WaitStep", "LoadStateRaw" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw), global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw.Parser, new[]{ "LoadStateRaw" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw_RESP), global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw_RESP.Parser, null, null, null, null, null),
|
2024-09-18 10:21:06 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Player_Ready), global::AxibugProtobuf.Protobuf_Room_Player_Ready.Parser, null, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen), global::AxibugProtobuf.Protobuf_Room_Get_Screen.Parser, new[]{ "RoomID" }, null, null, null, null),
|
2024-11-28 19:54:59 +08:00
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP), global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark), global::AxibugProtobuf.Protobuf_Game_Mark.Parser, new[]{ "RomID", "State", "PlatformType" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark_RESP), global::AxibugProtobuf.Protobuf_Game_Mark_RESP.Parser, new[]{ "RomID", "PlatformType" }, null, null, null, null)
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}));
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
#region Enums
|
|
|
|
|
public enum CommandID {
|
|
|
|
|
/// <summary>
|
|
|
|
|
///缺省不使用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_DEFAUL")] CmdDefaul = 0,
|
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///服务器或客户端,均可主动ping请求,对方响应。(这里测全流程延迟,即序 列化->发送->传输过程->接收->反序列化)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_PING")] CmdPing = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///Pong | 响应 对应 Protobuf_Pong
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_PONG")] CmdPong = 2,
|
|
|
|
|
/// <summary>
|
2024-06-28 17:43:55 +08:00
|
|
|
|
///自动登录上行 | 下行 对应 Protobuf_Login | Protobuf_Login_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_LOGIN")] CmdLogin = 2001,
|
|
|
|
|
/// <summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
///获取在线用户列表 上行 | 下行 对应 Protobuf_UserList | Protobuf_UserList_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_USER_ONLINELIST")] CmdUserOnlinelist = 3000,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户上线 下行 对应 Protobuf_UserOnline_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_USER_JOIN")] CmdUserJoin = 3031,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户下线 下行 对应 Protobuf_UserOffline_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_USER_LEAVE")] CmdUserLeave = 3032,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///更新在线用户状态 下行 对应 Protobuf_UserState_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_USER_STATE_UPDATE")] CmdUserStateUpdate = 3033,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///修改名称上行 | 下行 对应 Protobuf_Modify_NickName | Protobuf_Modify_NickName_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Modify_NickName")] CmdModifyNickName = 3101,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///更新用户信息 下行 Protobuf_Update_UserInfo_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Update_SelfUserInfo")] CmdUpdateSelfUserInfo = 3110,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///更新其他用户信息 下行 Protobuf_Update_OtherUserInfo_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Update_OtherUserInfo")] CmdUpdateOtherUserInfo = 3112,
|
|
|
|
|
/// <summary>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
///广播聊天信息上行 | 下行 对应 Protobuf_ChatMsg | Protobuf_ChatMsg_RESP
|
2024-06-28 17:43:55 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_CHATMSG")] CmdChatmsg = 4001,
|
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///房间列表相关(仅用于列表显示)
|
2024-06-28 17:43:55 +08:00
|
|
|
|
/// </summary>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
[pbr::OriginalName("CMD_Room_List")] CmdRoomList = 5001,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///房间单个房间信息更新 对应 Protobuf_Room_Update_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Room_List_Update")] CmdRoomListUpdate = 5002,
|
|
|
|
|
/// <summary>
|
2024-09-18 10:21:06 +08:00
|
|
|
|
///房间列表 上行 | 下行 对应 Protobuf_Room_Get_Screen | Protobuf_Room_Get_Screen_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Room_Get_Screen")] CmdRoomGetScreen = 5011,
|
|
|
|
|
/// <summary>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
///房间内相关
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Room_Create")] CmdRoomCreate = 5101,
|
|
|
|
|
/// <summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
///房间加入 对应 Protobuf_Room_Join | Protobuf_Room_Join_RESP //建议Join之前按照房间信息,提前下载并读取本地Rom
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Room_Join")] CmdRoomJoin = 5105,
|
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///房间离开 对应 Protobuf_Room_Leave | Protobuf_Room_Leave_RESP
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Room_Leave")] CmdRoomLeave = 5106,
|
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///我所在的房间内状态发生变化 对应 Protobuf_Room_MyRoom_State_Change
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Room_MyRoom_State_Changed")] CmdRoomMyRoomStateChanged = 5110,
|
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///准备和开始流程(5201 ~ 5204 ~ 5208)
|
|
|
|
|
///
|
|
|
|
|
/// 我们采用,玩家可以随时进入的方式开发
|
|
|
|
|
///
|
|
|
|
|
/// 设计流程:
|
|
|
|
|
///
|
|
|
|
|
/// Step0:服务器广播"等待-主机上报即使存档" CMD_Room_WaitStep WaitStep=[0] ---> 客户端:暂停模拟器核心:全员等待(主机玩家一人上传即时存档)
|
|
|
|
|
/// 主机玩家 上行 CMD_Room_HostPlayer_UpdateStateRaw消息,上传即时存档
|
|
|
|
|
/// 主机玩家上传完毕之后,服务器会通知进入Step1
|
|
|
|
|
///
|
2024-09-18 10:21:06 +08:00
|
|
|
|
/// Step1:服务器广播"等待-全员加载即时存档" CMD_Room_WaitStep WaitStep=[1] 附带即时存档 ---> 客户端:全员等待
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// 所有玩家确保加载ROM和即时存档,并保持模拟器暂停,准备完毕后 发送 CMD_Room_Player_Ready
|
|
|
|
|
/// 所有玩家Ready之后,服务器会根据所有玩家延迟提前跑若干Frame,通知进入Step2
|
|
|
|
|
///
|
|
|
|
|
/// Step2:服务器广播"开始" CMD_Room_WaitStep WaitStep=[2] ---> 客户端:立即开始
|
|
|
|
|
///
|
|
|
|
|
/// PS:[联机过程中加载即时存档] 房间在游玩过程中,单个玩家发送CMD_Room_HostPlayer_UpdateStateRaw 上报即时存档
|
|
|
|
|
/// 重新从Step1走流程
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Room_WaitStep")] CmdRoomWaitStep = 5201,
|
|
|
|
|
/// <summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
///主机玩家上传即时存档 上行 | 下行 对应 Protobuf_Room_HostPlayer_UpdateStateRaw | Protobuf_Room_HostPlayer_UpdateStateRaw_RESP
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Room_HostPlayer_UpdateStateRaw")] CmdRoomHostPlayerUpdateStateRaw = 5204,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///玩家准备完毕 上行 Protobuf_Room_Player_Ready
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Room_Player_Ready")] CmdRoomPlayerReady = 5208,
|
|
|
|
|
/// <summary>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
///游戏同步
|
|
|
|
|
/// </summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
[pbr::OriginalName("CMD_Room_Singel_PlayerInput")] CmdRoomSingelPlayerInput = 6010,
|
|
|
|
|
/// <summary>
|
2024-09-12 13:41:19 +08:00
|
|
|
|
///所有玩家操作同步下行 对应 Protobuf_Room_Syn_RoomFrameAllInputData
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// </summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
[pbr::OriginalName("CMD_ROOM_SYN_PlayerInput")] CmdRoomSynPlayerInput = 6015,
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///画面采集
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_Screen")] CmdScreen = 7001,
|
2024-11-28 19:54:59 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///房间列表 上行 | 下行 对应 Protobuf_Game_Mark | Protobuf_Game_Mark_RESP
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("CMD_GAME_MARK")] CmdGameMark = 10101,
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum ErrorCode {
|
|
|
|
|
/// <summary>
|
|
|
|
|
///缺省不使用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("ERROR_DEFAUL")] ErrorDefaul = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///成功
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("ERROR_OK")] ErrorOk = 1,
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///房间不存在
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("ERROR_ROOM_NOT_FOUND")] ErrorRoomNotFound = 10,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///加入目标位置已经有人
|
|
|
|
|
/// </summary>
|
2024-11-28 19:54:59 +08:00
|
|
|
|
[pbr::OriginalName("ERROR_ROOM_SLOT_ALREADLY_HAD_PLAYER")] ErrorRoomSlotAlreadlyHadPlayer = 11,
|
2024-08-21 17:59:55 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///当前房间状态不允许本操作
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("ERROR_ROOM_CANT_DO_CURR_STATE")] ErrorRoomCantDoCurrState = 50,
|
2024-11-28 19:54:59 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///已经收藏
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("ERROR_ROM_ALREADY_HAD_STAR")] ErrorRomAlreadyHadStar = 403,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///并没有收藏
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("ERROR_ROM_DONT_HAD_STAR")] ErrorRomDontHadStar = 404,
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum LoginType {
|
|
|
|
|
/// <summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
///使用设备登录
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("UseDevice")] UseDevice = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///使用账户
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("UseAccount")] UseAccount = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
///使用皓月通行证
|
2024-06-28 17:43:55 +08:00
|
|
|
|
/// </summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
[pbr::OriginalName("UseHaoYueAccount")] UseHaoYueAccount = 2,
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum DeviceType {
|
|
|
|
|
/// <summary>
|
|
|
|
|
///缺省不使用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("DeviceType_Default")] Default = 0,
|
|
|
|
|
[pbr::OriginalName("PC")] Pc = 1,
|
|
|
|
|
[pbr::OriginalName("Android")] Android = 2,
|
|
|
|
|
[pbr::OriginalName("IOS")] Ios = 3,
|
|
|
|
|
[pbr::OriginalName("PSV")] Psv = 4,
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-28 19:54:59 +08:00
|
|
|
|
public enum PlatformType {
|
|
|
|
|
[pbr::OriginalName("All")] All = 0,
|
|
|
|
|
[pbr::OriginalName("Nes")] Nes = 1,
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-09 17:22:09 +08:00
|
|
|
|
public enum RoomGameState {
|
|
|
|
|
/// <summary>
|
|
|
|
|
///缺省
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("None_GameState")] NoneGameState = 0,
|
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///仅主机,待加入
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("OnlyHost")] OnlyHost = 1,
|
|
|
|
|
/// <summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
///等待即时存档
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// </summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
[pbr::OriginalName("WaitRawUpdate")] WaitRawUpdate = 2,
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
///等待Ready
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// </summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
[pbr::OriginalName("WaitReady")] WaitReady = 3,
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///暂停
|
|
|
|
|
/// </summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
[pbr::OriginalName("Pause")] Pause = 4,
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
///联机中
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// </summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
[pbr::OriginalName("InOnlineGame")] InOnlineGame = 5,
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-06-28 17:43:55 +08:00
|
|
|
|
public enum LoginResultStatus {
|
|
|
|
|
/// <summary>
|
|
|
|
|
///缺省不使用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[pbr::OriginalName("LoginResultStatus_BaseDefault")] BaseDefault = 0,
|
|
|
|
|
[pbr::OriginalName("OK")] Ok = 1,
|
|
|
|
|
[pbr::OriginalName("AccountErr")] AccountErr = 2,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Messages
|
|
|
|
|
/// <summary>
|
|
|
|
|
///聊天 上行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_ChatMsg : pb::IMessage<Protobuf_ChatMsg>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_ChatMsg> _parser = new pb::MessageParser<Protobuf_ChatMsg>(() => new Protobuf_ChatMsg());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_ChatMsg> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[0]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_ChatMsg() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_ChatMsg(Protobuf_ChatMsg other) : this() {
|
|
|
|
|
chatMsg_ = other.chatMsg_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_ChatMsg Clone() {
|
|
|
|
|
return new Protobuf_ChatMsg(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "ChatMsg" field.</summary>
|
|
|
|
|
public const int ChatMsgFieldNumber = 1;
|
|
|
|
|
private string chatMsg_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///消息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string ChatMsg {
|
|
|
|
|
get { return chatMsg_; }
|
|
|
|
|
set {
|
|
|
|
|
chatMsg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_ChatMsg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_ChatMsg other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (ChatMsg != other.ChatMsg) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (ChatMsg.Length != 0) hash ^= ChatMsg.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (ChatMsg.Length != 0) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteString(ChatMsg);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (ChatMsg.Length != 0) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteString(ChatMsg);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (ChatMsg.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(ChatMsg);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_ChatMsg other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.ChatMsg.Length != 0) {
|
|
|
|
|
ChatMsg = other.ChatMsg;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
ChatMsg = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
ChatMsg = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///聊天 下行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_ChatMsg_RESP : pb::IMessage<Protobuf_ChatMsg_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_ChatMsg_RESP> _parser = new pb::MessageParser<Protobuf_ChatMsg_RESP>(() => new Protobuf_ChatMsg_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_ChatMsg_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[1]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_ChatMsg_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_ChatMsg_RESP(Protobuf_ChatMsg_RESP other) : this() {
|
|
|
|
|
nickName_ = other.nickName_;
|
|
|
|
|
chatMsg_ = other.chatMsg_;
|
|
|
|
|
date_ = other.date_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_ChatMsg_RESP Clone() {
|
|
|
|
|
return new Protobuf_ChatMsg_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "NickName" field.</summary>
|
|
|
|
|
public const int NickNameFieldNumber = 1;
|
|
|
|
|
private string nickName_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///昵称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string NickName {
|
|
|
|
|
get { return nickName_; }
|
|
|
|
|
set {
|
|
|
|
|
nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "ChatMsg" field.</summary>
|
|
|
|
|
public const int ChatMsgFieldNumber = 2;
|
|
|
|
|
private string chatMsg_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///消息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string ChatMsg {
|
|
|
|
|
get { return chatMsg_; }
|
|
|
|
|
set {
|
|
|
|
|
chatMsg_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Date" field.</summary>
|
|
|
|
|
public const int DateFieldNumber = 3;
|
|
|
|
|
private long date_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long Date {
|
|
|
|
|
get { return date_; }
|
|
|
|
|
set {
|
|
|
|
|
date_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_ChatMsg_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_ChatMsg_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (NickName != other.NickName) return false;
|
|
|
|
|
if (ChatMsg != other.ChatMsg) return false;
|
|
|
|
|
if (Date != other.Date) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (NickName.Length != 0) hash ^= NickName.GetHashCode();
|
|
|
|
|
if (ChatMsg.Length != 0) hash ^= ChatMsg.GetHashCode();
|
|
|
|
|
if (Date != 0L) hash ^= Date.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteString(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (ChatMsg.Length != 0) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteString(ChatMsg);
|
|
|
|
|
}
|
|
|
|
|
if (Date != 0L) {
|
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
|
output.WriteInt64(Date);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteString(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (ChatMsg.Length != 0) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteString(ChatMsg);
|
|
|
|
|
}
|
|
|
|
|
if (Date != 0L) {
|
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
|
output.WriteInt64(Date);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (ChatMsg.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(ChatMsg);
|
|
|
|
|
}
|
|
|
|
|
if (Date != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Date);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_ChatMsg_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.NickName.Length != 0) {
|
|
|
|
|
NickName = other.NickName;
|
|
|
|
|
}
|
|
|
|
|
if (other.ChatMsg.Length != 0) {
|
|
|
|
|
ChatMsg = other.ChatMsg;
|
|
|
|
|
}
|
|
|
|
|
if (other.Date != 0L) {
|
|
|
|
|
Date = other.Date;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
ChatMsg = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 24: {
|
|
|
|
|
Date = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
ChatMsg = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 24: {
|
|
|
|
|
Date = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Ping : pb::IMessage<Protobuf_Ping>
|
2024-06-28 17:43:55 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Ping> _parser = new pb::MessageParser<Protobuf_Ping>(() => new Protobuf_Ping());
|
2024-06-28 17:43:55 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Ping> Parser { get { return _parser; } }
|
2024-06-28 17:43:55 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[2]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Ping() {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Ping(Protobuf_Ping other) : this() {
|
|
|
|
|
seed_ = other.seed_;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Ping Clone() {
|
|
|
|
|
return new Protobuf_Ping(this);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>Field number for the "Seed" field.</summary>
|
|
|
|
|
public const int SeedFieldNumber = 1;
|
|
|
|
|
private int seed_;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///随机数
|
2024-06-28 17:43:55 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public int Seed {
|
|
|
|
|
get { return seed_; }
|
2024-06-28 17:43:55 +08:00
|
|
|
|
set {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
seed_ = value;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Ping);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Ping other) {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Seed != other.Seed) return false;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Seed != 0) hash ^= Seed.GetHashCode();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Seed != 0) {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
output.WriteRawTag(8);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteInt32(Seed);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Seed != 0) {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
output.WriteRawTag(8);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteInt32(Seed);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Seed != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Seed);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Ping other) {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.Seed != 0) {
|
|
|
|
|
Seed = other.Seed;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
Seed = input.ReadInt32();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
Seed = input.ReadInt32();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Pong : pb::IMessage<Protobuf_Pong>
|
2024-06-28 17:43:55 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Pong> _parser = new pb::MessageParser<Protobuf_Pong>(() => new Protobuf_Pong());
|
2024-06-28 17:43:55 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Pong> Parser { get { return _parser; } }
|
2024-06-28 17:43:55 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[3]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Pong() {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Pong(Protobuf_Pong other) : this() {
|
|
|
|
|
seed_ = other.seed_;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Pong Clone() {
|
|
|
|
|
return new Protobuf_Pong(this);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>Field number for the "Seed" field.</summary>
|
|
|
|
|
public const int SeedFieldNumber = 1;
|
|
|
|
|
private int seed_;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///原样返回随机数
|
2024-06-28 17:43:55 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public int Seed {
|
|
|
|
|
get { return seed_; }
|
2024-06-28 17:43:55 +08:00
|
|
|
|
set {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
seed_ = value;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Pong);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Pong other) {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Seed != other.Seed) return false;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Seed != 0) hash ^= Seed.GetHashCode();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Seed != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(Seed);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (Seed != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(Seed);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (Seed != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Seed);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Pong other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.Seed != 0) {
|
|
|
|
|
Seed = other.Seed;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
Seed = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
Seed = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///登录数据上行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_Login : pb::IMessage<Protobuf_Login>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Login> _parser = new pb::MessageParser<Protobuf_Login>(() => new Protobuf_Login());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Login> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[4]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Login() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Login(Protobuf_Login other) : this() {
|
|
|
|
|
loginType_ = other.loginType_;
|
|
|
|
|
deviceType_ = other.deviceType_;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
deviceStr_ = other.deviceStr_;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
account_ = other.account_;
|
|
|
|
|
password_ = other.password_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Login Clone() {
|
|
|
|
|
return new Protobuf_Login(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "loginType" field.</summary>
|
|
|
|
|
public const int LoginTypeFieldNumber = 1;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
private global::AxibugProtobuf.LoginType loginType_ = global::AxibugProtobuf.LoginType.UseDevice;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
///登录操作类型
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.LoginType LoginType {
|
|
|
|
|
get { return loginType_; }
|
|
|
|
|
set {
|
|
|
|
|
loginType_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "deviceType" field.</summary>
|
|
|
|
|
public const int DeviceTypeFieldNumber = 2;
|
|
|
|
|
private global::AxibugProtobuf.DeviceType deviceType_ = global::AxibugProtobuf.DeviceType.Default;
|
|
|
|
|
/// <summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
///设备类型 [0] PC [1] AndroidPad预留 [3] IPad预留
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.DeviceType DeviceType {
|
|
|
|
|
get { return deviceType_; }
|
|
|
|
|
set {
|
|
|
|
|
deviceType_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-28 16:55:12 +08:00
|
|
|
|
/// <summary>Field number for the "deviceStr" field.</summary>
|
|
|
|
|
public const int DeviceStrFieldNumber = 3;
|
|
|
|
|
private string deviceStr_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///设备串
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string DeviceStr {
|
|
|
|
|
get { return deviceStr_; }
|
|
|
|
|
set {
|
|
|
|
|
deviceStr_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>Field number for the "Account" field.</summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public const int AccountFieldNumber = 4;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private string account_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string Account {
|
|
|
|
|
get { return account_; }
|
|
|
|
|
set {
|
|
|
|
|
account_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Password" field.</summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public const int PasswordFieldNumber = 5;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private string password_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///密码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string Password {
|
|
|
|
|
get { return password_; }
|
|
|
|
|
set {
|
|
|
|
|
password_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Login);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Login other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (LoginType != other.LoginType) return false;
|
|
|
|
|
if (DeviceType != other.DeviceType) return false;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (DeviceStr != other.DeviceStr) return false;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Account != other.Account) return false;
|
|
|
|
|
if (Password != other.Password) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (LoginType != global::AxibugProtobuf.LoginType.UseDevice) hash ^= LoginType.GetHashCode();
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (DeviceType != global::AxibugProtobuf.DeviceType.Default) hash ^= DeviceType.GetHashCode();
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (DeviceStr.Length != 0) hash ^= DeviceStr.GetHashCode();
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Account.Length != 0) hash ^= Account.GetHashCode();
|
|
|
|
|
if (Password.Length != 0) hash ^= Password.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (LoginType != global::AxibugProtobuf.LoginType.UseDevice) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteEnum((int) LoginType);
|
|
|
|
|
}
|
|
|
|
|
if (DeviceType != global::AxibugProtobuf.DeviceType.Default) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteEnum((int) DeviceType);
|
|
|
|
|
}
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (DeviceStr.Length != 0) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteRawTag(26);
|
2024-11-28 16:55:12 +08:00
|
|
|
|
output.WriteString(DeviceStr);
|
|
|
|
|
}
|
|
|
|
|
if (Account.Length != 0) {
|
|
|
|
|
output.WriteRawTag(34);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteString(Account);
|
|
|
|
|
}
|
|
|
|
|
if (Password.Length != 0) {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
output.WriteRawTag(42);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteString(Password);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (LoginType != global::AxibugProtobuf.LoginType.UseDevice) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteEnum((int) LoginType);
|
|
|
|
|
}
|
|
|
|
|
if (DeviceType != global::AxibugProtobuf.DeviceType.Default) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteEnum((int) DeviceType);
|
|
|
|
|
}
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (DeviceStr.Length != 0) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteRawTag(26);
|
2024-11-28 16:55:12 +08:00
|
|
|
|
output.WriteString(DeviceStr);
|
|
|
|
|
}
|
|
|
|
|
if (Account.Length != 0) {
|
|
|
|
|
output.WriteRawTag(34);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteString(Account);
|
|
|
|
|
}
|
|
|
|
|
if (Password.Length != 0) {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
output.WriteRawTag(42);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteString(Password);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (LoginType != global::AxibugProtobuf.LoginType.UseDevice) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LoginType);
|
|
|
|
|
}
|
|
|
|
|
if (DeviceType != global::AxibugProtobuf.DeviceType.Default) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DeviceType);
|
|
|
|
|
}
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (DeviceStr.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(DeviceStr);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (Account.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Account);
|
|
|
|
|
}
|
|
|
|
|
if (Password.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Password);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Login other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (other.LoginType != global::AxibugProtobuf.LoginType.UseDevice) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
LoginType = other.LoginType;
|
|
|
|
|
}
|
|
|
|
|
if (other.DeviceType != global::AxibugProtobuf.DeviceType.Default) {
|
|
|
|
|
DeviceType = other.DeviceType;
|
|
|
|
|
}
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (other.DeviceStr.Length != 0) {
|
|
|
|
|
DeviceStr = other.DeviceStr;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.Account.Length != 0) {
|
|
|
|
|
Account = other.Account;
|
|
|
|
|
}
|
|
|
|
|
if (other.Password.Length != 0) {
|
|
|
|
|
Password = other.Password;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
LoginType = (global::AxibugProtobuf.LoginType) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
DeviceType = (global::AxibugProtobuf.DeviceType) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
DeviceStr = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 34: {
|
|
|
|
|
Account = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 42: {
|
|
|
|
|
Password = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
LoginType = (global::AxibugProtobuf.LoginType) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
DeviceType = (global::AxibugProtobuf.DeviceType) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
DeviceStr = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 34: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
Account = input.ReadString();
|
|
|
|
|
break;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
}
|
|
|
|
|
case 42: {
|
|
|
|
|
Password = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///登录数据下行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_Login_RESP : pb::IMessage<Protobuf_Login_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Login_RESP> _parser = new pb::MessageParser<Protobuf_Login_RESP>(() => new Protobuf_Login_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Login_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[5]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Login_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Login_RESP(Protobuf_Login_RESP other) : this() {
|
|
|
|
|
nickName_ = other.nickName_;
|
|
|
|
|
token_ = other.token_;
|
|
|
|
|
lastLoginDate_ = other.lastLoginDate_;
|
|
|
|
|
regDate_ = other.regDate_;
|
|
|
|
|
status_ = other.status_;
|
|
|
|
|
uID_ = other.uID_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Login_RESP Clone() {
|
|
|
|
|
return new Protobuf_Login_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "NickName" field.</summary>
|
|
|
|
|
public const int NickNameFieldNumber = 1;
|
|
|
|
|
private string nickName_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///昵称(第一次是自动生成)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string NickName {
|
|
|
|
|
get { return nickName_; }
|
|
|
|
|
set {
|
|
|
|
|
nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Token" field.</summary>
|
|
|
|
|
public const int TokenFieldNumber = 2;
|
|
|
|
|
private string token_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///登录凭据 (本次登录之后,所有业务请求凭据,需要存储在内存中)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string Token {
|
|
|
|
|
get { return token_; }
|
|
|
|
|
set {
|
|
|
|
|
token_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "LastLoginDate" field.</summary>
|
|
|
|
|
public const int LastLoginDateFieldNumber = 3;
|
|
|
|
|
private string lastLoginDate_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///上次登录时间(只用于呈现的字符串,若界面需求需要)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string LastLoginDate {
|
|
|
|
|
get { return lastLoginDate_; }
|
|
|
|
|
set {
|
|
|
|
|
lastLoginDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RegDate" field.</summary>
|
|
|
|
|
public const int RegDateFieldNumber = 4;
|
|
|
|
|
private string regDate_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///注册时间(只用于呈现的字符串,若界面需求需要)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string RegDate {
|
|
|
|
|
get { return regDate_; }
|
|
|
|
|
set {
|
|
|
|
|
regDate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Status" field.</summary>
|
|
|
|
|
public const int StatusFieldNumber = 5;
|
|
|
|
|
private global::AxibugProtobuf.LoginResultStatus status_ = global::AxibugProtobuf.LoginResultStatus.BaseDefault;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///账号状态 (预留) [1]正常[0]被禁封
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.LoginResultStatus Status {
|
|
|
|
|
get { return status_; }
|
|
|
|
|
set {
|
|
|
|
|
status_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "UID" field.</summary>
|
|
|
|
|
public const int UIDFieldNumber = 6;
|
|
|
|
|
private long uID_;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long UID {
|
|
|
|
|
get { return uID_; }
|
|
|
|
|
set {
|
|
|
|
|
uID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Login_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Login_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (NickName != other.NickName) return false;
|
|
|
|
|
if (Token != other.Token) return false;
|
|
|
|
|
if (LastLoginDate != other.LastLoginDate) return false;
|
|
|
|
|
if (RegDate != other.RegDate) return false;
|
|
|
|
|
if (Status != other.Status) return false;
|
|
|
|
|
if (UID != other.UID) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (NickName.Length != 0) hash ^= NickName.GetHashCode();
|
|
|
|
|
if (Token.Length != 0) hash ^= Token.GetHashCode();
|
|
|
|
|
if (LastLoginDate.Length != 0) hash ^= LastLoginDate.GetHashCode();
|
|
|
|
|
if (RegDate.Length != 0) hash ^= RegDate.GetHashCode();
|
|
|
|
|
if (Status != global::AxibugProtobuf.LoginResultStatus.BaseDefault) hash ^= Status.GetHashCode();
|
|
|
|
|
if (UID != 0L) hash ^= UID.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteString(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (Token.Length != 0) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteString(Token);
|
|
|
|
|
}
|
|
|
|
|
if (LastLoginDate.Length != 0) {
|
|
|
|
|
output.WriteRawTag(26);
|
|
|
|
|
output.WriteString(LastLoginDate);
|
|
|
|
|
}
|
|
|
|
|
if (RegDate.Length != 0) {
|
|
|
|
|
output.WriteRawTag(34);
|
|
|
|
|
output.WriteString(RegDate);
|
|
|
|
|
}
|
|
|
|
|
if (Status != global::AxibugProtobuf.LoginResultStatus.BaseDefault) {
|
|
|
|
|
output.WriteRawTag(40);
|
|
|
|
|
output.WriteEnum((int) Status);
|
|
|
|
|
}
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
output.WriteRawTag(48);
|
|
|
|
|
output.WriteInt64(UID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteString(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (Token.Length != 0) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteString(Token);
|
|
|
|
|
}
|
|
|
|
|
if (LastLoginDate.Length != 0) {
|
|
|
|
|
output.WriteRawTag(26);
|
|
|
|
|
output.WriteString(LastLoginDate);
|
|
|
|
|
}
|
|
|
|
|
if (RegDate.Length != 0) {
|
|
|
|
|
output.WriteRawTag(34);
|
|
|
|
|
output.WriteString(RegDate);
|
|
|
|
|
}
|
|
|
|
|
if (Status != global::AxibugProtobuf.LoginResultStatus.BaseDefault) {
|
|
|
|
|
output.WriteRawTag(40);
|
|
|
|
|
output.WriteEnum((int) Status);
|
|
|
|
|
}
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
output.WriteRawTag(48);
|
|
|
|
|
output.WriteInt64(UID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (Token.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Token);
|
|
|
|
|
}
|
|
|
|
|
if (LastLoginDate.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(LastLoginDate);
|
|
|
|
|
}
|
|
|
|
|
if (RegDate.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RegDate);
|
|
|
|
|
}
|
|
|
|
|
if (Status != global::AxibugProtobuf.LoginResultStatus.BaseDefault) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status);
|
|
|
|
|
}
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Login_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.NickName.Length != 0) {
|
|
|
|
|
NickName = other.NickName;
|
|
|
|
|
}
|
|
|
|
|
if (other.Token.Length != 0) {
|
|
|
|
|
Token = other.Token;
|
|
|
|
|
}
|
|
|
|
|
if (other.LastLoginDate.Length != 0) {
|
|
|
|
|
LastLoginDate = other.LastLoginDate;
|
|
|
|
|
}
|
|
|
|
|
if (other.RegDate.Length != 0) {
|
|
|
|
|
RegDate = other.RegDate;
|
|
|
|
|
}
|
|
|
|
|
if (other.Status != global::AxibugProtobuf.LoginResultStatus.BaseDefault) {
|
|
|
|
|
Status = other.Status;
|
|
|
|
|
}
|
|
|
|
|
if (other.UID != 0L) {
|
|
|
|
|
UID = other.UID;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
Token = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
LastLoginDate = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 34: {
|
|
|
|
|
RegDate = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 40: {
|
|
|
|
|
Status = (global::AxibugProtobuf.LoginResultStatus) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 48: {
|
|
|
|
|
UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
Token = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
LastLoginDate = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 34: {
|
|
|
|
|
RegDate = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 40: {
|
|
|
|
|
Status = (global::AxibugProtobuf.LoginResultStatus) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 48: {
|
|
|
|
|
UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///获取在线用户列表 上行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_UserList : pb::IMessage<Protobuf_UserList>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_UserList> _parser = new pb::MessageParser<Protobuf_UserList>(() => new Protobuf_UserList());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_UserList> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[6]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserList() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserList(Protobuf_UserList other) : this() {
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserList Clone() {
|
|
|
|
|
return new Protobuf_UserList(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_UserList);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_UserList other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_UserList other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///获取在线用户列表 下行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_UserList_RESP : pb::IMessage<Protobuf_UserList_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_UserList_RESP> _parser = new pb::MessageParser<Protobuf_UserList_RESP>(() => new Protobuf_UserList_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_UserList_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[7]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserList_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserList_RESP(Protobuf_UserList_RESP other) : this() {
|
|
|
|
|
userCount_ = other.userCount_;
|
|
|
|
|
userList_ = other.userList_.Clone();
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserList_RESP Clone() {
|
|
|
|
|
return new Protobuf_UserList_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "UserCount" field.</summary>
|
|
|
|
|
public const int UserCountFieldNumber = 1;
|
|
|
|
|
private int userCount_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///玩家数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int UserCount {
|
|
|
|
|
get { return userCount_; }
|
|
|
|
|
set {
|
|
|
|
|
userCount_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "UserList" field.</summary>
|
|
|
|
|
public const int UserListFieldNumber = 2;
|
|
|
|
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.UserMiniInfo> _repeated_userList_codec
|
|
|
|
|
= pb::FieldCodec.ForMessage(18, global::AxibugProtobuf.UserMiniInfo.Parser);
|
|
|
|
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.UserMiniInfo> userList_ = new pbc::RepeatedField<global::AxibugProtobuf.UserMiniInfo>();
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public pbc::RepeatedField<global::AxibugProtobuf.UserMiniInfo> UserList {
|
|
|
|
|
get { return userList_; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_UserList_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_UserList_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (UserCount != other.UserCount) return false;
|
|
|
|
|
if(!userList_.Equals(other.userList_)) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (UserCount != 0) hash ^= UserCount.GetHashCode();
|
|
|
|
|
hash ^= userList_.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (UserCount != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(UserCount);
|
|
|
|
|
}
|
|
|
|
|
userList_.WriteTo(output, _repeated_userList_codec);
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (UserCount != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(UserCount);
|
|
|
|
|
}
|
|
|
|
|
userList_.WriteTo(ref output, _repeated_userList_codec);
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (UserCount != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UserCount);
|
|
|
|
|
}
|
|
|
|
|
size += userList_.CalculateSize(_repeated_userList_codec);
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_UserList_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.UserCount != 0) {
|
|
|
|
|
UserCount = other.UserCount;
|
|
|
|
|
}
|
|
|
|
|
userList_.Add(other.userList_);
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
UserCount = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
userList_.AddEntriesFrom(input, _repeated_userList_codec);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
UserCount = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
userList_.AddEntriesFrom(ref input, _repeated_userList_codec);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户上线 下行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_UserJoin_RESP : pb::IMessage<Protobuf_UserJoin_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_UserJoin_RESP> _parser = new pb::MessageParser<Protobuf_UserJoin_RESP>(() => new Protobuf_UserJoin_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_UserJoin_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[8]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserJoin_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserJoin_RESP(Protobuf_UserJoin_RESP other) : this() {
|
|
|
|
|
userInfo_ = other.userInfo_ != null ? other.userInfo_.Clone() : null;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserJoin_RESP Clone() {
|
|
|
|
|
return new Protobuf_UserJoin_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "UserInfo" field.</summary>
|
|
|
|
|
public const int UserInfoFieldNumber = 1;
|
|
|
|
|
private global::AxibugProtobuf.UserMiniInfo userInfo_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.UserMiniInfo UserInfo {
|
|
|
|
|
get { return userInfo_; }
|
|
|
|
|
set {
|
|
|
|
|
userInfo_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_UserJoin_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_UserJoin_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (!object.Equals(UserInfo, other.UserInfo)) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (userInfo_ != null) hash ^= UserInfo.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (userInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(UserInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (userInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(UserInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (userInfo_ != null) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(UserInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_UserJoin_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.userInfo_ != null) {
|
|
|
|
|
if (userInfo_ == null) {
|
|
|
|
|
UserInfo = new global::AxibugProtobuf.UserMiniInfo();
|
|
|
|
|
}
|
|
|
|
|
UserInfo.MergeFrom(other.UserInfo);
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
if (userInfo_ == null) {
|
|
|
|
|
UserInfo = new global::AxibugProtobuf.UserMiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(UserInfo);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
if (userInfo_ == null) {
|
|
|
|
|
UserInfo = new global::AxibugProtobuf.UserMiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(UserInfo);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户下线 下行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_UserLeave_RESP : pb::IMessage<Protobuf_UserLeave_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_UserLeave_RESP> _parser = new pb::MessageParser<Protobuf_UserLeave_RESP>(() => new Protobuf_UserLeave_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_UserLeave_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[9]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserLeave_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserLeave_RESP(Protobuf_UserLeave_RESP other) : this() {
|
|
|
|
|
uID_ = other.uID_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserLeave_RESP Clone() {
|
|
|
|
|
return new Protobuf_UserLeave_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "UID" field.</summary>
|
|
|
|
|
public const int UIDFieldNumber = 1;
|
|
|
|
|
private long uID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long UID {
|
|
|
|
|
get { return uID_; }
|
|
|
|
|
set {
|
|
|
|
|
uID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_UserLeave_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_UserLeave_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (UID != other.UID) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (UID != 0L) hash ^= UID.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt64(UID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt64(UID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_UserLeave_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.UID != 0L) {
|
|
|
|
|
UID = other.UID;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///更新在线用户状态 下行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_UserState_RESP : pb::IMessage<Protobuf_UserState_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_UserState_RESP> _parser = new pb::MessageParser<Protobuf_UserState_RESP>(() => new Protobuf_UserState_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_UserState_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[10]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserState_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserState_RESP(Protobuf_UserState_RESP other) : this() {
|
|
|
|
|
uID_ = other.uID_;
|
|
|
|
|
state_ = other.state_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_UserState_RESP Clone() {
|
|
|
|
|
return new Protobuf_UserState_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "UID" field.</summary>
|
|
|
|
|
public const int UIDFieldNumber = 1;
|
|
|
|
|
private long uID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long UID {
|
|
|
|
|
get { return uID_; }
|
|
|
|
|
set {
|
|
|
|
|
uID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "State" field.</summary>
|
|
|
|
|
public const int StateFieldNumber = 2;
|
|
|
|
|
private int state_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int State {
|
|
|
|
|
get { return state_; }
|
|
|
|
|
set {
|
|
|
|
|
state_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_UserState_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_UserState_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (UID != other.UID) return false;
|
|
|
|
|
if (State != other.State) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (UID != 0L) hash ^= UID.GetHashCode();
|
|
|
|
|
if (State != 0) hash ^= State.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt64(UID);
|
|
|
|
|
}
|
|
|
|
|
if (State != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(State);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt64(UID);
|
|
|
|
|
}
|
|
|
|
|
if (State != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(State);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UID);
|
|
|
|
|
}
|
|
|
|
|
if (State != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(State);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_UserState_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.UID != 0L) {
|
|
|
|
|
UID = other.UID;
|
|
|
|
|
}
|
|
|
|
|
if (other.State != 0) {
|
|
|
|
|
State = other.State;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
State = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
State = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public sealed partial class UserMiniInfo : pb::IMessage<UserMiniInfo>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<UserMiniInfo> _parser = new pb::MessageParser<UserMiniInfo>(() => new UserMiniInfo());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<UserMiniInfo> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[11]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public UserMiniInfo() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public UserMiniInfo(UserMiniInfo other) : this() {
|
|
|
|
|
uID_ = other.uID_;
|
|
|
|
|
nickName_ = other.nickName_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public UserMiniInfo Clone() {
|
|
|
|
|
return new UserMiniInfo(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "UID" field.</summary>
|
|
|
|
|
public const int UIDFieldNumber = 1;
|
|
|
|
|
private long uID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long UID {
|
|
|
|
|
get { return uID_; }
|
|
|
|
|
set {
|
|
|
|
|
uID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "NickName" field.</summary>
|
|
|
|
|
public const int NickNameFieldNumber = 2;
|
|
|
|
|
private string nickName_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///昵称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string NickName {
|
|
|
|
|
get { return nickName_; }
|
|
|
|
|
set {
|
|
|
|
|
nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as UserMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(UserMiniInfo other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (UID != other.UID) return false;
|
|
|
|
|
if (NickName != other.NickName) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (UID != 0L) hash ^= UID.GetHashCode();
|
|
|
|
|
if (NickName.Length != 0) hash ^= NickName.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt64(UID);
|
|
|
|
|
}
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteString(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt64(UID);
|
|
|
|
|
}
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteString(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UID);
|
|
|
|
|
}
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(UserMiniInfo other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.UID != 0L) {
|
|
|
|
|
UID = other.UID;
|
|
|
|
|
}
|
|
|
|
|
if (other.NickName.Length != 0) {
|
|
|
|
|
NickName = other.NickName;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///修改昵称上行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_Modify_NickName : pb::IMessage<Protobuf_Modify_NickName>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Modify_NickName> _parser = new pb::MessageParser<Protobuf_Modify_NickName>(() => new Protobuf_Modify_NickName());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Modify_NickName> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[12]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Modify_NickName() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Modify_NickName(Protobuf_Modify_NickName other) : this() {
|
|
|
|
|
nickName_ = other.nickName_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Modify_NickName Clone() {
|
|
|
|
|
return new Protobuf_Modify_NickName(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "NickName" field.</summary>
|
|
|
|
|
public const int NickNameFieldNumber = 1;
|
|
|
|
|
private string nickName_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///昵称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string NickName {
|
|
|
|
|
get { return nickName_; }
|
|
|
|
|
set {
|
|
|
|
|
nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Modify_NickName);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Modify_NickName other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (NickName != other.NickName) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (NickName.Length != 0) hash ^= NickName.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteString(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteString(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (NickName.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Modify_NickName other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.NickName.Length != 0) {
|
|
|
|
|
NickName = other.NickName;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///修改昵称下行
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_Modify_NickName_RESP : pb::IMessage<Protobuf_Modify_NickName_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Modify_NickName_RESP> _parser = new pb::MessageParser<Protobuf_Modify_NickName_RESP>(() => new Protobuf_Modify_NickName_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Modify_NickName_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[13]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Modify_NickName_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Modify_NickName_RESP(Protobuf_Modify_NickName_RESP other) : this() {
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Modify_NickName_RESP Clone() {
|
|
|
|
|
return new Protobuf_Modify_NickName_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Modify_NickName_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Modify_NickName_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Modify_NickName_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户信息更新
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Protobuf_Update_UserInfo_RESP : pb::IMessage<Protobuf_Update_UserInfo_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Update_UserInfo_RESP> _parser = new pb::MessageParser<Protobuf_Update_UserInfo_RESP>(() => new Protobuf_Update_UserInfo_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Update_UserInfo_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[14]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Update_UserInfo_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Update_UserInfo_RESP(Protobuf_Update_UserInfo_RESP other) : this() {
|
|
|
|
|
userInfo_ = other.userInfo_ != null ? other.userInfo_.Clone() : null;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Update_UserInfo_RESP Clone() {
|
|
|
|
|
return new Protobuf_Update_UserInfo_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "UserInfo" field.</summary>
|
|
|
|
|
public const int UserInfoFieldNumber = 1;
|
|
|
|
|
private global::AxibugProtobuf.UserMiniInfo userInfo_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///用户
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.UserMiniInfo UserInfo {
|
|
|
|
|
get { return userInfo_; }
|
|
|
|
|
set {
|
|
|
|
|
userInfo_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Update_UserInfo_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Update_UserInfo_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (!object.Equals(UserInfo, other.UserInfo)) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (userInfo_ != null) hash ^= UserInfo.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (userInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(UserInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (userInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(UserInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (userInfo_ != null) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(UserInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Update_UserInfo_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.userInfo_ != null) {
|
|
|
|
|
if (userInfo_ == null) {
|
|
|
|
|
UserInfo = new global::AxibugProtobuf.UserMiniInfo();
|
|
|
|
|
}
|
|
|
|
|
UserInfo.MergeFrom(other.UserInfo);
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
if (userInfo_ == null) {
|
|
|
|
|
UserInfo = new global::AxibugProtobuf.UserMiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(UserInfo);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
case 10: {
|
|
|
|
|
if (userInfo_ == null) {
|
|
|
|
|
UserInfo = new global::AxibugProtobuf.UserMiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(UserInfo);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
///其他用户信息更新
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// </summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public sealed partial class Protobuf_Update_OtherUserInfo_RESP : pb::IMessage<Protobuf_Update_OtherUserInfo_RESP>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-11-28 16:55:12 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Update_OtherUserInfo_RESP> _parser = new pb::MessageParser<Protobuf_Update_OtherUserInfo_RESP>(() => new Protobuf_Update_OtherUserInfo_RESP());
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Update_OtherUserInfo_RESP> Parser { get { return _parser; } }
|
2024-08-21 11:04:53 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[15]; }
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public Protobuf_Update_OtherUserInfo_RESP() {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public Protobuf_Update_OtherUserInfo_RESP(Protobuf_Update_OtherUserInfo_RESP other) : this() {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
uID_ = other.uID_;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
userInfo_ = other.userInfo_ != null ? other.userInfo_.Clone() : null;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public Protobuf_Update_OtherUserInfo_RESP Clone() {
|
|
|
|
|
return new Protobuf_Update_OtherUserInfo_RESP(this);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-11-28 16:55:12 +08:00
|
|
|
|
/// <summary>Field number for the "UID" field.</summary>
|
|
|
|
|
public const int UIDFieldNumber = 1;
|
|
|
|
|
private long uID_;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
///用户ID
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public long UID {
|
|
|
|
|
get { return uID_; }
|
2024-08-21 11:04:53 +08:00
|
|
|
|
set {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
uID_ = value;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-28 16:55:12 +08:00
|
|
|
|
/// <summary>Field number for the "UserInfo" field.</summary>
|
|
|
|
|
public const int UserInfoFieldNumber = 2;
|
|
|
|
|
private global::AxibugProtobuf.UserMiniInfo userInfo_;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>
|
2024-11-28 16:55:12 +08:00
|
|
|
|
///用户
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public global::AxibugProtobuf.UserMiniInfo UserInfo {
|
|
|
|
|
get { return userInfo_; }
|
2024-08-21 11:04:53 +08:00
|
|
|
|
set {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
userInfo_ = value;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
return Equals(other as Protobuf_Update_OtherUserInfo_RESP);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public bool Equals(Protobuf_Update_OtherUserInfo_RESP other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (UID != other.UID) return false;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (!object.Equals(UserInfo, other.UserInfo)) return false;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (UID != 0L) hash ^= UID.GetHashCode();
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (userInfo_ != null) hash ^= UserInfo.GetHashCode();
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (UID != 0L) {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
output.WriteRawTag(8);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteInt64(UID);
|
|
|
|
|
}
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (userInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteMessage(UserInfo);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (UID != 0L) {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
output.WriteRawTag(8);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteInt64(UID);
|
|
|
|
|
}
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (userInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteMessage(UserInfo);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (UID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(UID);
|
|
|
|
|
}
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (userInfo_ != null) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(UserInfo);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-11-28 16:55:12 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Update_OtherUserInfo_RESP other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.UID != 0L) {
|
|
|
|
|
UID = other.UID;
|
|
|
|
|
}
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (other.userInfo_ != null) {
|
|
|
|
|
if (userInfo_ == null) {
|
|
|
|
|
UserInfo = new global::AxibugProtobuf.UserMiniInfo();
|
|
|
|
|
}
|
|
|
|
|
UserInfo.MergeFrom(other.UserInfo);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
case 8: {
|
|
|
|
|
UID = input.ReadInt64();
|
2024-08-21 11:04:53 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (userInfo_ == null) {
|
|
|
|
|
UserInfo = new global::AxibugProtobuf.UserMiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(UserInfo);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-11-28 16:55:12 +08:00
|
|
|
|
case 8: {
|
|
|
|
|
UID = input.ReadInt64();
|
2024-08-21 11:04:53 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
if (userInfo_ == null) {
|
|
|
|
|
UserInfo = new global::AxibugProtobuf.UserMiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(UserInfo);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public sealed partial class Protobuf_Room_List : pb::IMessage<Protobuf_Room_List>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_List> _parser = new pb::MessageParser<Protobuf_Room_List>(() => new Protobuf_Room_List());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Room_List> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[16]; }
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_List() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_List(Protobuf_Room_List other) : this() {
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_List Clone() {
|
|
|
|
|
return new Protobuf_Room_List(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Room_List);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Room_List other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Room_List other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public sealed partial class Protobuf_Room_List_RESP : pb::IMessage<Protobuf_Room_List_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_List_RESP> _parser = new pb::MessageParser<Protobuf_Room_List_RESP>(() => new Protobuf_Room_List_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Room_List_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[17]; }
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_List_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_List_RESP(Protobuf_Room_List_RESP other) : this() {
|
|
|
|
|
roomMiniInfoList_ = other.roomMiniInfoList_.Clone();
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_List_RESP Clone() {
|
|
|
|
|
return new Protobuf_Room_List_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RoomMiniInfoList" field.</summary>
|
|
|
|
|
public const int RoomMiniInfoListFieldNumber = 1;
|
|
|
|
|
private static readonly pb::FieldCodec<global::AxibugProtobuf.Protobuf_Room_MiniInfo> _repeated_roomMiniInfoList_codec
|
|
|
|
|
= pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.Protobuf_Room_MiniInfo.Parser);
|
|
|
|
|
private readonly pbc::RepeatedField<global::AxibugProtobuf.Protobuf_Room_MiniInfo> roomMiniInfoList_ = new pbc::RepeatedField<global::AxibugProtobuf.Protobuf_Room_MiniInfo>();
|
|
|
|
|
/// <summary>
|
|
|
|
|
///房间列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public pbc::RepeatedField<global::AxibugProtobuf.Protobuf_Room_MiniInfo> RoomMiniInfoList {
|
|
|
|
|
get { return roomMiniInfoList_; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Room_List_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Room_List_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if(!roomMiniInfoList_.Equals(other.roomMiniInfoList_)) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
hash ^= roomMiniInfoList_.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
roomMiniInfoList_.WriteTo(output, _repeated_roomMiniInfoList_codec);
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
roomMiniInfoList_.WriteTo(ref output, _repeated_roomMiniInfoList_codec);
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
size += roomMiniInfoList_.CalculateSize(_repeated_roomMiniInfoList_codec);
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Room_List_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
roomMiniInfoList_.Add(other.roomMiniInfoList_);
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
roomMiniInfoList_.AddEntriesFrom(input, _repeated_roomMiniInfoList_codec);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
roomMiniInfoList_.AddEntriesFrom(ref input, _repeated_roomMiniInfoList_codec);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public sealed partial class Protobuf_Room_MiniInfo : pb::IMessage<Protobuf_Room_MiniInfo>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_MiniInfo> _parser = new pb::MessageParser<Protobuf_Room_MiniInfo>(() => new Protobuf_Room_MiniInfo());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Room_MiniInfo> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[18]; }
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_MiniInfo() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_MiniInfo(Protobuf_Room_MiniInfo other) : this() {
|
|
|
|
|
roomID_ = other.roomID_;
|
|
|
|
|
gameRomID_ = other.gameRomID_;
|
|
|
|
|
gameRomHash_ = other.gameRomHash_;
|
2024-09-12 13:41:19 +08:00
|
|
|
|
hostPlayerUID_ = other.hostPlayerUID_;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
gameState_ = other.gameState_;
|
|
|
|
|
obsUserCount_ = other.obsUserCount_;
|
|
|
|
|
player1UID_ = other.player1UID_;
|
|
|
|
|
player1NickName_ = other.player1NickName_;
|
|
|
|
|
player2UID_ = other.player2UID_;
|
|
|
|
|
player2NickName_ = other.player2NickName_;
|
2024-09-12 13:41:19 +08:00
|
|
|
|
player3UID_ = other.player3UID_;
|
|
|
|
|
player3NickName_ = other.player3NickName_;
|
|
|
|
|
player4UID_ = other.player4UID_;
|
|
|
|
|
player4NickName_ = other.player4NickName_;
|
|
|
|
|
screenProviderUID_ = other.screenProviderUID_;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_MiniInfo Clone() {
|
|
|
|
|
return new Protobuf_Room_MiniInfo(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RoomID" field.</summary>
|
|
|
|
|
public const int RoomIDFieldNumber = 1;
|
|
|
|
|
private int roomID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///房间ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int RoomID {
|
|
|
|
|
get { return roomID_; }
|
|
|
|
|
set {
|
|
|
|
|
roomID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "GameRomID" field.</summary>
|
|
|
|
|
public const int GameRomIDFieldNumber = 2;
|
|
|
|
|
private int gameRomID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///游戏ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int GameRomID {
|
|
|
|
|
get { return gameRomID_; }
|
|
|
|
|
set {
|
|
|
|
|
gameRomID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "GameRomHash" field.</summary>
|
|
|
|
|
public const int GameRomHashFieldNumber = 3;
|
|
|
|
|
private string gameRomHash_ = "";
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string GameRomHash {
|
|
|
|
|
get { return gameRomHash_; }
|
|
|
|
|
set {
|
|
|
|
|
gameRomHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-12 13:41:19 +08:00
|
|
|
|
/// <summary>Field number for the "HostPlayerUID" field.</summary>
|
|
|
|
|
public const int HostPlayerUIDFieldNumber = 4;
|
|
|
|
|
private long hostPlayerUID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///主机玩家ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long HostPlayerUID {
|
|
|
|
|
get { return hostPlayerUID_; }
|
|
|
|
|
set {
|
|
|
|
|
hostPlayerUID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>Field number for the "GameState" field.</summary>
|
|
|
|
|
public const int GameStateFieldNumber = 5;
|
|
|
|
|
private global::AxibugProtobuf.RoomGameState gameState_ = global::AxibugProtobuf.RoomGameState.NoneGameState;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///游戏状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.RoomGameState GameState {
|
|
|
|
|
get { return gameState_; }
|
|
|
|
|
set {
|
|
|
|
|
gameState_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "ObsUserCount" field.</summary>
|
|
|
|
|
public const int ObsUserCountFieldNumber = 6;
|
|
|
|
|
private int obsUserCount_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///观战用户数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int ObsUserCount {
|
|
|
|
|
get { return obsUserCount_; }
|
|
|
|
|
set {
|
|
|
|
|
obsUserCount_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Player1_UID" field.</summary>
|
|
|
|
|
public const int Player1UIDFieldNumber = 7;
|
|
|
|
|
private long player1UID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///玩家1 UID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long Player1UID {
|
|
|
|
|
get { return player1UID_; }
|
|
|
|
|
set {
|
|
|
|
|
player1UID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Player1_NickName" field.</summary>
|
|
|
|
|
public const int Player1NickNameFieldNumber = 8;
|
|
|
|
|
private string player1NickName_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///玩家1 昵称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string Player1NickName {
|
|
|
|
|
get { return player1NickName_; }
|
|
|
|
|
set {
|
|
|
|
|
player1NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Player2_UID" field.</summary>
|
|
|
|
|
public const int Player2UIDFieldNumber = 9;
|
|
|
|
|
private long player2UID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///玩家2 UID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long Player2UID {
|
|
|
|
|
get { return player2UID_; }
|
|
|
|
|
set {
|
|
|
|
|
player2UID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Player2_NickName" field.</summary>
|
|
|
|
|
public const int Player2NickNameFieldNumber = 10;
|
|
|
|
|
private string player2NickName_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///玩家2 昵称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string Player2NickName {
|
|
|
|
|
get { return player2NickName_; }
|
|
|
|
|
set {
|
|
|
|
|
player2NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-12 13:41:19 +08:00
|
|
|
|
/// <summary>Field number for the "Player3_UID" field.</summary>
|
|
|
|
|
public const int Player3UIDFieldNumber = 11;
|
|
|
|
|
private long player3UID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///玩家3 UID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long Player3UID {
|
|
|
|
|
get { return player3UID_; }
|
|
|
|
|
set {
|
|
|
|
|
player3UID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Player3_NickName" field.</summary>
|
|
|
|
|
public const int Player3NickNameFieldNumber = 12;
|
|
|
|
|
private string player3NickName_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///玩家3 昵称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string Player3NickName {
|
|
|
|
|
get { return player3NickName_; }
|
|
|
|
|
set {
|
|
|
|
|
player3NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Player4_UID" field.</summary>
|
|
|
|
|
public const int Player4UIDFieldNumber = 13;
|
|
|
|
|
private long player4UID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///玩家4 UID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long Player4UID {
|
|
|
|
|
get { return player4UID_; }
|
|
|
|
|
set {
|
|
|
|
|
player4UID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "Player4_NickName" field.</summary>
|
|
|
|
|
public const int Player4NickNameFieldNumber = 14;
|
|
|
|
|
private string player4NickName_ = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///玩家4 昵称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string Player4NickName {
|
|
|
|
|
get { return player4NickName_; }
|
|
|
|
|
set {
|
|
|
|
|
player4NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "ScreenProviderUID" field.</summary>
|
|
|
|
|
public const int ScreenProviderUIDFieldNumber = 15;
|
|
|
|
|
private long screenProviderUID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///屏幕数据供应者
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public long ScreenProviderUID {
|
|
|
|
|
get { return screenProviderUID_; }
|
|
|
|
|
set {
|
|
|
|
|
screenProviderUID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Room_MiniInfo);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Room_MiniInfo other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (RoomID != other.RoomID) return false;
|
|
|
|
|
if (GameRomID != other.GameRomID) return false;
|
|
|
|
|
if (GameRomHash != other.GameRomHash) return false;
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (HostPlayerUID != other.HostPlayerUID) return false;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (GameState != other.GameState) return false;
|
|
|
|
|
if (ObsUserCount != other.ObsUserCount) return false;
|
|
|
|
|
if (Player1UID != other.Player1UID) return false;
|
|
|
|
|
if (Player1NickName != other.Player1NickName) return false;
|
|
|
|
|
if (Player2UID != other.Player2UID) return false;
|
|
|
|
|
if (Player2NickName != other.Player2NickName) return false;
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (Player3UID != other.Player3UID) return false;
|
|
|
|
|
if (Player3NickName != other.Player3NickName) return false;
|
|
|
|
|
if (Player4UID != other.Player4UID) return false;
|
|
|
|
|
if (Player4NickName != other.Player4NickName) return false;
|
|
|
|
|
if (ScreenProviderUID != other.ScreenProviderUID) return false;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (RoomID != 0) hash ^= RoomID.GetHashCode();
|
|
|
|
|
if (GameRomID != 0) hash ^= GameRomID.GetHashCode();
|
|
|
|
|
if (GameRomHash.Length != 0) hash ^= GameRomHash.GetHashCode();
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (HostPlayerUID != 0L) hash ^= HostPlayerUID.GetHashCode();
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (GameState != global::AxibugProtobuf.RoomGameState.NoneGameState) hash ^= GameState.GetHashCode();
|
|
|
|
|
if (ObsUserCount != 0) hash ^= ObsUserCount.GetHashCode();
|
|
|
|
|
if (Player1UID != 0L) hash ^= Player1UID.GetHashCode();
|
|
|
|
|
if (Player1NickName.Length != 0) hash ^= Player1NickName.GetHashCode();
|
|
|
|
|
if (Player2UID != 0L) hash ^= Player2UID.GetHashCode();
|
|
|
|
|
if (Player2NickName.Length != 0) hash ^= Player2NickName.GetHashCode();
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (Player3UID != 0L) hash ^= Player3UID.GetHashCode();
|
|
|
|
|
if (Player3NickName.Length != 0) hash ^= Player3NickName.GetHashCode();
|
|
|
|
|
if (Player4UID != 0L) hash ^= Player4UID.GetHashCode();
|
|
|
|
|
if (Player4NickName.Length != 0) hash ^= Player4NickName.GetHashCode();
|
|
|
|
|
if (ScreenProviderUID != 0L) hash ^= ScreenProviderUID.GetHashCode();
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (GameRomID != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(GameRomID);
|
|
|
|
|
}
|
|
|
|
|
if (GameRomHash.Length != 0) {
|
|
|
|
|
output.WriteRawTag(26);
|
|
|
|
|
output.WriteString(GameRomHash);
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (HostPlayerUID != 0L) {
|
|
|
|
|
output.WriteRawTag(32);
|
|
|
|
|
output.WriteInt64(HostPlayerUID);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (GameState != global::AxibugProtobuf.RoomGameState.NoneGameState) {
|
|
|
|
|
output.WriteRawTag(40);
|
|
|
|
|
output.WriteEnum((int) GameState);
|
|
|
|
|
}
|
|
|
|
|
if (ObsUserCount != 0) {
|
|
|
|
|
output.WriteRawTag(48);
|
|
|
|
|
output.WriteInt32(ObsUserCount);
|
|
|
|
|
}
|
|
|
|
|
if (Player1UID != 0L) {
|
|
|
|
|
output.WriteRawTag(56);
|
|
|
|
|
output.WriteInt64(Player1UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player1NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(66);
|
|
|
|
|
output.WriteString(Player1NickName);
|
|
|
|
|
}
|
|
|
|
|
if (Player2UID != 0L) {
|
|
|
|
|
output.WriteRawTag(72);
|
|
|
|
|
output.WriteInt64(Player2UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player2NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(82);
|
|
|
|
|
output.WriteString(Player2NickName);
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (Player3UID != 0L) {
|
|
|
|
|
output.WriteRawTag(88);
|
|
|
|
|
output.WriteInt64(Player3UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player3NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(98);
|
|
|
|
|
output.WriteString(Player3NickName);
|
|
|
|
|
}
|
|
|
|
|
if (Player4UID != 0L) {
|
|
|
|
|
output.WriteRawTag(104);
|
|
|
|
|
output.WriteInt64(Player4UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player4NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(114);
|
|
|
|
|
output.WriteString(Player4NickName);
|
|
|
|
|
}
|
|
|
|
|
if (ScreenProviderUID != 0L) {
|
|
|
|
|
output.WriteRawTag(120);
|
|
|
|
|
output.WriteInt64(ScreenProviderUID);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (GameRomID != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(GameRomID);
|
|
|
|
|
}
|
|
|
|
|
if (GameRomHash.Length != 0) {
|
|
|
|
|
output.WriteRawTag(26);
|
|
|
|
|
output.WriteString(GameRomHash);
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (HostPlayerUID != 0L) {
|
|
|
|
|
output.WriteRawTag(32);
|
|
|
|
|
output.WriteInt64(HostPlayerUID);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (GameState != global::AxibugProtobuf.RoomGameState.NoneGameState) {
|
|
|
|
|
output.WriteRawTag(40);
|
|
|
|
|
output.WriteEnum((int) GameState);
|
|
|
|
|
}
|
|
|
|
|
if (ObsUserCount != 0) {
|
|
|
|
|
output.WriteRawTag(48);
|
|
|
|
|
output.WriteInt32(ObsUserCount);
|
|
|
|
|
}
|
|
|
|
|
if (Player1UID != 0L) {
|
|
|
|
|
output.WriteRawTag(56);
|
|
|
|
|
output.WriteInt64(Player1UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player1NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(66);
|
|
|
|
|
output.WriteString(Player1NickName);
|
|
|
|
|
}
|
|
|
|
|
if (Player2UID != 0L) {
|
|
|
|
|
output.WriteRawTag(72);
|
|
|
|
|
output.WriteInt64(Player2UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player2NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(82);
|
|
|
|
|
output.WriteString(Player2NickName);
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (Player3UID != 0L) {
|
|
|
|
|
output.WriteRawTag(88);
|
|
|
|
|
output.WriteInt64(Player3UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player3NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(98);
|
|
|
|
|
output.WriteString(Player3NickName);
|
|
|
|
|
}
|
|
|
|
|
if (Player4UID != 0L) {
|
|
|
|
|
output.WriteRawTag(104);
|
|
|
|
|
output.WriteInt64(Player4UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player4NickName.Length != 0) {
|
|
|
|
|
output.WriteRawTag(114);
|
|
|
|
|
output.WriteString(Player4NickName);
|
|
|
|
|
}
|
|
|
|
|
if (ScreenProviderUID != 0L) {
|
|
|
|
|
output.WriteRawTag(120);
|
|
|
|
|
output.WriteInt64(ScreenProviderUID);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (GameRomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameRomID);
|
|
|
|
|
}
|
|
|
|
|
if (GameRomHash.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameRomHash);
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (HostPlayerUID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(HostPlayerUID);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (GameState != global::AxibugProtobuf.RoomGameState.NoneGameState) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GameState);
|
|
|
|
|
}
|
|
|
|
|
if (ObsUserCount != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ObsUserCount);
|
|
|
|
|
}
|
|
|
|
|
if (Player1UID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player1UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player1NickName.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Player1NickName);
|
|
|
|
|
}
|
|
|
|
|
if (Player2UID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player2UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player2NickName.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Player2NickName);
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (Player3UID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player3UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player3NickName.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Player3NickName);
|
|
|
|
|
}
|
|
|
|
|
if (Player4UID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player4UID);
|
|
|
|
|
}
|
|
|
|
|
if (Player4NickName.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Player4NickName);
|
|
|
|
|
}
|
|
|
|
|
if (ScreenProviderUID != 0L) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(ScreenProviderUID);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Room_MiniInfo other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.RoomID != 0) {
|
|
|
|
|
RoomID = other.RoomID;
|
|
|
|
|
}
|
|
|
|
|
if (other.GameRomID != 0) {
|
|
|
|
|
GameRomID = other.GameRomID;
|
|
|
|
|
}
|
|
|
|
|
if (other.GameRomHash.Length != 0) {
|
|
|
|
|
GameRomHash = other.GameRomHash;
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (other.HostPlayerUID != 0L) {
|
|
|
|
|
HostPlayerUID = other.HostPlayerUID;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.GameState != global::AxibugProtobuf.RoomGameState.NoneGameState) {
|
|
|
|
|
GameState = other.GameState;
|
|
|
|
|
}
|
|
|
|
|
if (other.ObsUserCount != 0) {
|
|
|
|
|
ObsUserCount = other.ObsUserCount;
|
|
|
|
|
}
|
|
|
|
|
if (other.Player1UID != 0L) {
|
|
|
|
|
Player1UID = other.Player1UID;
|
|
|
|
|
}
|
|
|
|
|
if (other.Player1NickName.Length != 0) {
|
|
|
|
|
Player1NickName = other.Player1NickName;
|
|
|
|
|
}
|
|
|
|
|
if (other.Player2UID != 0L) {
|
|
|
|
|
Player2UID = other.Player2UID;
|
|
|
|
|
}
|
|
|
|
|
if (other.Player2NickName.Length != 0) {
|
|
|
|
|
Player2NickName = other.Player2NickName;
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
if (other.Player3UID != 0L) {
|
|
|
|
|
Player3UID = other.Player3UID;
|
|
|
|
|
}
|
|
|
|
|
if (other.Player3NickName.Length != 0) {
|
|
|
|
|
Player3NickName = other.Player3NickName;
|
|
|
|
|
}
|
|
|
|
|
if (other.Player4UID != 0L) {
|
|
|
|
|
Player4UID = other.Player4UID;
|
|
|
|
|
}
|
|
|
|
|
if (other.Player4NickName.Length != 0) {
|
|
|
|
|
Player4NickName = other.Player4NickName;
|
|
|
|
|
}
|
|
|
|
|
if (other.ScreenProviderUID != 0L) {
|
|
|
|
|
ScreenProviderUID = other.ScreenProviderUID;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
GameRomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
GameRomHash = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
case 32: {
|
|
|
|
|
HostPlayerUID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 40: {
|
|
|
|
|
GameState = (global::AxibugProtobuf.RoomGameState) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 48: {
|
|
|
|
|
ObsUserCount = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 56: {
|
|
|
|
|
Player1UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 66: {
|
|
|
|
|
Player1NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 72: {
|
|
|
|
|
Player2UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 82: {
|
|
|
|
|
Player2NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
case 88: {
|
|
|
|
|
Player3UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 98: {
|
|
|
|
|
Player3NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 104: {
|
|
|
|
|
Player4UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 114: {
|
|
|
|
|
Player4NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 120: {
|
|
|
|
|
ScreenProviderUID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
GameRomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
GameRomHash = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
case 32: {
|
|
|
|
|
HostPlayerUID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 40: {
|
|
|
|
|
GameState = (global::AxibugProtobuf.RoomGameState) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 48: {
|
|
|
|
|
ObsUserCount = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 56: {
|
|
|
|
|
Player1UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 66: {
|
|
|
|
|
Player1NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 72: {
|
|
|
|
|
Player2UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 82: {
|
|
|
|
|
Player2NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-09-12 13:41:19 +08:00
|
|
|
|
case 88: {
|
|
|
|
|
Player3UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 98: {
|
|
|
|
|
Player3NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 104: {
|
|
|
|
|
Player4UID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 114: {
|
|
|
|
|
Player4NickName = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 120: {
|
|
|
|
|
ScreenProviderUID = input.ReadInt64();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public sealed partial class Protobuf_Room_Update_RESP : pb::IMessage<Protobuf_Room_Update_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Update_RESP> _parser = new pb::MessageParser<Protobuf_Room_Update_RESP>(() => new Protobuf_Room_Update_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Update_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[19]; }
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_Update_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_Update_RESP(Protobuf_Room_Update_RESP other) : this() {
|
|
|
|
|
updateType_ = other.updateType_;
|
|
|
|
|
roomMiniInfo_ = other.roomMiniInfo_ != null ? other.roomMiniInfo_.Clone() : null;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_Update_RESP Clone() {
|
|
|
|
|
return new Protobuf_Room_Update_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "UpdateType" field.</summary>
|
|
|
|
|
public const int UpdateTypeFieldNumber = 1;
|
|
|
|
|
private int updateType_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///[0] 更新或新增 [1] 删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int UpdateType {
|
|
|
|
|
get { return updateType_; }
|
|
|
|
|
set {
|
|
|
|
|
updateType_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RoomMiniInfo" field.</summary>
|
|
|
|
|
public const int RoomMiniInfoFieldNumber = 2;
|
|
|
|
|
private global::AxibugProtobuf.Protobuf_Room_MiniInfo roomMiniInfo_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///房间信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.Protobuf_Room_MiniInfo RoomMiniInfo {
|
|
|
|
|
get { return roomMiniInfo_; }
|
|
|
|
|
set {
|
|
|
|
|
roomMiniInfo_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Room_Update_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Room_Update_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (UpdateType != other.UpdateType) return false;
|
|
|
|
|
if (!object.Equals(RoomMiniInfo, other.RoomMiniInfo)) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (UpdateType != 0) hash ^= UpdateType.GetHashCode();
|
|
|
|
|
if (roomMiniInfo_ != null) hash ^= RoomMiniInfo.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (UpdateType != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(UpdateType);
|
|
|
|
|
}
|
|
|
|
|
if (roomMiniInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteMessage(RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (UpdateType != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(UpdateType);
|
|
|
|
|
}
|
|
|
|
|
if (roomMiniInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteMessage(RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (UpdateType != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UpdateType);
|
|
|
|
|
}
|
|
|
|
|
if (roomMiniInfo_ != null) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Room_Update_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.UpdateType != 0) {
|
|
|
|
|
UpdateType = other.UpdateType;
|
|
|
|
|
}
|
|
|
|
|
if (other.roomMiniInfo_ != null) {
|
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
RoomMiniInfo.MergeFrom(other.RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
UpdateType = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(RoomMiniInfo);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
UpdateType = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(RoomMiniInfo);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public sealed partial class Protobuf_Screnn_Frame : pb::IMessage<Protobuf_Screnn_Frame>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Screnn_Frame> _parser = new pb::MessageParser<Protobuf_Screnn_Frame>(() => new Protobuf_Screnn_Frame());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Screnn_Frame> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[20]; }
|
2024-08-21 11:04:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Screnn_Frame() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Screnn_Frame(Protobuf_Screnn_Frame other) : this() {
|
|
|
|
|
roomID_ = other.roomID_;
|
|
|
|
|
frameID_ = other.frameID_;
|
|
|
|
|
rawBitmap_ = other.rawBitmap_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Screnn_Frame Clone() {
|
|
|
|
|
return new Protobuf_Screnn_Frame(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RoomID" field.</summary>
|
|
|
|
|
public const int RoomIDFieldNumber = 1;
|
|
|
|
|
private int roomID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///房间ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int RoomID {
|
|
|
|
|
get { return roomID_; }
|
|
|
|
|
set {
|
|
|
|
|
roomID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "FrameID" field.</summary>
|
|
|
|
|
public const int FrameIDFieldNumber = 2;
|
|
|
|
|
private int frameID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///帧编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int FrameID {
|
|
|
|
|
get { return frameID_; }
|
|
|
|
|
set {
|
|
|
|
|
frameID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RawBitmap" field.</summary>
|
|
|
|
|
public const int RawBitmapFieldNumber = 3;
|
|
|
|
|
private pb::ByteString rawBitmap_ = pb::ByteString.Empty;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///渲染层画面
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public pb::ByteString RawBitmap {
|
|
|
|
|
get { return rawBitmap_; }
|
|
|
|
|
set {
|
|
|
|
|
rawBitmap_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Screnn_Frame);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Screnn_Frame other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (RoomID != other.RoomID) return false;
|
|
|
|
|
if (FrameID != other.FrameID) return false;
|
|
|
|
|
if (RawBitmap != other.RawBitmap) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (RoomID != 0) hash ^= RoomID.GetHashCode();
|
|
|
|
|
if (FrameID != 0) hash ^= FrameID.GetHashCode();
|
|
|
|
|
if (RawBitmap.Length != 0) hash ^= RawBitmap.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(FrameID);
|
|
|
|
|
}
|
|
|
|
|
if (RawBitmap.Length != 0) {
|
|
|
|
|
output.WriteRawTag(26);
|
|
|
|
|
output.WriteBytes(RawBitmap);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(FrameID);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (RawBitmap.Length != 0) {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
output.WriteRawTag(26);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteBytes(RawBitmap);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomID);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FrameID);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (RawBitmap.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(RawBitmap);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Screnn_Frame other) {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.RoomID != 0) {
|
|
|
|
|
RoomID = other.RoomID;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.FrameID != 0) {
|
|
|
|
|
FrameID = other.FrameID;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.RawBitmap.Length != 0) {
|
|
|
|
|
RawBitmap = other.RawBitmap;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 8: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 16: {
|
|
|
|
|
FrameID = input.ReadInt32();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
RawBitmap = input.ReadBytes();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 8: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 16: {
|
|
|
|
|
FrameID = input.ReadInt32();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
RawBitmap = input.ReadBytes();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_SinglePlayerInputData : pb::IMessage<Protobuf_Room_SinglePlayerInputData>
|
2024-06-28 17:43:55 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_SinglePlayerInputData> _parser = new pb::MessageParser<Protobuf_Room_SinglePlayerInputData>(() => new Protobuf_Room_SinglePlayerInputData());
|
2024-06-28 17:43:55 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_SinglePlayerInputData> Parser { get { return _parser; } }
|
2024-06-28 17:43:55 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[21]; }
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_SinglePlayerInputData() {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_SinglePlayerInputData(Protobuf_Room_SinglePlayerInputData other) : this() {
|
|
|
|
|
frameID_ = other.frameID_;
|
|
|
|
|
inputData_ = other.inputData_;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_SinglePlayerInputData Clone() {
|
|
|
|
|
return new Protobuf_Room_SinglePlayerInputData(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "FrameID" field.</summary>
|
|
|
|
|
public const int FrameIDFieldNumber = 1;
|
|
|
|
|
private uint frameID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///帧编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public uint FrameID {
|
|
|
|
|
get { return frameID_; }
|
|
|
|
|
set {
|
|
|
|
|
frameID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "InputData" field.</summary>
|
|
|
|
|
public const int InputDataFieldNumber = 2;
|
|
|
|
|
private uint inputData_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///单个玩家操作位运算汇总
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public uint InputData {
|
|
|
|
|
get { return inputData_; }
|
|
|
|
|
set {
|
|
|
|
|
inputData_ = value;
|
|
|
|
|
}
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-07-09 17:22:09 +08:00
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_SinglePlayerInputData);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_SinglePlayerInputData other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != other.FrameID) return false;
|
|
|
|
|
if (InputData != other.InputData) return false;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-07-09 17:22:09 +08:00
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != 0) hash ^= FrameID.GetHashCode();
|
|
|
|
|
if (InputData != 0) hash ^= InputData.GetHashCode();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteUInt32(FrameID);
|
|
|
|
|
}
|
|
|
|
|
if (InputData != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteUInt32(InputData);
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteUInt32(FrameID);
|
|
|
|
|
}
|
|
|
|
|
if (InputData != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteUInt32(InputData);
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FrameID);
|
|
|
|
|
}
|
|
|
|
|
if (InputData != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(InputData);
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_SinglePlayerInputData other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.FrameID != 0) {
|
|
|
|
|
FrameID = other.FrameID;
|
|
|
|
|
}
|
|
|
|
|
if (other.InputData != 0) {
|
|
|
|
|
InputData = other.InputData;
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 8: {
|
|
|
|
|
FrameID = input.ReadUInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
InputData = input.ReadUInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 8: {
|
|
|
|
|
FrameID = input.ReadUInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
InputData = input.ReadUInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 17:59:55 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_Syn_RoomFrameAllInputData : pb::IMessage<Protobuf_Room_Syn_RoomFrameAllInputData>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 17:59:55 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Syn_RoomFrameAllInputData> _parser = new pb::MessageParser<Protobuf_Room_Syn_RoomFrameAllInputData>(() => new Protobuf_Room_Syn_RoomFrameAllInputData());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 17:59:55 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Syn_RoomFrameAllInputData> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[22]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 17:59:55 +08:00
|
|
|
|
public Protobuf_Room_Syn_RoomFrameAllInputData() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 17:59:55 +08:00
|
|
|
|
public Protobuf_Room_Syn_RoomFrameAllInputData(Protobuf_Room_Syn_RoomFrameAllInputData other) : this() {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
frameID_ = other.frameID_;
|
|
|
|
|
inputData_ = other.inputData_;
|
2024-09-13 13:41:04 +08:00
|
|
|
|
serverFrameID_ = other.serverFrameID_;
|
2024-12-04 13:54:30 +08:00
|
|
|
|
serverForwardCount_ = other.serverForwardCount_;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 17:59:55 +08:00
|
|
|
|
public Protobuf_Room_Syn_RoomFrameAllInputData Clone() {
|
|
|
|
|
return new Protobuf_Room_Syn_RoomFrameAllInputData(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>Field number for the "FrameID" field.</summary>
|
|
|
|
|
public const int FrameIDFieldNumber = 1;
|
|
|
|
|
private uint frameID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///帧编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public uint FrameID {
|
|
|
|
|
get { return frameID_; }
|
|
|
|
|
set {
|
|
|
|
|
frameID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "InputData" field.</summary>
|
|
|
|
|
public const int InputDataFieldNumber = 2;
|
|
|
|
|
private ulong inputData_;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///所有玩家操作位运算汇总
|
2024-06-28 17:43:55 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public ulong InputData {
|
|
|
|
|
get { return inputData_; }
|
|
|
|
|
set {
|
|
|
|
|
inputData_ = value;
|
|
|
|
|
}
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-09-13 13:41:04 +08:00
|
|
|
|
/// <summary>Field number for the "ServerFrameID" field.</summary>
|
|
|
|
|
public const int ServerFrameIDFieldNumber = 3;
|
|
|
|
|
private uint serverFrameID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///服务器帧编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public uint ServerFrameID {
|
|
|
|
|
get { return serverFrameID_; }
|
|
|
|
|
set {
|
|
|
|
|
serverFrameID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-04 13:54:30 +08:00
|
|
|
|
/// <summary>Field number for the "ServerForwardCount" field.</summary>
|
|
|
|
|
public const int ServerForwardCountFieldNumber = 4;
|
|
|
|
|
private uint serverForwardCount_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///服务器提前量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public uint ServerForwardCount {
|
|
|
|
|
get { return serverForwardCount_; }
|
|
|
|
|
set {
|
|
|
|
|
serverForwardCount_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-28 17:43:55 +08:00
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 17:59:55 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_Syn_RoomFrameAllInputData);
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 17:59:55 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_Syn_RoomFrameAllInputData other) {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != other.FrameID) return false;
|
|
|
|
|
if (InputData != other.InputData) return false;
|
2024-09-13 13:41:04 +08:00
|
|
|
|
if (ServerFrameID != other.ServerFrameID) return false;
|
2024-12-04 13:54:30 +08:00
|
|
|
|
if (ServerForwardCount != other.ServerForwardCount) return false;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != 0) hash ^= FrameID.GetHashCode();
|
|
|
|
|
if (InputData != 0UL) hash ^= InputData.GetHashCode();
|
2024-09-13 13:41:04 +08:00
|
|
|
|
if (ServerFrameID != 0) hash ^= ServerFrameID.GetHashCode();
|
2024-12-04 13:54:30 +08:00
|
|
|
|
if (ServerForwardCount != 0) hash ^= ServerForwardCount.GetHashCode();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteUInt32(FrameID);
|
|
|
|
|
}
|
|
|
|
|
if (InputData != 0UL) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteUInt64(InputData);
|
|
|
|
|
}
|
2024-09-13 13:41:04 +08:00
|
|
|
|
if (ServerFrameID != 0) {
|
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
|
output.WriteUInt32(ServerFrameID);
|
|
|
|
|
}
|
2024-12-04 13:54:30 +08:00
|
|
|
|
if (ServerForwardCount != 0) {
|
|
|
|
|
output.WriteRawTag(32);
|
|
|
|
|
output.WriteUInt32(ServerForwardCount);
|
|
|
|
|
}
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteUInt32(FrameID);
|
|
|
|
|
}
|
|
|
|
|
if (InputData != 0UL) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteUInt64(InputData);
|
|
|
|
|
}
|
2024-09-13 13:41:04 +08:00
|
|
|
|
if (ServerFrameID != 0) {
|
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
|
output.WriteUInt32(ServerFrameID);
|
|
|
|
|
}
|
2024-12-04 13:54:30 +08:00
|
|
|
|
if (ServerForwardCount != 0) {
|
|
|
|
|
output.WriteRawTag(32);
|
|
|
|
|
output.WriteUInt32(ServerForwardCount);
|
|
|
|
|
}
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FrameID);
|
|
|
|
|
}
|
|
|
|
|
if (InputData != 0UL) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(InputData);
|
|
|
|
|
}
|
2024-09-13 13:41:04 +08:00
|
|
|
|
if (ServerFrameID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ServerFrameID);
|
|
|
|
|
}
|
2024-12-04 13:54:30 +08:00
|
|
|
|
if (ServerForwardCount != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ServerForwardCount);
|
|
|
|
|
}
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 17:59:55 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_Syn_RoomFrameAllInputData other) {
|
2024-06-28 17:43:55 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.FrameID != 0) {
|
|
|
|
|
FrameID = other.FrameID;
|
|
|
|
|
}
|
|
|
|
|
if (other.InputData != 0UL) {
|
|
|
|
|
InputData = other.InputData;
|
|
|
|
|
}
|
2024-09-13 13:41:04 +08:00
|
|
|
|
if (other.ServerFrameID != 0) {
|
|
|
|
|
ServerFrameID = other.ServerFrameID;
|
|
|
|
|
}
|
2024-12-04 13:54:30 +08:00
|
|
|
|
if (other.ServerForwardCount != 0) {
|
|
|
|
|
ServerForwardCount = other.ServerForwardCount;
|
|
|
|
|
}
|
2024-06-28 17:43:55 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 8: {
|
|
|
|
|
FrameID = input.ReadUInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
InputData = input.ReadUInt64();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
2024-09-13 13:41:04 +08:00
|
|
|
|
case 24: {
|
|
|
|
|
ServerFrameID = input.ReadUInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-12-04 13:54:30 +08:00
|
|
|
|
case 32: {
|
|
|
|
|
ServerForwardCount = input.ReadUInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 8: {
|
|
|
|
|
FrameID = input.ReadUInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
InputData = input.ReadUInt64();
|
2024-06-28 17:43:55 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
2024-09-13 13:41:04 +08:00
|
|
|
|
case 24: {
|
|
|
|
|
ServerFrameID = input.ReadUInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-12-04 13:54:30 +08:00
|
|
|
|
case 32: {
|
|
|
|
|
ServerForwardCount = input.ReadUInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_Create : pb::IMessage<Protobuf_Room_Create>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Create> _parser = new pb::MessageParser<Protobuf_Room_Create>(() => new Protobuf_Room_Create());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Create> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[23]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Create() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Create(Protobuf_Room_Create other) : this() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
gameRomID_ = other.gameRomID_;
|
|
|
|
|
gameRomHash_ = other.gameRomHash_;
|
2024-08-21 17:59:55 +08:00
|
|
|
|
joinPlayerIdx_ = other.joinPlayerIdx_;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Create Clone() {
|
|
|
|
|
return new Protobuf_Room_Create(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "GameRomID" field.</summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public const int GameRomIDFieldNumber = 1;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private int gameRomID_;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int GameRomID {
|
|
|
|
|
get { return gameRomID_; }
|
|
|
|
|
set {
|
|
|
|
|
gameRomID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "GameRomHash" field.</summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public const int GameRomHashFieldNumber = 2;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private string gameRomHash_ = "";
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public string GameRomHash {
|
|
|
|
|
get { return gameRomHash_; }
|
|
|
|
|
set {
|
|
|
|
|
gameRomHash_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 17:59:55 +08:00
|
|
|
|
/// <summary>Field number for the "JoinPlayerIdx" field.</summary>
|
|
|
|
|
public const int JoinPlayerIdxFieldNumber = 3;
|
|
|
|
|
private int joinPlayerIdx_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///P1~P4[0~3] 以几号位玩家创建房间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int JoinPlayerIdx {
|
|
|
|
|
get { return joinPlayerIdx_; }
|
|
|
|
|
set {
|
|
|
|
|
joinPlayerIdx_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-09 17:22:09 +08:00
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_Create);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_Create other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (GameRomID != other.GameRomID) return false;
|
|
|
|
|
if (GameRomHash != other.GameRomHash) return false;
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (JoinPlayerIdx != other.JoinPlayerIdx) return false;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (GameRomID != 0) hash ^= GameRomID.GetHashCode();
|
|
|
|
|
if (GameRomHash.Length != 0) hash ^= GameRomHash.GetHashCode();
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (JoinPlayerIdx != 0) hash ^= JoinPlayerIdx.GetHashCode();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (GameRomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(GameRomID);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (GameRomHash.Length != 0) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteString(GameRomHash);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (JoinPlayerIdx != 0) {
|
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
|
output.WriteInt32(JoinPlayerIdx);
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (GameRomID != 0) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteRawTag(8);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
output.WriteInt32(GameRomID);
|
|
|
|
|
}
|
|
|
|
|
if (GameRomHash.Length != 0) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteRawTag(18);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
output.WriteString(GameRomHash);
|
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (JoinPlayerIdx != 0) {
|
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
|
output.WriteInt32(JoinPlayerIdx);
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (GameRomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameRomID);
|
|
|
|
|
}
|
|
|
|
|
if (GameRomHash.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameRomHash);
|
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (JoinPlayerIdx != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(JoinPlayerIdx);
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_Create other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.GameRomID != 0) {
|
|
|
|
|
GameRomID = other.GameRomID;
|
|
|
|
|
}
|
|
|
|
|
if (other.GameRomHash.Length != 0) {
|
|
|
|
|
GameRomHash = other.GameRomHash;
|
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (other.JoinPlayerIdx != 0) {
|
|
|
|
|
JoinPlayerIdx = other.JoinPlayerIdx;
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
GameRomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 18: {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
GameRomHash = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
case 24: {
|
|
|
|
|
JoinPlayerIdx = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
GameRomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 18: {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
GameRomHash = input.ReadString();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
case 24: {
|
|
|
|
|
JoinPlayerIdx = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_Create_RESP : pb::IMessage<Protobuf_Room_Create_RESP>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Create_RESP> _parser = new pb::MessageParser<Protobuf_Room_Create_RESP>(() => new Protobuf_Room_Create_RESP());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Create_RESP> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[24]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Create_RESP() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Create_RESP(Protobuf_Room_Create_RESP other) : this() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
roomMiniInfo_ = other.roomMiniInfo_ != null ? other.roomMiniInfo_.Clone() : null;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Create_RESP Clone() {
|
|
|
|
|
return new Protobuf_Room_Create_RESP(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RoomMiniInfo" field.</summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public const int RoomMiniInfoFieldNumber = 1;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private global::AxibugProtobuf.Protobuf_Room_MiniInfo roomMiniInfo_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///房间信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.Protobuf_Room_MiniInfo RoomMiniInfo {
|
|
|
|
|
get { return roomMiniInfo_; }
|
|
|
|
|
set {
|
|
|
|
|
roomMiniInfo_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_Create_RESP);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_Create_RESP other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (!object.Equals(RoomMiniInfo, other.RoomMiniInfo)) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (roomMiniInfo_ != null) hash ^= RoomMiniInfo.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (roomMiniInfo_ != null) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteRawTag(10);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
output.WriteMessage(RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (roomMiniInfo_ != null) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteRawTag(10);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
output.WriteMessage(RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (roomMiniInfo_ != null) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_Create_RESP other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.roomMiniInfo_ != null) {
|
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
RoomMiniInfo.MergeFrom(other.RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 10: {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(RoomMiniInfo);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 10: {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(RoomMiniInfo);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_Join : pb::IMessage<Protobuf_Room_Join>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Join> _parser = new pb::MessageParser<Protobuf_Room_Join>(() => new Protobuf_Room_Join());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Join> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[25]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Join() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Join(Protobuf_Room_Join other) : this() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
roomID_ = other.roomID_;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
playerNum_ = other.playerNum_;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Join Clone() {
|
|
|
|
|
return new Protobuf_Room_Join(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RoomID" field.</summary>
|
|
|
|
|
public const int RoomIDFieldNumber = 1;
|
|
|
|
|
private int roomID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///房间ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int RoomID {
|
|
|
|
|
get { return roomID_; }
|
|
|
|
|
set {
|
|
|
|
|
roomID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>Field number for the "PlayerNum" field.</summary>
|
|
|
|
|
public const int PlayerNumFieldNumber = 2;
|
|
|
|
|
private int playerNum_;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///玩家编号 [0]1号玩家 [1]2号玩家
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public int PlayerNum {
|
|
|
|
|
get { return playerNum_; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
set {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
playerNum_ = value;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_Join);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_Join other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (RoomID != other.RoomID) return false;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (PlayerNum != other.PlayerNum) return false;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (RoomID != 0) hash ^= RoomID.GetHashCode();
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (PlayerNum != 0) hash ^= PlayerNum.GetHashCode();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (PlayerNum != 0) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
output.WriteRawTag(16);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteInt32(PlayerNum);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (PlayerNum != 0) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
output.WriteRawTag(16);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteInt32(PlayerNum);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomID);
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (PlayerNum != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerNum);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_Join other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.RoomID != 0) {
|
|
|
|
|
RoomID = other.RoomID;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.PlayerNum != 0) {
|
|
|
|
|
PlayerNum = other.PlayerNum;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
PlayerNum = input.ReadInt32();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
PlayerNum = input.ReadInt32();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_Join_RESP : pb::IMessage<Protobuf_Room_Join_RESP>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Join_RESP> _parser = new pb::MessageParser<Protobuf_Room_Join_RESP>(() => new Protobuf_Room_Join_RESP());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Join_RESP> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[26]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Join_RESP() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Join_RESP(Protobuf_Room_Join_RESP other) : this() {
|
|
|
|
|
roomMiniInfo_ = other.roomMiniInfo_ != null ? other.roomMiniInfo_.Clone() : null;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Join_RESP Clone() {
|
|
|
|
|
return new Protobuf_Room_Join_RESP(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>Field number for the "RoomMiniInfo" field.</summary>
|
|
|
|
|
public const int RoomMiniInfoFieldNumber = 1;
|
|
|
|
|
private global::AxibugProtobuf.Protobuf_Room_MiniInfo roomMiniInfo_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///房间信息
|
|
|
|
|
/// </summary>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public global::AxibugProtobuf.Protobuf_Room_MiniInfo RoomMiniInfo {
|
|
|
|
|
get { return roomMiniInfo_; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
set {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
roomMiniInfo_ = value;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_Join_RESP);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_Join_RESP other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (!object.Equals(RoomMiniInfo, other.RoomMiniInfo)) return false;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (roomMiniInfo_ != null) hash ^= RoomMiniInfo.GetHashCode();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (roomMiniInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(RoomMiniInfo);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (roomMiniInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(RoomMiniInfo);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (roomMiniInfo_ != null) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomMiniInfo);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_Join_RESP other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.roomMiniInfo_ != null) {
|
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
RoomMiniInfo.MergeFrom(other.RoomMiniInfo);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 10: {
|
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(RoomMiniInfo);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 10: {
|
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(RoomMiniInfo);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_Leave : pb::IMessage<Protobuf_Room_Leave>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Leave> _parser = new pb::MessageParser<Protobuf_Room_Leave>(() => new Protobuf_Room_Leave());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Leave> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[27]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Leave() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Leave(Protobuf_Room_Leave other) : this() {
|
|
|
|
|
roomID_ = other.roomID_;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Leave Clone() {
|
|
|
|
|
return new Protobuf_Room_Leave(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>Field number for the "RoomID" field.</summary>
|
|
|
|
|
public const int RoomIDFieldNumber = 1;
|
|
|
|
|
private int roomID_;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///离开的房间ID
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public int RoomID {
|
|
|
|
|
get { return roomID_; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
set {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
roomID_ = value;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_Leave);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_Leave other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (RoomID != other.RoomID) return false;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (RoomID != 0) hash ^= RoomID.GetHashCode();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomID);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_Leave other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.RoomID != 0) {
|
|
|
|
|
RoomID = other.RoomID;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 8: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
case 8: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_Leave_RESP : pb::IMessage<Protobuf_Room_Leave_RESP>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Leave_RESP> _parser = new pb::MessageParser<Protobuf_Room_Leave_RESP>(() => new Protobuf_Room_Leave_RESP());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Leave_RESP> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[28]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Leave_RESP() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Leave_RESP(Protobuf_Room_Leave_RESP other) : this() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
roomID_ = other.roomID_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Leave_RESP Clone() {
|
|
|
|
|
return new Protobuf_Room_Leave_RESP(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RoomID" field.</summary>
|
|
|
|
|
public const int RoomIDFieldNumber = 1;
|
|
|
|
|
private int roomID_;
|
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///离开的房间ID
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int RoomID {
|
|
|
|
|
get { return roomID_; }
|
|
|
|
|
set {
|
|
|
|
|
roomID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_Leave_RESP);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_Leave_RESP other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (RoomID != other.RoomID) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (RoomID != 0) hash ^= RoomID.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_Leave_RESP other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.RoomID != 0) {
|
|
|
|
|
RoomID = other.RoomID;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_MyRoom_State_Change : pb::IMessage<Protobuf_Room_MyRoom_State_Change>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_MyRoom_State_Change> _parser = new pb::MessageParser<Protobuf_Room_MyRoom_State_Change>(() => new Protobuf_Room_MyRoom_State_Change());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_MyRoom_State_Change> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[29]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_MyRoom_State_Change() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_MyRoom_State_Change(Protobuf_Room_MyRoom_State_Change other) : this() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
roomMiniInfo_ = other.roomMiniInfo_ != null ? other.roomMiniInfo_.Clone() : null;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_MyRoom_State_Change Clone() {
|
|
|
|
|
return new Protobuf_Room_MyRoom_State_Change(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RoomMiniInfo" field.</summary>
|
|
|
|
|
public const int RoomMiniInfoFieldNumber = 1;
|
|
|
|
|
private global::AxibugProtobuf.Protobuf_Room_MiniInfo roomMiniInfo_;
|
|
|
|
|
/// <summary>
|
2024-08-21 11:04:53 +08:00
|
|
|
|
///更新房间信息
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.Protobuf_Room_MiniInfo RoomMiniInfo {
|
|
|
|
|
get { return roomMiniInfo_; }
|
|
|
|
|
set {
|
|
|
|
|
roomMiniInfo_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_MyRoom_State_Change);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_MyRoom_State_Change other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (!object.Equals(RoomMiniInfo, other.RoomMiniInfo)) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (roomMiniInfo_ != null) hash ^= RoomMiniInfo.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (roomMiniInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (roomMiniInfo_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (roomMiniInfo_ != null) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_MyRoom_State_Change other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.roomMiniInfo_ != null) {
|
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
RoomMiniInfo.MergeFrom(other.RoomMiniInfo);
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(RoomMiniInfo);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
if (roomMiniInfo_ == null) {
|
|
|
|
|
RoomMiniInfo = new global::AxibugProtobuf.Protobuf_Room_MiniInfo();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(RoomMiniInfo);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_WaitStep_RESP : pb::IMessage<Protobuf_Room_WaitStep_RESP>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_WaitStep_RESP> _parser = new pb::MessageParser<Protobuf_Room_WaitStep_RESP>(() => new Protobuf_Room_WaitStep_RESP());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_WaitStep_RESP> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[30]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_WaitStep_RESP() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_WaitStep_RESP(Protobuf_Room_WaitStep_RESP other) : this() {
|
|
|
|
|
waitStep_ = other.waitStep_;
|
2024-08-21 17:59:55 +08:00
|
|
|
|
loadStateRaw_ = other.loadStateRaw_;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_WaitStep_RESP Clone() {
|
|
|
|
|
return new Protobuf_Room_WaitStep_RESP(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>Field number for the "WaitStep" field.</summary>
|
|
|
|
|
public const int WaitStepFieldNumber = 1;
|
|
|
|
|
private int waitStep_;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// <summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
///状态 [0]等待主机上报即时存档 [1]要求客户端准备 [2]开始(收到本状态时,立即开始跑模拟器核心)
|
2024-07-09 17:22:09 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public int WaitStep {
|
|
|
|
|
get { return waitStep_; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
set {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
waitStep_ = value;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 17:59:55 +08:00
|
|
|
|
/// <summary>Field number for the "LoadStateRaw" field.</summary>
|
|
|
|
|
public const int LoadStateRawFieldNumber = 2;
|
|
|
|
|
private pb::ByteString loadStateRaw_ = pb::ByteString.Empty;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///如下是 WaitStep = 1 时,才有值。广播即时存档
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public pb::ByteString LoadStateRaw {
|
|
|
|
|
get { return loadStateRaw_; }
|
|
|
|
|
set {
|
|
|
|
|
loadStateRaw_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-09 17:22:09 +08:00
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_WaitStep_RESP);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_WaitStep_RESP other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (WaitStep != other.WaitStep) return false;
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (LoadStateRaw != other.LoadStateRaw) return false;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (WaitStep != 0) hash ^= WaitStep.GetHashCode();
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (LoadStateRaw.Length != 0) hash ^= LoadStateRaw.GetHashCode();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (WaitStep != 0) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
output.WriteRawTag(8);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteInt32(WaitStep);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (LoadStateRaw.Length != 0) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteBytes(LoadStateRaw);
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (WaitStep != 0) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
output.WriteRawTag(8);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteInt32(WaitStep);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (LoadStateRaw.Length != 0) {
|
|
|
|
|
output.WriteRawTag(18);
|
|
|
|
|
output.WriteBytes(LoadStateRaw);
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (WaitStep != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaitStep);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (LoadStateRaw.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(LoadStateRaw);
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_WaitStep_RESP other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.WaitStep != 0) {
|
|
|
|
|
WaitStep = other.WaitStep;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
if (other.LoadStateRaw.Length != 0) {
|
|
|
|
|
LoadStateRaw = other.LoadStateRaw;
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
WaitStep = input.ReadInt32();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
case 18: {
|
|
|
|
|
LoadStateRaw = input.ReadBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
WaitStep = input.ReadInt32();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
2024-08-21 17:59:55 +08:00
|
|
|
|
case 18: {
|
|
|
|
|
LoadStateRaw = input.ReadBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_HostPlayer_UpdateStateRaw : pb::IMessage<Protobuf_Room_HostPlayer_UpdateStateRaw>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_HostPlayer_UpdateStateRaw> _parser = new pb::MessageParser<Protobuf_Room_HostPlayer_UpdateStateRaw>(() => new Protobuf_Room_HostPlayer_UpdateStateRaw());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_HostPlayer_UpdateStateRaw> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[31]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_HostPlayer_UpdateStateRaw() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_HostPlayer_UpdateStateRaw(Protobuf_Room_HostPlayer_UpdateStateRaw other) : this() {
|
|
|
|
|
loadStateRaw_ = other.loadStateRaw_;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_HostPlayer_UpdateStateRaw Clone() {
|
|
|
|
|
return new Protobuf_Room_HostPlayer_UpdateStateRaw(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
/// <summary>Field number for the "LoadStateRaw" field.</summary>
|
2024-08-21 17:59:55 +08:00
|
|
|
|
public const int LoadStateRawFieldNumber = 1;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private pb::ByteString loadStateRaw_ = pb::ByteString.Empty;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///即时存档byte数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public pb::ByteString LoadStateRaw {
|
|
|
|
|
get { return loadStateRaw_; }
|
|
|
|
|
set {
|
|
|
|
|
loadStateRaw_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_HostPlayer_UpdateStateRaw);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_HostPlayer_UpdateStateRaw other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (LoadStateRaw != other.LoadStateRaw) return false;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (LoadStateRaw.Length != 0) hash ^= LoadStateRaw.GetHashCode();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (LoadStateRaw.Length != 0) {
|
2024-08-21 17:59:55 +08:00
|
|
|
|
output.WriteRawTag(10);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteBytes(LoadStateRaw);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (LoadStateRaw.Length != 0) {
|
2024-08-21 17:59:55 +08:00
|
|
|
|
output.WriteRawTag(10);
|
2024-08-21 11:04:53 +08:00
|
|
|
|
output.WriteBytes(LoadStateRaw);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (LoadStateRaw.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(LoadStateRaw);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_HostPlayer_UpdateStateRaw other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2024-08-21 11:04:53 +08:00
|
|
|
|
if (other.LoadStateRaw.Length != 0) {
|
|
|
|
|
LoadStateRaw = other.LoadStateRaw;
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 17:59:55 +08:00
|
|
|
|
case 10: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
LoadStateRaw = input.ReadBytes();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-08-21 17:59:55 +08:00
|
|
|
|
case 10: {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
LoadStateRaw = input.ReadBytes();
|
2024-07-09 17:22:09 +08:00
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 17:59:55 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_HostPlayer_UpdateStateRaw_RESP : pb::IMessage<Protobuf_Room_HostPlayer_UpdateStateRaw_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_HostPlayer_UpdateStateRaw_RESP> _parser = new pb::MessageParser<Protobuf_Room_HostPlayer_UpdateStateRaw_RESP>(() => new Protobuf_Room_HostPlayer_UpdateStateRaw_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Room_HostPlayer_UpdateStateRaw_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[32]; }
|
2024-08-21 17:59:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_HostPlayer_UpdateStateRaw_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_HostPlayer_UpdateStateRaw_RESP(Protobuf_Room_HostPlayer_UpdateStateRaw_RESP other) : this() {
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_HostPlayer_UpdateStateRaw_RESP Clone() {
|
|
|
|
|
return new Protobuf_Room_HostPlayer_UpdateStateRaw_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Room_HostPlayer_UpdateStateRaw_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Room_HostPlayer_UpdateStateRaw_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Room_HostPlayer_UpdateStateRaw_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_Player_Ready : pb::IMessage<Protobuf_Room_Player_Ready>
|
2024-07-09 17:22:09 +08:00
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
2024-08-21 11:04:53 +08:00
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Player_Ready> _parser = new pb::MessageParser<Protobuf_Room_Player_Ready>(() => new Protobuf_Room_Player_Ready());
|
2024-07-09 17:22:09 +08:00
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Player_Ready> Parser { get { return _parser; } }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[33]; }
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Player_Ready() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Player_Ready(Protobuf_Room_Player_Ready other) : this() {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public Protobuf_Room_Player_Ready Clone() {
|
|
|
|
|
return new Protobuf_Room_Player_Ready(this);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
2024-08-21 11:04:53 +08:00
|
|
|
|
return Equals(other as Protobuf_Room_Player_Ready);
|
2024-07-09 17:22:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public bool Equals(Protobuf_Room_Player_Ready other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
2024-08-21 11:04:53 +08:00
|
|
|
|
public void MergeFrom(Protobuf_Room_Player_Ready other) {
|
2024-07-09 17:22:09 +08:00
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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;
|
2024-06-28 17:43:55 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-18 10:21:06 +08:00
|
|
|
|
public sealed partial class Protobuf_Room_Get_Screen : pb::IMessage<Protobuf_Room_Get_Screen>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Get_Screen> _parser = new pb::MessageParser<Protobuf_Room_Get_Screen>(() => new Protobuf_Room_Get_Screen());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Get_Screen> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[34]; }
|
2024-09-18 10:21:06 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_Get_Screen() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_Get_Screen(Protobuf_Room_Get_Screen other) : this() {
|
|
|
|
|
roomID_ = other.roomID_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_Get_Screen Clone() {
|
|
|
|
|
return new Protobuf_Room_Get_Screen(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RoomID" field.</summary>
|
|
|
|
|
public const int RoomIDFieldNumber = 1;
|
|
|
|
|
private int roomID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///房间ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int RoomID {
|
|
|
|
|
get { return roomID_; }
|
|
|
|
|
set {
|
|
|
|
|
roomID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Room_Get_Screen);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Room_Get_Screen other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (RoomID != other.RoomID) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (RoomID != 0) hash ^= RoomID.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Room_Get_Screen other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.RoomID != 0) {
|
|
|
|
|
RoomID = other.RoomID;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public sealed partial class Protobuf_Room_Get_Screen_RESP : pb::IMessage<Protobuf_Room_Get_Screen_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Room_Get_Screen_RESP> _parser = new pb::MessageParser<Protobuf_Room_Get_Screen_RESP>(() => new Protobuf_Room_Get_Screen_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Room_Get_Screen_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
2024-11-28 16:55:12 +08:00
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[35]; }
|
2024-09-18 10:21:06 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_Get_Screen_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_Get_Screen_RESP(Protobuf_Room_Get_Screen_RESP other) : this() {
|
|
|
|
|
roomID_ = other.roomID_;
|
|
|
|
|
frameID_ = other.frameID_;
|
|
|
|
|
rawBitmap_ = other.rawBitmap_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Room_Get_Screen_RESP Clone() {
|
|
|
|
|
return new Protobuf_Room_Get_Screen_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RoomID" field.</summary>
|
|
|
|
|
public const int RoomIDFieldNumber = 1;
|
|
|
|
|
private int roomID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///房间ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int RoomID {
|
|
|
|
|
get { return roomID_; }
|
|
|
|
|
set {
|
|
|
|
|
roomID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "FrameID" field.</summary>
|
|
|
|
|
public const int FrameIDFieldNumber = 2;
|
|
|
|
|
private int frameID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///帧编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int FrameID {
|
|
|
|
|
get { return frameID_; }
|
|
|
|
|
set {
|
|
|
|
|
frameID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RawBitmap" field.</summary>
|
|
|
|
|
public const int RawBitmapFieldNumber = 3;
|
|
|
|
|
private pb::ByteString rawBitmap_ = pb::ByteString.Empty;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///渲染层画面
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public pb::ByteString RawBitmap {
|
|
|
|
|
get { return rawBitmap_; }
|
|
|
|
|
set {
|
|
|
|
|
rawBitmap_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Room_Get_Screen_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Room_Get_Screen_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (RoomID != other.RoomID) return false;
|
|
|
|
|
if (FrameID != other.FrameID) return false;
|
|
|
|
|
if (RawBitmap != other.RawBitmap) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (RoomID != 0) hash ^= RoomID.GetHashCode();
|
|
|
|
|
if (FrameID != 0) hash ^= FrameID.GetHashCode();
|
|
|
|
|
if (RawBitmap.Length != 0) hash ^= RawBitmap.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(FrameID);
|
|
|
|
|
}
|
|
|
|
|
if (RawBitmap.Length != 0) {
|
|
|
|
|
output.WriteRawTag(26);
|
|
|
|
|
output.WriteBytes(RawBitmap);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(FrameID);
|
|
|
|
|
}
|
|
|
|
|
if (RawBitmap.Length != 0) {
|
|
|
|
|
output.WriteRawTag(26);
|
|
|
|
|
output.WriteBytes(RawBitmap);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (RoomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomID);
|
|
|
|
|
}
|
|
|
|
|
if (FrameID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FrameID);
|
|
|
|
|
}
|
|
|
|
|
if (RawBitmap.Length != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeBytesSize(RawBitmap);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Room_Get_Screen_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.RoomID != 0) {
|
|
|
|
|
RoomID = other.RoomID;
|
|
|
|
|
}
|
|
|
|
|
if (other.FrameID != 0) {
|
|
|
|
|
FrameID = other.FrameID;
|
|
|
|
|
}
|
|
|
|
|
if (other.RawBitmap.Length != 0) {
|
|
|
|
|
RawBitmap = other.RawBitmap;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
FrameID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
RawBitmap = input.ReadBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RoomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
FrameID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 26: {
|
|
|
|
|
RawBitmap = input.ReadBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-11-28 19:54:59 +08:00
|
|
|
|
public sealed partial class Protobuf_Game_Mark : pb::IMessage<Protobuf_Game_Mark>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Game_Mark> _parser = new pb::MessageParser<Protobuf_Game_Mark>(() => new Protobuf_Game_Mark());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Game_Mark> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[36]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Game_Mark() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Game_Mark(Protobuf_Game_Mark other) : this() {
|
|
|
|
|
romID_ = other.romID_;
|
|
|
|
|
state_ = other.state_;
|
|
|
|
|
platformType_ = other.platformType_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Game_Mark Clone() {
|
|
|
|
|
return new Protobuf_Game_Mark(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RomID" field.</summary>
|
|
|
|
|
public const int RomIDFieldNumber = 1;
|
|
|
|
|
private int romID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///RomID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int RomID {
|
|
|
|
|
get { return romID_; }
|
|
|
|
|
set {
|
|
|
|
|
romID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "state" field.</summary>
|
|
|
|
|
public const int StateFieldNumber = 2;
|
|
|
|
|
private int state_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///[0]收藏 [1]取消收藏
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int State {
|
|
|
|
|
get { return state_; }
|
|
|
|
|
set {
|
|
|
|
|
state_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "PlatformType" field.</summary>
|
|
|
|
|
public const int PlatformTypeFieldNumber = 3;
|
|
|
|
|
private global::AxibugProtobuf.PlatformType platformType_ = global::AxibugProtobuf.PlatformType.All;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///平台类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.PlatformType PlatformType {
|
|
|
|
|
get { return platformType_; }
|
|
|
|
|
set {
|
|
|
|
|
platformType_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Game_Mark);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Game_Mark other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (RomID != other.RomID) return false;
|
|
|
|
|
if (State != other.State) return false;
|
|
|
|
|
if (PlatformType != other.PlatformType) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (RomID != 0) hash ^= RomID.GetHashCode();
|
|
|
|
|
if (State != 0) hash ^= State.GetHashCode();
|
|
|
|
|
if (PlatformType != global::AxibugProtobuf.PlatformType.All) hash ^= PlatformType.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (RomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RomID);
|
|
|
|
|
}
|
|
|
|
|
if (State != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(State);
|
|
|
|
|
}
|
|
|
|
|
if (PlatformType != global::AxibugProtobuf.PlatformType.All) {
|
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
|
output.WriteEnum((int) PlatformType);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (RomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RomID);
|
|
|
|
|
}
|
|
|
|
|
if (State != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(State);
|
|
|
|
|
}
|
|
|
|
|
if (PlatformType != global::AxibugProtobuf.PlatformType.All) {
|
|
|
|
|
output.WriteRawTag(24);
|
|
|
|
|
output.WriteEnum((int) PlatformType);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (RomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
|
|
|
|
|
}
|
|
|
|
|
if (State != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(State);
|
|
|
|
|
}
|
|
|
|
|
if (PlatformType != global::AxibugProtobuf.PlatformType.All) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlatformType);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Game_Mark other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.RomID != 0) {
|
|
|
|
|
RomID = other.RomID;
|
|
|
|
|
}
|
|
|
|
|
if (other.State != 0) {
|
|
|
|
|
State = other.State;
|
|
|
|
|
}
|
|
|
|
|
if (other.PlatformType != global::AxibugProtobuf.PlatformType.All) {
|
|
|
|
|
PlatformType = other.PlatformType;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
State = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 24: {
|
|
|
|
|
PlatformType = (global::AxibugProtobuf.PlatformType) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
State = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 24: {
|
|
|
|
|
PlatformType = (global::AxibugProtobuf.PlatformType) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public sealed partial class Protobuf_Game_Mark_RESP : pb::IMessage<Protobuf_Game_Mark_RESP>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Protobuf_Game_Mark_RESP> _parser = new pb::MessageParser<Protobuf_Game_Mark_RESP>(() => new Protobuf_Game_Mark_RESP());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pb::MessageParser<Protobuf_Game_Mark_RESP> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[37]; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
|
|
get { return Descriptor; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Game_Mark_RESP() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Game_Mark_RESP(Protobuf_Game_Mark_RESP other) : this() {
|
|
|
|
|
romID_ = other.romID_;
|
|
|
|
|
platformType_ = other.platformType_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public Protobuf_Game_Mark_RESP Clone() {
|
|
|
|
|
return new Protobuf_Game_Mark_RESP(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "RomID" field.</summary>
|
|
|
|
|
public const int RomIDFieldNumber = 1;
|
|
|
|
|
private int romID_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///RomID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int RomID {
|
|
|
|
|
get { return romID_; }
|
|
|
|
|
set {
|
|
|
|
|
romID_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "PlatformType" field.</summary>
|
|
|
|
|
public const int PlatformTypeFieldNumber = 2;
|
|
|
|
|
private global::AxibugProtobuf.PlatformType platformType_ = global::AxibugProtobuf.PlatformType.All;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///平台类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public global::AxibugProtobuf.PlatformType PlatformType {
|
|
|
|
|
get { return platformType_; }
|
|
|
|
|
set {
|
|
|
|
|
platformType_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Protobuf_Game_Mark_RESP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public bool Equals(Protobuf_Game_Mark_RESP other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (RomID != other.RomID) return false;
|
|
|
|
|
if (PlatformType != other.PlatformType) return false;
|
|
|
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override int GetHashCode() {
|
|
|
|
|
int hash = 1;
|
|
|
|
|
if (RomID != 0) hash ^= RomID.GetHashCode();
|
|
|
|
|
if (PlatformType != global::AxibugProtobuf.PlatformType.All) hash ^= PlatformType.GetHashCode();
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
hash ^= _unknownFields.GetHashCode();
|
|
|
|
|
}
|
|
|
|
|
return hash;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public override string ToString() {
|
|
|
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
output.WriteRawMessage(this);
|
|
|
|
|
#else
|
|
|
|
|
if (RomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RomID);
|
|
|
|
|
}
|
|
|
|
|
if (PlatformType != global::AxibugProtobuf.PlatformType.All) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteEnum((int) PlatformType);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(output);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
|
|
|
if (RomID != 0) {
|
|
|
|
|
output.WriteRawTag(8);
|
|
|
|
|
output.WriteInt32(RomID);
|
|
|
|
|
}
|
|
|
|
|
if (PlatformType != global::AxibugProtobuf.PlatformType.All) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteEnum((int) PlatformType);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
_unknownFields.WriteTo(ref output);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public int CalculateSize() {
|
|
|
|
|
int size = 0;
|
|
|
|
|
if (RomID != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(RomID);
|
|
|
|
|
}
|
|
|
|
|
if (PlatformType != global::AxibugProtobuf.PlatformType.All) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlatformType);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
public void MergeFrom(Protobuf_Game_Mark_RESP other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.RomID != 0) {
|
|
|
|
|
RomID = other.RomID;
|
|
|
|
|
}
|
|
|
|
|
if (other.PlatformType != global::AxibugProtobuf.PlatformType.All) {
|
|
|
|
|
PlatformType = other.PlatformType;
|
|
|
|
|
}
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
PlatformType = (global::AxibugProtobuf.PlatformType) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
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: {
|
|
|
|
|
RomID = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
PlatformType = (global::AxibugProtobuf.PlatformType) input.ReadEnum();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-28 17:43:55 +08:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion Designer generated code
|