3474 lines
127 KiB
C#
3474 lines
127 KiB
C#
// <auto-generated>
|
||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
// source: ClientToLogin.proto
|
||
// </auto-generated>
|
||
#pragma warning disable 1591, 0612, 3021, 8981
|
||
#region Designer generated code
|
||
|
||
using pb = global::Google.Protobuf;
|
||
using pbc = global::Google.Protobuf.Collections;
|
||
using pbr = global::Google.Protobuf.Reflection;
|
||
using scg = global::System.Collections.Generic;
|
||
/// <summary>Holder for reflection information generated from ClientToLogin.proto</summary>
|
||
public static partial class ClientToLoginReflection {
|
||
|
||
#region Descriptor
|
||
/// <summary>File descriptor for ClientToLogin.proto</summary>
|
||
public static pbr::FileDescriptor Descriptor {
|
||
get { return descriptor; }
|
||
}
|
||
private static pbr::FileDescriptor descriptor;
|
||
|
||
static ClientToLoginReflection() {
|
||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||
string.Concat(
|
||
"ChNDbGllbnRUb0xvZ2luLnByb3RvGhNEZWZpbmVfQ29tbW9uLnByb3RvGhNE",
|
||
"ZWZpbmVfUmVzdWx0LnByb3RvGhtEZWZpbmVfUHJvZ3JhbVZlcnNpb24ucHJv",
|
||
"dG8aEUdhbWVfRGVmaW5lLnByb3RvIo0DChBDbGllbnRUb0xvZ2luUmVxEi4K",
|
||
"CGxvZ2luUmVxGAEgASgLMhouQ2xpZW50VG9Mb2dpblJlcS5Mb2dpblJlcUgA",
|
||
"EjAKCWxvZ291dFJlcRgCIAEoCzIbLkNsaWVudFRvTG9naW5SZXEuTG9nb3V0",
|
||
"UmVxSAAaggIKCExvZ2luUmVxEgoKAmlkGAEgASgJEhAKCHBhc3N3b3JkGAIg",
|
||
"ASgJEhUKDXdlYkF1dGhQYXJhbXMYAyABKAwSIwoMcGxhdGZvcm1UeXBlGAQg",
|
||
"ASgOMg0uUGxhdGZvcm1UeXBlEiwKDWNsaWVudFZlcnNpb24YBSABKAsyFS5D",
|
||
"bGllbnRQcm9ncmFtVmVyc2lvbhIjCgxsYW5ndWFnZVR5cGUYBiABKA4yDS5M",
|
||
"YW5ndWFnZVR5cGUSGgoScGxhdGZvcm1EZXRhaWxUeXBlGAcgASgJEhcKBm9z",
|
||
"VHlwZRgIIAEoDjIHLk9zVHlwZRIUCgxvc0RldGFpbFR5cGUYCSABKAkaCwoJ",
|
||
"TG9nb3V0UmVxQgUKA21zZyK9AgoQQ2xpZW50VG9Mb2dpblJlcxIjCgllcnJv",
|
||
"ckNvZGUYASABKA4yEC5TZXJ2ZXJFcnJvckNvZGUSLgoIbG9naW5SZXMYAiAB",
|
||
"KAsyGi5DbGllbnRUb0xvZ2luUmVzLkxvZ2luUmVzSAASMAoJbG9nb3V0UmVz",
|
||
"GAMgASgLMhsuQ2xpZW50VG9Mb2dpblJlcy5Mb2dvdXRSZXNIABqNAQoITG9n",
|
||
"aW5SZXMSEQoJd2FpdE9yZGVyGAEgASgFEg4KBnVzZXJJZBgCIAEoCRIlCg9j",
|
||
"dXJyU2VydmljZVR5cGUYAyABKA4yDC5TZXJ2aWNlVHlwZRI3ChhjdXJyU2Vy",
|
||
"dmVyUHJvZ3JhbVZlcnNpb24YBCABKAsyFS5TZXJ2ZXJQcm9ncmFtVmVyc2lv",
|
||
"bhoLCglMb2dvdXRSZXNCBQoDbXNnIqEEChRDbGllbnRUb0xvZ2luTWVzc2Fn",
|
||
"ZRIuCgZteUhvbWUYASABKAsyHC5DbGllbnRUb0xvZ2luTWVzc2FnZS5NeUhv",
|
||
"bWVIABI8Cg13YWl0T3JkZXJJbmZvGAIgASgLMiMuQ2xpZW50VG9Mb2dpbk1l",
|
||
"c3NhZ2UuV2FpdE9yZGVySW5mb0gAEj4KDmdhbWVTZXJ2ZXJJbmZvGAMgASgL",
|
||
"MiQuQ2xpZW50VG9Mb2dpbk1lc3NhZ2UuR2FtZVNlcnZlckluZm9IABJRChNu",
|
||
"dGZTZXJ2ZXJVcmxDYXRhbG9nGAQgASgLMjIuQ2xpZW50VG9Mb2dpbk1lc3Nh",
|
||
"Z2UuVUFTMkNfTlRGX1NFUlZFUl9VUkxfQ0FUQUxPR0gAGj0KBk15SG9tZRIK",
|
||
"CgJpZBgBIAEoBRInCghzbG90SW5mbxgCIAMoCzIVLk15SG9tZU9iamVjdFNs",
|
||
"b3RJbmZvGiIKDVdhaXRPcmRlckluZm8SEQoJd2FpdE9yZGVyGAEgASgFGl4K",
|
||
"DkdhbWVTZXJ2ZXJJbmZvEhYKDmdhbWVTZXJ2ZXJBZGRyGAEgASgJEhYKDmdh",
|
||
"bWVTZXJ2ZXJQb3J0GAIgASgFEgsKA290cBgDIAEoCRIPCgd3b3JsZElkGAQg",
|
||
"ASgFGj4KHFVBUzJDX05URl9TRVJWRVJfVVJMX0NBVEFMT0cSHgoKc2VydmVy",
|
||
"VXJscxgBIAMoCzIKLlNlcnZlclVybEIFCgNtc2cijQEKDUNsaWVudFRvTG9n",
|
||
"aW4SJAoHcmVxdWVzdBgBIAEoCzIRLkNsaWVudFRvTG9naW5SZXFIABIlCghy",
|
||
"ZXNwb25zZRgCIAEoCzIRLkNsaWVudFRvTG9naW5SZXNIABIoCgdtZXNzYWdl",
|
||
"GAMgASgLMhUuQ2xpZW50VG9Mb2dpbk1lc3NhZ2VIAEIFCgNtc2diBnByb3Rv",
|
||
"Mw=="));
|
||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||
new pbr::FileDescriptor[] { global::DefineCommonReflection.Descriptor, global::DefineResultReflection.Descriptor, global::DefineProgramVersionReflection.Descriptor, global::GameDefineReflection.Descriptor, },
|
||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginReq), global::ClientToLoginReq.Parser, new[]{ "LoginReq", "LogoutReq" }, new[]{ "Msg" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginReq.Types.LoginReq), global::ClientToLoginReq.Types.LoginReq.Parser, new[]{ "Id", "Password", "WebAuthParams", "PlatformType", "ClientVersion", "LanguageType", "PlatformDetailType", "OsType", "OsDetailType" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginReq.Types.LogoutReq), global::ClientToLoginReq.Types.LogoutReq.Parser, null, null, null, null, null)}),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginRes), global::ClientToLoginRes.Parser, new[]{ "ErrorCode", "LoginRes", "LogoutRes" }, new[]{ "Msg" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginRes.Types.LoginRes), global::ClientToLoginRes.Types.LoginRes.Parser, new[]{ "WaitOrder", "UserId", "CurrServiceType", "CurrServerProgramVersion" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginRes.Types.LogoutRes), global::ClientToLoginRes.Types.LogoutRes.Parser, null, null, null, null, null)}),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginMessage), global::ClientToLoginMessage.Parser, new[]{ "MyHome", "WaitOrderInfo", "GameServerInfo", "NtfServerUrlCatalog" }, new[]{ "Msg" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginMessage.Types.MyHome), global::ClientToLoginMessage.Types.MyHome.Parser, new[]{ "Id", "SlotInfo" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginMessage.Types.WaitOrderInfo), global::ClientToLoginMessage.Types.WaitOrderInfo.Parser, new[]{ "WaitOrder" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginMessage.Types.GameServerInfo), global::ClientToLoginMessage.Types.GameServerInfo.Parser, new[]{ "GameServerAddr", "GameServerPort", "Otp", "WorldId" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLoginMessage.Types.UAS2C_NTF_SERVER_URL_CATALOG), global::ClientToLoginMessage.Types.UAS2C_NTF_SERVER_URL_CATALOG.Parser, new[]{ "ServerUrls" }, null, null, null, null)}),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::ClientToLogin), global::ClientToLogin.Parser, new[]{ "Request", "Response", "Message" }, new[]{ "Msg" }, null, null, null)
|
||
}));
|
||
}
|
||
#endregion
|
||
|
||
}
|
||
#region Messages
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class ClientToLoginReq : pb::IMessage<ClientToLoginReq>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<ClientToLoginReq> _parser = new pb::MessageParser<ClientToLoginReq>(() => new ClientToLoginReq());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<ClientToLoginReq> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginReflection.Descriptor.MessageTypes[0]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLoginReq() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLoginReq(ClientToLoginReq other) : this() {
|
||
switch (other.MsgCase) {
|
||
case MsgOneofCase.LoginReq:
|
||
LoginReq = other.LoginReq.Clone();
|
||
break;
|
||
case MsgOneofCase.LogoutReq:
|
||
LogoutReq = other.LogoutReq.Clone();
|
||
break;
|
||
}
|
||
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLoginReq Clone() {
|
||
return new ClientToLoginReq(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "loginReq" field.</summary>
|
||
public const int LoginReqFieldNumber = 1;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginReq.Types.LoginReq LoginReq {
|
||
get { return msgCase_ == MsgOneofCase.LoginReq ? (global::ClientToLoginReq.Types.LoginReq) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.LoginReq;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "logoutReq" field.</summary>
|
||
public const int LogoutReqFieldNumber = 2;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginReq.Types.LogoutReq LogoutReq {
|
||
get { return msgCase_ == MsgOneofCase.LogoutReq ? (global::ClientToLoginReq.Types.LogoutReq) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.LogoutReq;
|
||
}
|
||
}
|
||
|
||
private object msg_;
|
||
/// <summary>Enum of possible cases for the "msg" oneof.</summary>
|
||
public enum MsgOneofCase {
|
||
None = 0,
|
||
LoginReq = 1,
|
||
LogoutReq = 2,
|
||
}
|
||
private MsgOneofCase msgCase_ = MsgOneofCase.None;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MsgOneofCase MsgCase {
|
||
get { return msgCase_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void ClearMsg() {
|
||
msgCase_ = MsgOneofCase.None;
|
||
msg_ = null;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as ClientToLoginReq);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(ClientToLoginReq other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (!object.Equals(LoginReq, other.LoginReq)) return false;
|
||
if (!object.Equals(LogoutReq, other.LogoutReq)) return false;
|
||
if (MsgCase != other.MsgCase) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (msgCase_ == MsgOneofCase.LoginReq) hash ^= LoginReq.GetHashCode();
|
||
if (msgCase_ == MsgOneofCase.LogoutReq) hash ^= LogoutReq.GetHashCode();
|
||
hash ^= (int) msgCase_;
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (msgCase_ == MsgOneofCase.LoginReq) {
|
||
output.WriteRawTag(10);
|
||
output.WriteMessage(LoginReq);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.LogoutReq) {
|
||
output.WriteRawTag(18);
|
||
output.WriteMessage(LogoutReq);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (msgCase_ == MsgOneofCase.LoginReq) {
|
||
output.WriteRawTag(10);
|
||
output.WriteMessage(LoginReq);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.LogoutReq) {
|
||
output.WriteRawTag(18);
|
||
output.WriteMessage(LogoutReq);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (msgCase_ == MsgOneofCase.LoginReq) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LoginReq);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.LogoutReq) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LogoutReq);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(ClientToLoginReq other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
switch (other.MsgCase) {
|
||
case MsgOneofCase.LoginReq:
|
||
if (LoginReq == null) {
|
||
LoginReq = new global::ClientToLoginReq.Types.LoginReq();
|
||
}
|
||
LoginReq.MergeFrom(other.LoginReq);
|
||
break;
|
||
case MsgOneofCase.LogoutReq:
|
||
if (LogoutReq == null) {
|
||
LogoutReq = new global::ClientToLoginReq.Types.LogoutReq();
|
||
}
|
||
LogoutReq.MergeFrom(other.LogoutReq);
|
||
break;
|
||
}
|
||
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
global::ClientToLoginReq.Types.LoginReq subBuilder = new global::ClientToLoginReq.Types.LoginReq();
|
||
if (msgCase_ == MsgOneofCase.LoginReq) {
|
||
subBuilder.MergeFrom(LoginReq);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
LoginReq = subBuilder;
|
||
break;
|
||
}
|
||
case 18: {
|
||
global::ClientToLoginReq.Types.LogoutReq subBuilder = new global::ClientToLoginReq.Types.LogoutReq();
|
||
if (msgCase_ == MsgOneofCase.LogoutReq) {
|
||
subBuilder.MergeFrom(LogoutReq);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
LogoutReq = subBuilder;
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
global::ClientToLoginReq.Types.LoginReq subBuilder = new global::ClientToLoginReq.Types.LoginReq();
|
||
if (msgCase_ == MsgOneofCase.LoginReq) {
|
||
subBuilder.MergeFrom(LoginReq);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
LoginReq = subBuilder;
|
||
break;
|
||
}
|
||
case 18: {
|
||
global::ClientToLoginReq.Types.LogoutReq subBuilder = new global::ClientToLoginReq.Types.LogoutReq();
|
||
if (msgCase_ == MsgOneofCase.LogoutReq) {
|
||
subBuilder.MergeFrom(LogoutReq);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
LogoutReq = subBuilder;
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
#region Nested types
|
||
/// <summary>Container for nested types declared in the ClientToLoginReq message type.</summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static partial class Types {
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class LoginReq : pb::IMessage<LoginReq>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<LoginReq> _parser = new pb::MessageParser<LoginReq>(() => new LoginReq());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<LoginReq> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginReq.Descriptor.NestedTypes[0]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LoginReq() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LoginReq(LoginReq other) : this() {
|
||
id_ = other.id_;
|
||
password_ = other.password_;
|
||
webAuthParams_ = other.webAuthParams_;
|
||
platformType_ = other.platformType_;
|
||
clientVersion_ = other.clientVersion_ != null ? other.clientVersion_.Clone() : null;
|
||
languageType_ = other.languageType_;
|
||
platformDetailType_ = other.platformDetailType_;
|
||
osType_ = other.osType_;
|
||
osDetailType_ = other.osDetailType_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LoginReq Clone() {
|
||
return new LoginReq(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private string id_ = "";
|
||
/// <summary>
|
||
/// Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ <20>ܵ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Empty <20><><EFBFBD><EFBFBD>
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "password" field.</summary>
|
||
public const int PasswordFieldNumber = 2;
|
||
private string password_ = "";
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Password {
|
||
get { return password_; }
|
||
set {
|
||
password_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "webAuthParams" field.</summary>
|
||
public const int WebAuthParamsFieldNumber = 3;
|
||
private pb::ByteString webAuthParams_ = pb::ByteString.Empty;
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -> <20><>ó -> Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> (JsonWebToken : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ó<EFBFBD><C3B3> <20>Ѱ<EFBFBD><D1B0><EFBFBD> <20><><EFBFBD><EFBFBD>), <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Empty <20><><EFBFBD><EFBFBD>
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pb::ByteString WebAuthParams {
|
||
get { return webAuthParams_; }
|
||
set {
|
||
webAuthParams_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "platformType" field.</summary>
|
||
public const int PlatformTypeFieldNumber = 4;
|
||
private global::PlatformType platformType_ = global::PlatformType.None;
|
||
/// <summary>
|
||
/// Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> : <20>ݵ<EFBFBD><DDB5><EFBFBD> <20><><EFBFBD><EFBFBD> <20>Ǿ<EFBFBD><C7BE><EFBFBD> <20>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::PlatformType PlatformType {
|
||
get { return platformType_; }
|
||
set {
|
||
platformType_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "clientVersion" field.</summary>
|
||
public const int ClientVersionFieldNumber = 5;
|
||
private global::ClientProgramVersion clientVersion_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientProgramVersion ClientVersion {
|
||
get { return clientVersion_; }
|
||
set {
|
||
clientVersion_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "languageType" field.</summary>
|
||
public const int LanguageTypeFieldNumber = 6;
|
||
private global::LanguageType languageType_ = global::LanguageType.None;
|
||
/// <summary>
|
||
/// LanguageType.LanguageType_ko
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::LanguageType LanguageType {
|
||
get { return languageType_; }
|
||
set {
|
||
languageType_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "platformDetailType" field.</summary>
|
||
public const int PlatformDetailTypeFieldNumber = 7;
|
||
private string platformDetailType_ = "";
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʵǵ<CAB5> <20>Ǵ<EFBFBD> <20><><EFBFBD><EFBFBD> : <20><><EFBFBD><EFBFBD><EFBFBD>Ͻ<EFBFBD> <20>α<EFBFBD> <20>ۼ<EFBFBD><DBBC><EFBFBD> Ȱ<><C8B0>, Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string PlatformDetailType {
|
||
get { return platformDetailType_; }
|
||
set {
|
||
platformDetailType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "osType" field.</summary>
|
||
public const int OsTypeFieldNumber = 8;
|
||
private global::OsType osType_ = global::OsType.None;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::OsType OsType {
|
||
get { return osType_; }
|
||
set {
|
||
osType_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "osDetailType" field.</summary>
|
||
public const int OsDetailTypeFieldNumber = 9;
|
||
private string osDetailType_ = "";
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string OsDetailType {
|
||
get { return osDetailType_; }
|
||
set {
|
||
osDetailType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as LoginReq);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(LoginReq other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if (Password != other.Password) return false;
|
||
if (WebAuthParams != other.WebAuthParams) return false;
|
||
if (PlatformType != other.PlatformType) return false;
|
||
if (!object.Equals(ClientVersion, other.ClientVersion)) return false;
|
||
if (LanguageType != other.LanguageType) return false;
|
||
if (PlatformDetailType != other.PlatformDetailType) return false;
|
||
if (OsType != other.OsType) return false;
|
||
if (OsDetailType != other.OsDetailType) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id.Length != 0) hash ^= Id.GetHashCode();
|
||
if (Password.Length != 0) hash ^= Password.GetHashCode();
|
||
if (WebAuthParams.Length != 0) hash ^= WebAuthParams.GetHashCode();
|
||
if (PlatformType != global::PlatformType.None) hash ^= PlatformType.GetHashCode();
|
||
if (clientVersion_ != null) hash ^= ClientVersion.GetHashCode();
|
||
if (LanguageType != global::LanguageType.None) hash ^= LanguageType.GetHashCode();
|
||
if (PlatformDetailType.Length != 0) hash ^= PlatformDetailType.GetHashCode();
|
||
if (OsType != global::OsType.None) hash ^= OsType.GetHashCode();
|
||
if (OsDetailType.Length != 0) hash ^= OsDetailType.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id.Length != 0) {
|
||
output.WriteRawTag(10);
|
||
output.WriteString(Id);
|
||
}
|
||
if (Password.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(Password);
|
||
}
|
||
if (WebAuthParams.Length != 0) {
|
||
output.WriteRawTag(26);
|
||
output.WriteBytes(WebAuthParams);
|
||
}
|
||
if (PlatformType != global::PlatformType.None) {
|
||
output.WriteRawTag(32);
|
||
output.WriteEnum((int) PlatformType);
|
||
}
|
||
if (clientVersion_ != null) {
|
||
output.WriteRawTag(42);
|
||
output.WriteMessage(ClientVersion);
|
||
}
|
||
if (LanguageType != global::LanguageType.None) {
|
||
output.WriteRawTag(48);
|
||
output.WriteEnum((int) LanguageType);
|
||
}
|
||
if (PlatformDetailType.Length != 0) {
|
||
output.WriteRawTag(58);
|
||
output.WriteString(PlatformDetailType);
|
||
}
|
||
if (OsType != global::OsType.None) {
|
||
output.WriteRawTag(64);
|
||
output.WriteEnum((int) OsType);
|
||
}
|
||
if (OsDetailType.Length != 0) {
|
||
output.WriteRawTag(74);
|
||
output.WriteString(OsDetailType);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id.Length != 0) {
|
||
output.WriteRawTag(10);
|
||
output.WriteString(Id);
|
||
}
|
||
if (Password.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(Password);
|
||
}
|
||
if (WebAuthParams.Length != 0) {
|
||
output.WriteRawTag(26);
|
||
output.WriteBytes(WebAuthParams);
|
||
}
|
||
if (PlatformType != global::PlatformType.None) {
|
||
output.WriteRawTag(32);
|
||
output.WriteEnum((int) PlatformType);
|
||
}
|
||
if (clientVersion_ != null) {
|
||
output.WriteRawTag(42);
|
||
output.WriteMessage(ClientVersion);
|
||
}
|
||
if (LanguageType != global::LanguageType.None) {
|
||
output.WriteRawTag(48);
|
||
output.WriteEnum((int) LanguageType);
|
||
}
|
||
if (PlatformDetailType.Length != 0) {
|
||
output.WriteRawTag(58);
|
||
output.WriteString(PlatformDetailType);
|
||
}
|
||
if (OsType != global::OsType.None) {
|
||
output.WriteRawTag(64);
|
||
output.WriteEnum((int) OsType);
|
||
}
|
||
if (OsDetailType.Length != 0) {
|
||
output.WriteRawTag(74);
|
||
output.WriteString(OsDetailType);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
|
||
}
|
||
if (Password.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Password);
|
||
}
|
||
if (WebAuthParams.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeBytesSize(WebAuthParams);
|
||
}
|
||
if (PlatformType != global::PlatformType.None) {
|
||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlatformType);
|
||
}
|
||
if (clientVersion_ != null) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClientVersion);
|
||
}
|
||
if (LanguageType != global::LanguageType.None) {
|
||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LanguageType);
|
||
}
|
||
if (PlatformDetailType.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(PlatformDetailType);
|
||
}
|
||
if (OsType != global::OsType.None) {
|
||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OsType);
|
||
}
|
||
if (OsDetailType.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(OsDetailType);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(LoginReq other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id.Length != 0) {
|
||
Id = other.Id;
|
||
}
|
||
if (other.Password.Length != 0) {
|
||
Password = other.Password;
|
||
}
|
||
if (other.WebAuthParams.Length != 0) {
|
||
WebAuthParams = other.WebAuthParams;
|
||
}
|
||
if (other.PlatformType != global::PlatformType.None) {
|
||
PlatformType = other.PlatformType;
|
||
}
|
||
if (other.clientVersion_ != null) {
|
||
if (clientVersion_ == null) {
|
||
ClientVersion = new global::ClientProgramVersion();
|
||
}
|
||
ClientVersion.MergeFrom(other.ClientVersion);
|
||
}
|
||
if (other.LanguageType != global::LanguageType.None) {
|
||
LanguageType = other.LanguageType;
|
||
}
|
||
if (other.PlatformDetailType.Length != 0) {
|
||
PlatformDetailType = other.PlatformDetailType;
|
||
}
|
||
if (other.OsType != global::OsType.None) {
|
||
OsType = other.OsType;
|
||
}
|
||
if (other.OsDetailType.Length != 0) {
|
||
OsDetailType = other.OsDetailType;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
Id = input.ReadString();
|
||
break;
|
||
}
|
||
case 18: {
|
||
Password = input.ReadString();
|
||
break;
|
||
}
|
||
case 26: {
|
||
WebAuthParams = input.ReadBytes();
|
||
break;
|
||
}
|
||
case 32: {
|
||
PlatformType = (global::PlatformType) input.ReadEnum();
|
||
break;
|
||
}
|
||
case 42: {
|
||
if (clientVersion_ == null) {
|
||
ClientVersion = new global::ClientProgramVersion();
|
||
}
|
||
input.ReadMessage(ClientVersion);
|
||
break;
|
||
}
|
||
case 48: {
|
||
LanguageType = (global::LanguageType) input.ReadEnum();
|
||
break;
|
||
}
|
||
case 58: {
|
||
PlatformDetailType = input.ReadString();
|
||
break;
|
||
}
|
||
case 64: {
|
||
OsType = (global::OsType) input.ReadEnum();
|
||
break;
|
||
}
|
||
case 74: {
|
||
OsDetailType = input.ReadString();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
Id = input.ReadString();
|
||
break;
|
||
}
|
||
case 18: {
|
||
Password = input.ReadString();
|
||
break;
|
||
}
|
||
case 26: {
|
||
WebAuthParams = input.ReadBytes();
|
||
break;
|
||
}
|
||
case 32: {
|
||
PlatformType = (global::PlatformType) input.ReadEnum();
|
||
break;
|
||
}
|
||
case 42: {
|
||
if (clientVersion_ == null) {
|
||
ClientVersion = new global::ClientProgramVersion();
|
||
}
|
||
input.ReadMessage(ClientVersion);
|
||
break;
|
||
}
|
||
case 48: {
|
||
LanguageType = (global::LanguageType) input.ReadEnum();
|
||
break;
|
||
}
|
||
case 58: {
|
||
PlatformDetailType = input.ReadString();
|
||
break;
|
||
}
|
||
case 64: {
|
||
OsType = (global::OsType) input.ReadEnum();
|
||
break;
|
||
}
|
||
case 74: {
|
||
OsDetailType = input.ReadString();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class LogoutReq : pb::IMessage<LogoutReq>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<LogoutReq> _parser = new pb::MessageParser<LogoutReq>(() => new LogoutReq());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<LogoutReq> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginReq.Descriptor.NestedTypes[1]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LogoutReq() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LogoutReq(LogoutReq other) : this() {
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LogoutReq Clone() {
|
||
return new LogoutReq(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as LogoutReq);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(LogoutReq other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(LogoutReq other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
}
|
||
#endregion
|
||
|
||
}
|
||
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class ClientToLoginRes : pb::IMessage<ClientToLoginRes>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<ClientToLoginRes> _parser = new pb::MessageParser<ClientToLoginRes>(() => new ClientToLoginRes());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<ClientToLoginRes> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginReflection.Descriptor.MessageTypes[1]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLoginRes() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLoginRes(ClientToLoginRes other) : this() {
|
||
errorCode_ = other.errorCode_;
|
||
switch (other.MsgCase) {
|
||
case MsgOneofCase.LoginRes:
|
||
LoginRes = other.LoginRes.Clone();
|
||
break;
|
||
case MsgOneofCase.LogoutRes:
|
||
LogoutRes = other.LogoutRes.Clone();
|
||
break;
|
||
}
|
||
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLoginRes Clone() {
|
||
return new ClientToLoginRes(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "errorCode" field.</summary>
|
||
public const int ErrorCodeFieldNumber = 1;
|
||
private global::ServerErrorCode errorCode_ = global::ServerErrorCode.Success;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ServerErrorCode ErrorCode {
|
||
get { return errorCode_; }
|
||
set {
|
||
errorCode_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "loginRes" field.</summary>
|
||
public const int LoginResFieldNumber = 2;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginRes.Types.LoginRes LoginRes {
|
||
get { return msgCase_ == MsgOneofCase.LoginRes ? (global::ClientToLoginRes.Types.LoginRes) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.LoginRes;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "logoutRes" field.</summary>
|
||
public const int LogoutResFieldNumber = 3;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginRes.Types.LogoutRes LogoutRes {
|
||
get { return msgCase_ == MsgOneofCase.LogoutRes ? (global::ClientToLoginRes.Types.LogoutRes) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.LogoutRes;
|
||
}
|
||
}
|
||
|
||
private object msg_;
|
||
/// <summary>Enum of possible cases for the "msg" oneof.</summary>
|
||
public enum MsgOneofCase {
|
||
None = 0,
|
||
LoginRes = 2,
|
||
LogoutRes = 3,
|
||
}
|
||
private MsgOneofCase msgCase_ = MsgOneofCase.None;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MsgOneofCase MsgCase {
|
||
get { return msgCase_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void ClearMsg() {
|
||
msgCase_ = MsgOneofCase.None;
|
||
msg_ = null;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as ClientToLoginRes);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(ClientToLoginRes other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (ErrorCode != other.ErrorCode) return false;
|
||
if (!object.Equals(LoginRes, other.LoginRes)) return false;
|
||
if (!object.Equals(LogoutRes, other.LogoutRes)) return false;
|
||
if (MsgCase != other.MsgCase) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (ErrorCode != global::ServerErrorCode.Success) hash ^= ErrorCode.GetHashCode();
|
||
if (msgCase_ == MsgOneofCase.LoginRes) hash ^= LoginRes.GetHashCode();
|
||
if (msgCase_ == MsgOneofCase.LogoutRes) hash ^= LogoutRes.GetHashCode();
|
||
hash ^= (int) msgCase_;
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (ErrorCode != global::ServerErrorCode.Success) {
|
||
output.WriteRawTag(8);
|
||
output.WriteEnum((int) ErrorCode);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.LoginRes) {
|
||
output.WriteRawTag(18);
|
||
output.WriteMessage(LoginRes);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.LogoutRes) {
|
||
output.WriteRawTag(26);
|
||
output.WriteMessage(LogoutRes);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (ErrorCode != global::ServerErrorCode.Success) {
|
||
output.WriteRawTag(8);
|
||
output.WriteEnum((int) ErrorCode);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.LoginRes) {
|
||
output.WriteRawTag(18);
|
||
output.WriteMessage(LoginRes);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.LogoutRes) {
|
||
output.WriteRawTag(26);
|
||
output.WriteMessage(LogoutRes);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (ErrorCode != global::ServerErrorCode.Success) {
|
||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ErrorCode);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.LoginRes) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LoginRes);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.LogoutRes) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LogoutRes);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(ClientToLoginRes other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.ErrorCode != global::ServerErrorCode.Success) {
|
||
ErrorCode = other.ErrorCode;
|
||
}
|
||
switch (other.MsgCase) {
|
||
case MsgOneofCase.LoginRes:
|
||
if (LoginRes == null) {
|
||
LoginRes = new global::ClientToLoginRes.Types.LoginRes();
|
||
}
|
||
LoginRes.MergeFrom(other.LoginRes);
|
||
break;
|
||
case MsgOneofCase.LogoutRes:
|
||
if (LogoutRes == null) {
|
||
LogoutRes = new global::ClientToLoginRes.Types.LogoutRes();
|
||
}
|
||
LogoutRes.MergeFrom(other.LogoutRes);
|
||
break;
|
||
}
|
||
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
ErrorCode = (global::ServerErrorCode) input.ReadEnum();
|
||
break;
|
||
}
|
||
case 18: {
|
||
global::ClientToLoginRes.Types.LoginRes subBuilder = new global::ClientToLoginRes.Types.LoginRes();
|
||
if (msgCase_ == MsgOneofCase.LoginRes) {
|
||
subBuilder.MergeFrom(LoginRes);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
LoginRes = subBuilder;
|
||
break;
|
||
}
|
||
case 26: {
|
||
global::ClientToLoginRes.Types.LogoutRes subBuilder = new global::ClientToLoginRes.Types.LogoutRes();
|
||
if (msgCase_ == MsgOneofCase.LogoutRes) {
|
||
subBuilder.MergeFrom(LogoutRes);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
LogoutRes = subBuilder;
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
ErrorCode = (global::ServerErrorCode) input.ReadEnum();
|
||
break;
|
||
}
|
||
case 18: {
|
||
global::ClientToLoginRes.Types.LoginRes subBuilder = new global::ClientToLoginRes.Types.LoginRes();
|
||
if (msgCase_ == MsgOneofCase.LoginRes) {
|
||
subBuilder.MergeFrom(LoginRes);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
LoginRes = subBuilder;
|
||
break;
|
||
}
|
||
case 26: {
|
||
global::ClientToLoginRes.Types.LogoutRes subBuilder = new global::ClientToLoginRes.Types.LogoutRes();
|
||
if (msgCase_ == MsgOneofCase.LogoutRes) {
|
||
subBuilder.MergeFrom(LogoutRes);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
LogoutRes = subBuilder;
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
#region Nested types
|
||
/// <summary>Container for nested types declared in the ClientToLoginRes message type.</summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static partial class Types {
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class LoginRes : pb::IMessage<LoginRes>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<LoginRes> _parser = new pb::MessageParser<LoginRes>(() => new LoginRes());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<LoginRes> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginRes.Descriptor.NestedTypes[0]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LoginRes() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LoginRes(LoginRes other) : this() {
|
||
waitOrder_ = other.waitOrder_;
|
||
userId_ = other.userId_;
|
||
currServiceType_ = other.currServiceType_;
|
||
currServerProgramVersion_ = other.currServerProgramVersion_ != null ? other.currServerProgramVersion_.Clone() : null;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LoginRes Clone() {
|
||
return new LoginRes(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "waitOrder" field.</summary>
|
||
public const int WaitOrderFieldNumber = 1;
|
||
private int waitOrder_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int WaitOrder {
|
||
get { return waitOrder_; }
|
||
set {
|
||
waitOrder_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "userId" field.</summary>
|
||
public const int UserIdFieldNumber = 2;
|
||
private string userId_ = "";
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ó<><C3B3><EFBFBD><EFBFBD> <20>߱<EFBFBD><DFB1><EFBFBD> user InstantGUID <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> !!! (32 Byte <20><><EFBFBD><EFBFBD>)
|
||
/// Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD> ClientToGameReq.LoginReq.Name <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ؾ<EFBFBD> <20>Ѵ<EFBFBD>.
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string UserId {
|
||
get { return userId_; }
|
||
set {
|
||
userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "currServiceType" field.</summary>
|
||
public const int CurrServiceTypeFieldNumber = 3;
|
||
private global::ServiceType currServiceType_ = global::ServiceType.None;
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ServiceType CurrServiceType {
|
||
get { return currServiceType_; }
|
||
set {
|
||
currServiceType_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "currServerProgramVersion" field.</summary>
|
||
public const int CurrServerProgramVersionFieldNumber = 4;
|
||
private global::ServerProgramVersion currServerProgramVersion_;
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α<CEB1> <20><><EFBFBD><EFBFBD>
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ServerProgramVersion CurrServerProgramVersion {
|
||
get { return currServerProgramVersion_; }
|
||
set {
|
||
currServerProgramVersion_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as LoginRes);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(LoginRes other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (WaitOrder != other.WaitOrder) return false;
|
||
if (UserId != other.UserId) return false;
|
||
if (CurrServiceType != other.CurrServiceType) return false;
|
||
if (!object.Equals(CurrServerProgramVersion, other.CurrServerProgramVersion)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (WaitOrder != 0) hash ^= WaitOrder.GetHashCode();
|
||
if (UserId.Length != 0) hash ^= UserId.GetHashCode();
|
||
if (CurrServiceType != global::ServiceType.None) hash ^= CurrServiceType.GetHashCode();
|
||
if (currServerProgramVersion_ != null) hash ^= CurrServerProgramVersion.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (WaitOrder != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteInt32(WaitOrder);
|
||
}
|
||
if (UserId.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(UserId);
|
||
}
|
||
if (CurrServiceType != global::ServiceType.None) {
|
||
output.WriteRawTag(24);
|
||
output.WriteEnum((int) CurrServiceType);
|
||
}
|
||
if (currServerProgramVersion_ != null) {
|
||
output.WriteRawTag(34);
|
||
output.WriteMessage(CurrServerProgramVersion);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (WaitOrder != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteInt32(WaitOrder);
|
||
}
|
||
if (UserId.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(UserId);
|
||
}
|
||
if (CurrServiceType != global::ServiceType.None) {
|
||
output.WriteRawTag(24);
|
||
output.WriteEnum((int) CurrServiceType);
|
||
}
|
||
if (currServerProgramVersion_ != null) {
|
||
output.WriteRawTag(34);
|
||
output.WriteMessage(CurrServerProgramVersion);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (WaitOrder != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaitOrder);
|
||
}
|
||
if (UserId.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
|
||
}
|
||
if (CurrServiceType != global::ServiceType.None) {
|
||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CurrServiceType);
|
||
}
|
||
if (currServerProgramVersion_ != null) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrServerProgramVersion);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(LoginRes other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.WaitOrder != 0) {
|
||
WaitOrder = other.WaitOrder;
|
||
}
|
||
if (other.UserId.Length != 0) {
|
||
UserId = other.UserId;
|
||
}
|
||
if (other.CurrServiceType != global::ServiceType.None) {
|
||
CurrServiceType = other.CurrServiceType;
|
||
}
|
||
if (other.currServerProgramVersion_ != null) {
|
||
if (currServerProgramVersion_ == null) {
|
||
CurrServerProgramVersion = new global::ServerProgramVersion();
|
||
}
|
||
CurrServerProgramVersion.MergeFrom(other.CurrServerProgramVersion);
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
WaitOrder = input.ReadInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
UserId = input.ReadString();
|
||
break;
|
||
}
|
||
case 24: {
|
||
CurrServiceType = (global::ServiceType) input.ReadEnum();
|
||
break;
|
||
}
|
||
case 34: {
|
||
if (currServerProgramVersion_ == null) {
|
||
CurrServerProgramVersion = new global::ServerProgramVersion();
|
||
}
|
||
input.ReadMessage(CurrServerProgramVersion);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
WaitOrder = input.ReadInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
UserId = input.ReadString();
|
||
break;
|
||
}
|
||
case 24: {
|
||
CurrServiceType = (global::ServiceType) input.ReadEnum();
|
||
break;
|
||
}
|
||
case 34: {
|
||
if (currServerProgramVersion_ == null) {
|
||
CurrServerProgramVersion = new global::ServerProgramVersion();
|
||
}
|
||
input.ReadMessage(CurrServerProgramVersion);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class LogoutRes : pb::IMessage<LogoutRes>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<LogoutRes> _parser = new pb::MessageParser<LogoutRes>(() => new LogoutRes());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<LogoutRes> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginRes.Descriptor.NestedTypes[1]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LogoutRes() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LogoutRes(LogoutRes other) : this() {
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public LogoutRes Clone() {
|
||
return new LogoutRes(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as LogoutRes);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(LogoutRes other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(LogoutRes other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
}
|
||
#endregion
|
||
|
||
}
|
||
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class ClientToLoginMessage : pb::IMessage<ClientToLoginMessage>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<ClientToLoginMessage> _parser = new pb::MessageParser<ClientToLoginMessage>(() => new ClientToLoginMessage());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<ClientToLoginMessage> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginReflection.Descriptor.MessageTypes[2]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLoginMessage() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLoginMessage(ClientToLoginMessage other) : this() {
|
||
switch (other.MsgCase) {
|
||
case MsgOneofCase.MyHome:
|
||
MyHome = other.MyHome.Clone();
|
||
break;
|
||
case MsgOneofCase.WaitOrderInfo:
|
||
WaitOrderInfo = other.WaitOrderInfo.Clone();
|
||
break;
|
||
case MsgOneofCase.GameServerInfo:
|
||
GameServerInfo = other.GameServerInfo.Clone();
|
||
break;
|
||
case MsgOneofCase.NtfServerUrlCatalog:
|
||
NtfServerUrlCatalog = other.NtfServerUrlCatalog.Clone();
|
||
break;
|
||
}
|
||
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLoginMessage Clone() {
|
||
return new ClientToLoginMessage(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "myHome" field.</summary>
|
||
public const int MyHomeFieldNumber = 1;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginMessage.Types.MyHome MyHome {
|
||
get { return msgCase_ == MsgOneofCase.MyHome ? (global::ClientToLoginMessage.Types.MyHome) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.MyHome;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "waitOrderInfo" field.</summary>
|
||
public const int WaitOrderInfoFieldNumber = 2;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginMessage.Types.WaitOrderInfo WaitOrderInfo {
|
||
get { return msgCase_ == MsgOneofCase.WaitOrderInfo ? (global::ClientToLoginMessage.Types.WaitOrderInfo) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.WaitOrderInfo;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "gameServerInfo" field.</summary>
|
||
public const int GameServerInfoFieldNumber = 3;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginMessage.Types.GameServerInfo GameServerInfo {
|
||
get { return msgCase_ == MsgOneofCase.GameServerInfo ? (global::ClientToLoginMessage.Types.GameServerInfo) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.GameServerInfo;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "ntfServerUrlCatalog" field.</summary>
|
||
public const int NtfServerUrlCatalogFieldNumber = 4;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginMessage.Types.UAS2C_NTF_SERVER_URL_CATALOG NtfServerUrlCatalog {
|
||
get { return msgCase_ == MsgOneofCase.NtfServerUrlCatalog ? (global::ClientToLoginMessage.Types.UAS2C_NTF_SERVER_URL_CATALOG) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.NtfServerUrlCatalog;
|
||
}
|
||
}
|
||
|
||
private object msg_;
|
||
/// <summary>Enum of possible cases for the "msg" oneof.</summary>
|
||
public enum MsgOneofCase {
|
||
None = 0,
|
||
MyHome = 1,
|
||
WaitOrderInfo = 2,
|
||
GameServerInfo = 3,
|
||
NtfServerUrlCatalog = 4,
|
||
}
|
||
private MsgOneofCase msgCase_ = MsgOneofCase.None;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MsgOneofCase MsgCase {
|
||
get { return msgCase_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void ClearMsg() {
|
||
msgCase_ = MsgOneofCase.None;
|
||
msg_ = null;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as ClientToLoginMessage);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(ClientToLoginMessage other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (!object.Equals(MyHome, other.MyHome)) return false;
|
||
if (!object.Equals(WaitOrderInfo, other.WaitOrderInfo)) return false;
|
||
if (!object.Equals(GameServerInfo, other.GameServerInfo)) return false;
|
||
if (!object.Equals(NtfServerUrlCatalog, other.NtfServerUrlCatalog)) return false;
|
||
if (MsgCase != other.MsgCase) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (msgCase_ == MsgOneofCase.MyHome) hash ^= MyHome.GetHashCode();
|
||
if (msgCase_ == MsgOneofCase.WaitOrderInfo) hash ^= WaitOrderInfo.GetHashCode();
|
||
if (msgCase_ == MsgOneofCase.GameServerInfo) hash ^= GameServerInfo.GetHashCode();
|
||
if (msgCase_ == MsgOneofCase.NtfServerUrlCatalog) hash ^= NtfServerUrlCatalog.GetHashCode();
|
||
hash ^= (int) msgCase_;
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (msgCase_ == MsgOneofCase.MyHome) {
|
||
output.WriteRawTag(10);
|
||
output.WriteMessage(MyHome);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.WaitOrderInfo) {
|
||
output.WriteRawTag(18);
|
||
output.WriteMessage(WaitOrderInfo);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.GameServerInfo) {
|
||
output.WriteRawTag(26);
|
||
output.WriteMessage(GameServerInfo);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.NtfServerUrlCatalog) {
|
||
output.WriteRawTag(34);
|
||
output.WriteMessage(NtfServerUrlCatalog);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (msgCase_ == MsgOneofCase.MyHome) {
|
||
output.WriteRawTag(10);
|
||
output.WriteMessage(MyHome);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.WaitOrderInfo) {
|
||
output.WriteRawTag(18);
|
||
output.WriteMessage(WaitOrderInfo);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.GameServerInfo) {
|
||
output.WriteRawTag(26);
|
||
output.WriteMessage(GameServerInfo);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.NtfServerUrlCatalog) {
|
||
output.WriteRawTag(34);
|
||
output.WriteMessage(NtfServerUrlCatalog);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (msgCase_ == MsgOneofCase.MyHome) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MyHome);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.WaitOrderInfo) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(WaitOrderInfo);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.GameServerInfo) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameServerInfo);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.NtfServerUrlCatalog) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(NtfServerUrlCatalog);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(ClientToLoginMessage other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
switch (other.MsgCase) {
|
||
case MsgOneofCase.MyHome:
|
||
if (MyHome == null) {
|
||
MyHome = new global::ClientToLoginMessage.Types.MyHome();
|
||
}
|
||
MyHome.MergeFrom(other.MyHome);
|
||
break;
|
||
case MsgOneofCase.WaitOrderInfo:
|
||
if (WaitOrderInfo == null) {
|
||
WaitOrderInfo = new global::ClientToLoginMessage.Types.WaitOrderInfo();
|
||
}
|
||
WaitOrderInfo.MergeFrom(other.WaitOrderInfo);
|
||
break;
|
||
case MsgOneofCase.GameServerInfo:
|
||
if (GameServerInfo == null) {
|
||
GameServerInfo = new global::ClientToLoginMessage.Types.GameServerInfo();
|
||
}
|
||
GameServerInfo.MergeFrom(other.GameServerInfo);
|
||
break;
|
||
case MsgOneofCase.NtfServerUrlCatalog:
|
||
if (NtfServerUrlCatalog == null) {
|
||
NtfServerUrlCatalog = new global::ClientToLoginMessage.Types.UAS2C_NTF_SERVER_URL_CATALOG();
|
||
}
|
||
NtfServerUrlCatalog.MergeFrom(other.NtfServerUrlCatalog);
|
||
break;
|
||
}
|
||
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
global::ClientToLoginMessage.Types.MyHome subBuilder = new global::ClientToLoginMessage.Types.MyHome();
|
||
if (msgCase_ == MsgOneofCase.MyHome) {
|
||
subBuilder.MergeFrom(MyHome);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
MyHome = subBuilder;
|
||
break;
|
||
}
|
||
case 18: {
|
||
global::ClientToLoginMessage.Types.WaitOrderInfo subBuilder = new global::ClientToLoginMessage.Types.WaitOrderInfo();
|
||
if (msgCase_ == MsgOneofCase.WaitOrderInfo) {
|
||
subBuilder.MergeFrom(WaitOrderInfo);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
WaitOrderInfo = subBuilder;
|
||
break;
|
||
}
|
||
case 26: {
|
||
global::ClientToLoginMessage.Types.GameServerInfo subBuilder = new global::ClientToLoginMessage.Types.GameServerInfo();
|
||
if (msgCase_ == MsgOneofCase.GameServerInfo) {
|
||
subBuilder.MergeFrom(GameServerInfo);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
GameServerInfo = subBuilder;
|
||
break;
|
||
}
|
||
case 34: {
|
||
global::ClientToLoginMessage.Types.UAS2C_NTF_SERVER_URL_CATALOG subBuilder = new global::ClientToLoginMessage.Types.UAS2C_NTF_SERVER_URL_CATALOG();
|
||
if (msgCase_ == MsgOneofCase.NtfServerUrlCatalog) {
|
||
subBuilder.MergeFrom(NtfServerUrlCatalog);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
NtfServerUrlCatalog = subBuilder;
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
global::ClientToLoginMessage.Types.MyHome subBuilder = new global::ClientToLoginMessage.Types.MyHome();
|
||
if (msgCase_ == MsgOneofCase.MyHome) {
|
||
subBuilder.MergeFrom(MyHome);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
MyHome = subBuilder;
|
||
break;
|
||
}
|
||
case 18: {
|
||
global::ClientToLoginMessage.Types.WaitOrderInfo subBuilder = new global::ClientToLoginMessage.Types.WaitOrderInfo();
|
||
if (msgCase_ == MsgOneofCase.WaitOrderInfo) {
|
||
subBuilder.MergeFrom(WaitOrderInfo);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
WaitOrderInfo = subBuilder;
|
||
break;
|
||
}
|
||
case 26: {
|
||
global::ClientToLoginMessage.Types.GameServerInfo subBuilder = new global::ClientToLoginMessage.Types.GameServerInfo();
|
||
if (msgCase_ == MsgOneofCase.GameServerInfo) {
|
||
subBuilder.MergeFrom(GameServerInfo);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
GameServerInfo = subBuilder;
|
||
break;
|
||
}
|
||
case 34: {
|
||
global::ClientToLoginMessage.Types.UAS2C_NTF_SERVER_URL_CATALOG subBuilder = new global::ClientToLoginMessage.Types.UAS2C_NTF_SERVER_URL_CATALOG();
|
||
if (msgCase_ == MsgOneofCase.NtfServerUrlCatalog) {
|
||
subBuilder.MergeFrom(NtfServerUrlCatalog);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
NtfServerUrlCatalog = subBuilder;
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
#region Nested types
|
||
/// <summary>Container for nested types declared in the ClientToLoginMessage message type.</summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static partial class Types {
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class MyHome : pb::IMessage<MyHome>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<MyHome> _parser = new pb::MessageParser<MyHome>(() => new MyHome());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<MyHome> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginMessage.Descriptor.NestedTypes[0]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MyHome() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MyHome(MyHome other) : this() {
|
||
id_ = other.id_;
|
||
slotInfo_ = other.slotInfo_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MyHome Clone() {
|
||
return new MyHome(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "id" field.</summary>
|
||
public const int IdFieldNumber = 1;
|
||
private int id_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int Id {
|
||
get { return id_; }
|
||
set {
|
||
id_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "slotInfo" field.</summary>
|
||
public const int SlotInfoFieldNumber = 2;
|
||
private static readonly pb::FieldCodec<global::MyHomeObjectSlotInfo> _repeated_slotInfo_codec
|
||
= pb::FieldCodec.ForMessage(18, global::MyHomeObjectSlotInfo.Parser);
|
||
private readonly pbc::RepeatedField<global::MyHomeObjectSlotInfo> slotInfo_ = new pbc::RepeatedField<global::MyHomeObjectSlotInfo>();
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::MyHomeObjectSlotInfo> SlotInfo {
|
||
get { return slotInfo_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as MyHome);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(MyHome other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Id != other.Id) return false;
|
||
if(!slotInfo_.Equals(other.slotInfo_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (Id != 0) hash ^= Id.GetHashCode();
|
||
hash ^= slotInfo_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteInt32(Id);
|
||
}
|
||
slotInfo_.WriteTo(output, _repeated_slotInfo_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (Id != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteInt32(Id);
|
||
}
|
||
slotInfo_.WriteTo(ref output, _repeated_slotInfo_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (Id != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
|
||
}
|
||
size += slotInfo_.CalculateSize(_repeated_slotInfo_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(MyHome other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Id != 0) {
|
||
Id = other.Id;
|
||
}
|
||
slotInfo_.Add(other.slotInfo_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
slotInfo_.AddEntriesFrom(input, _repeated_slotInfo_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
Id = input.ReadInt32();
|
||
break;
|
||
}
|
||
case 18: {
|
||
slotInfo_.AddEntriesFrom(ref input, _repeated_slotInfo_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class WaitOrderInfo : pb::IMessage<WaitOrderInfo>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<WaitOrderInfo> _parser = new pb::MessageParser<WaitOrderInfo>(() => new WaitOrderInfo());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<WaitOrderInfo> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginMessage.Descriptor.NestedTypes[1]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public WaitOrderInfo() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public WaitOrderInfo(WaitOrderInfo other) : this() {
|
||
waitOrder_ = other.waitOrder_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public WaitOrderInfo Clone() {
|
||
return new WaitOrderInfo(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "waitOrder" field.</summary>
|
||
public const int WaitOrderFieldNumber = 1;
|
||
private int waitOrder_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int WaitOrder {
|
||
get { return waitOrder_; }
|
||
set {
|
||
waitOrder_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as WaitOrderInfo);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(WaitOrderInfo other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (WaitOrder != other.WaitOrder) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (WaitOrder != 0) hash ^= WaitOrder.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (WaitOrder != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteInt32(WaitOrder);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (WaitOrder != 0) {
|
||
output.WriteRawTag(8);
|
||
output.WriteInt32(WaitOrder);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (WaitOrder != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WaitOrder);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(WaitOrderInfo other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.WaitOrder != 0) {
|
||
WaitOrder = other.WaitOrder;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 8: {
|
||
WaitOrder = input.ReadInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 8: {
|
||
WaitOrder = input.ReadInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class GameServerInfo : pb::IMessage<GameServerInfo>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<GameServerInfo> _parser = new pb::MessageParser<GameServerInfo>(() => new GameServerInfo());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<GameServerInfo> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginMessage.Descriptor.NestedTypes[2]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public GameServerInfo() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public GameServerInfo(GameServerInfo other) : this() {
|
||
gameServerAddr_ = other.gameServerAddr_;
|
||
gameServerPort_ = other.gameServerPort_;
|
||
otp_ = other.otp_;
|
||
worldId_ = other.worldId_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public GameServerInfo Clone() {
|
||
return new GameServerInfo(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "gameServerAddr" field.</summary>
|
||
public const int GameServerAddrFieldNumber = 1;
|
||
private string gameServerAddr_ = "";
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string GameServerAddr {
|
||
get { return gameServerAddr_; }
|
||
set {
|
||
gameServerAddr_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "gameServerPort" field.</summary>
|
||
public const int GameServerPortFieldNumber = 2;
|
||
private int gameServerPort_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int GameServerPort {
|
||
get { return gameServerPort_; }
|
||
set {
|
||
gameServerPort_ = value;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "otp" field.</summary>
|
||
public const int OtpFieldNumber = 3;
|
||
private string otp_ = "";
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Otp {
|
||
get { return otp_; }
|
||
set {
|
||
otp_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "worldId" field.</summary>
|
||
public const int WorldIdFieldNumber = 4;
|
||
private int worldId_;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int WorldId {
|
||
get { return worldId_; }
|
||
set {
|
||
worldId_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as GameServerInfo);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(GameServerInfo other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (GameServerAddr != other.GameServerAddr) return false;
|
||
if (GameServerPort != other.GameServerPort) return false;
|
||
if (Otp != other.Otp) return false;
|
||
if (WorldId != other.WorldId) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (GameServerAddr.Length != 0) hash ^= GameServerAddr.GetHashCode();
|
||
if (GameServerPort != 0) hash ^= GameServerPort.GetHashCode();
|
||
if (Otp.Length != 0) hash ^= Otp.GetHashCode();
|
||
if (WorldId != 0) hash ^= WorldId.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (GameServerAddr.Length != 0) {
|
||
output.WriteRawTag(10);
|
||
output.WriteString(GameServerAddr);
|
||
}
|
||
if (GameServerPort != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteInt32(GameServerPort);
|
||
}
|
||
if (Otp.Length != 0) {
|
||
output.WriteRawTag(26);
|
||
output.WriteString(Otp);
|
||
}
|
||
if (WorldId != 0) {
|
||
output.WriteRawTag(32);
|
||
output.WriteInt32(WorldId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (GameServerAddr.Length != 0) {
|
||
output.WriteRawTag(10);
|
||
output.WriteString(GameServerAddr);
|
||
}
|
||
if (GameServerPort != 0) {
|
||
output.WriteRawTag(16);
|
||
output.WriteInt32(GameServerPort);
|
||
}
|
||
if (Otp.Length != 0) {
|
||
output.WriteRawTag(26);
|
||
output.WriteString(Otp);
|
||
}
|
||
if (WorldId != 0) {
|
||
output.WriteRawTag(32);
|
||
output.WriteInt32(WorldId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (GameServerAddr.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameServerAddr);
|
||
}
|
||
if (GameServerPort != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameServerPort);
|
||
}
|
||
if (Otp.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Otp);
|
||
}
|
||
if (WorldId != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(WorldId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(GameServerInfo other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.GameServerAddr.Length != 0) {
|
||
GameServerAddr = other.GameServerAddr;
|
||
}
|
||
if (other.GameServerPort != 0) {
|
||
GameServerPort = other.GameServerPort;
|
||
}
|
||
if (other.Otp.Length != 0) {
|
||
Otp = other.Otp;
|
||
}
|
||
if (other.WorldId != 0) {
|
||
WorldId = other.WorldId;
|
||
}
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
GameServerAddr = input.ReadString();
|
||
break;
|
||
}
|
||
case 16: {
|
||
GameServerPort = input.ReadInt32();
|
||
break;
|
||
}
|
||
case 26: {
|
||
Otp = input.ReadString();
|
||
break;
|
||
}
|
||
case 32: {
|
||
WorldId = input.ReadInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
GameServerAddr = input.ReadString();
|
||
break;
|
||
}
|
||
case 16: {
|
||
GameServerPort = input.ReadInt32();
|
||
break;
|
||
}
|
||
case 26: {
|
||
Otp = input.ReadString();
|
||
break;
|
||
}
|
||
case 32: {
|
||
WorldId = input.ReadInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> URL <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||
/// </summary>
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class UAS2C_NTF_SERVER_URL_CATALOG : pb::IMessage<UAS2C_NTF_SERVER_URL_CATALOG>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<UAS2C_NTF_SERVER_URL_CATALOG> _parser = new pb::MessageParser<UAS2C_NTF_SERVER_URL_CATALOG>(() => new UAS2C_NTF_SERVER_URL_CATALOG());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<UAS2C_NTF_SERVER_URL_CATALOG> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginMessage.Descriptor.NestedTypes[3]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public UAS2C_NTF_SERVER_URL_CATALOG() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public UAS2C_NTF_SERVER_URL_CATALOG(UAS2C_NTF_SERVER_URL_CATALOG other) : this() {
|
||
serverUrls_ = other.serverUrls_.Clone();
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public UAS2C_NTF_SERVER_URL_CATALOG Clone() {
|
||
return new UAS2C_NTF_SERVER_URL_CATALOG(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "serverUrls" field.</summary>
|
||
public const int ServerUrlsFieldNumber = 1;
|
||
private static readonly pb::FieldCodec<global::ServerUrl> _repeated_serverUrls_codec
|
||
= pb::FieldCodec.ForMessage(10, global::ServerUrl.Parser);
|
||
private readonly pbc::RepeatedField<global::ServerUrl> serverUrls_ = new pbc::RepeatedField<global::ServerUrl>();
|
||
/// <summary>
|
||
/// <20><><EFBFBD><EFBFBD> Url <20><><EFBFBD><EFBFBD>
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<global::ServerUrl> ServerUrls {
|
||
get { return serverUrls_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as UAS2C_NTF_SERVER_URL_CATALOG);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(UAS2C_NTF_SERVER_URL_CATALOG other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if(!serverUrls_.Equals(other.serverUrls_)) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
hash ^= serverUrls_.GetHashCode();
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
serverUrls_.WriteTo(output, _repeated_serverUrls_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
serverUrls_.WriteTo(ref output, _repeated_serverUrls_codec);
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
size += serverUrls_.CalculateSize(_repeated_serverUrls_codec);
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(UAS2C_NTF_SERVER_URL_CATALOG other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
serverUrls_.Add(other.serverUrls_);
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
serverUrls_.AddEntriesFrom(input, _repeated_serverUrls_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
serverUrls_.AddEntriesFrom(ref input, _repeated_serverUrls_codec);
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
}
|
||
#endregion
|
||
|
||
}
|
||
|
||
[global::System.SerializableAttribute]
|
||
public sealed partial class ClientToLogin : pb::IMessage<ClientToLogin>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<ClientToLogin> _parser = new pb::MessageParser<ClientToLogin>(() => new ClientToLogin());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<ClientToLogin> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::ClientToLoginReflection.Descriptor.MessageTypes[3]; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||
get { return Descriptor; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLogin() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLogin(ClientToLogin other) : this() {
|
||
switch (other.MsgCase) {
|
||
case MsgOneofCase.Request:
|
||
Request = other.Request.Clone();
|
||
break;
|
||
case MsgOneofCase.Response:
|
||
Response = other.Response.Clone();
|
||
break;
|
||
case MsgOneofCase.Message:
|
||
Message = other.Message.Clone();
|
||
break;
|
||
}
|
||
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public ClientToLogin Clone() {
|
||
return new ClientToLogin(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "request" field.</summary>
|
||
public const int RequestFieldNumber = 1;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginReq Request {
|
||
get { return msgCase_ == MsgOneofCase.Request ? (global::ClientToLoginReq) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.Request;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "response" field.</summary>
|
||
public const int ResponseFieldNumber = 2;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginRes Response {
|
||
get { return msgCase_ == MsgOneofCase.Response ? (global::ClientToLoginRes) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.Response;
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "message" field.</summary>
|
||
public const int MessageFieldNumber = 3;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public global::ClientToLoginMessage Message {
|
||
get { return msgCase_ == MsgOneofCase.Message ? (global::ClientToLoginMessage) msg_ : null; }
|
||
set {
|
||
msg_ = value;
|
||
msgCase_ = value == null ? MsgOneofCase.None : MsgOneofCase.Message;
|
||
}
|
||
}
|
||
|
||
private object msg_;
|
||
/// <summary>Enum of possible cases for the "msg" oneof.</summary>
|
||
public enum MsgOneofCase {
|
||
None = 0,
|
||
Request = 1,
|
||
Response = 2,
|
||
Message = 3,
|
||
}
|
||
private MsgOneofCase msgCase_ = MsgOneofCase.None;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public MsgOneofCase MsgCase {
|
||
get { return msgCase_; }
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void ClearMsg() {
|
||
msgCase_ = MsgOneofCase.None;
|
||
msg_ = null;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as ClientToLogin);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(ClientToLogin other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (!object.Equals(Request, other.Request)) return false;
|
||
if (!object.Equals(Response, other.Response)) return false;
|
||
if (!object.Equals(Message, other.Message)) return false;
|
||
if (MsgCase != other.MsgCase) return false;
|
||
return Equals(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override int GetHashCode() {
|
||
int hash = 1;
|
||
if (msgCase_ == MsgOneofCase.Request) hash ^= Request.GetHashCode();
|
||
if (msgCase_ == MsgOneofCase.Response) hash ^= Response.GetHashCode();
|
||
if (msgCase_ == MsgOneofCase.Message) hash ^= Message.GetHashCode();
|
||
hash ^= (int) msgCase_;
|
||
if (_unknownFields != null) {
|
||
hash ^= _unknownFields.GetHashCode();
|
||
}
|
||
return hash;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override string ToString() {
|
||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void WriteTo(pb::CodedOutputStream output) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
output.WriteRawMessage(this);
|
||
#else
|
||
if (msgCase_ == MsgOneofCase.Request) {
|
||
output.WriteRawTag(10);
|
||
output.WriteMessage(Request);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.Response) {
|
||
output.WriteRawTag(18);
|
||
output.WriteMessage(Response);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.Message) {
|
||
output.WriteRawTag(26);
|
||
output.WriteMessage(Message);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(output);
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||
if (msgCase_ == MsgOneofCase.Request) {
|
||
output.WriteRawTag(10);
|
||
output.WriteMessage(Request);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.Response) {
|
||
output.WriteRawTag(18);
|
||
output.WriteMessage(Response);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.Message) {
|
||
output.WriteRawTag(26);
|
||
output.WriteMessage(Message);
|
||
}
|
||
if (_unknownFields != null) {
|
||
_unknownFields.WriteTo(ref output);
|
||
}
|
||
}
|
||
#endif
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int CalculateSize() {
|
||
int size = 0;
|
||
if (msgCase_ == MsgOneofCase.Request) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Request);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.Response) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Response);
|
||
}
|
||
if (msgCase_ == MsgOneofCase.Message) {
|
||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Message);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(ClientToLogin other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
switch (other.MsgCase) {
|
||
case MsgOneofCase.Request:
|
||
if (Request == null) {
|
||
Request = new global::ClientToLoginReq();
|
||
}
|
||
Request.MergeFrom(other.Request);
|
||
break;
|
||
case MsgOneofCase.Response:
|
||
if (Response == null) {
|
||
Response = new global::ClientToLoginRes();
|
||
}
|
||
Response.MergeFrom(other.Response);
|
||
break;
|
||
case MsgOneofCase.Message:
|
||
if (Message == null) {
|
||
Message = new global::ClientToLoginMessage();
|
||
}
|
||
Message.MergeFrom(other.Message);
|
||
break;
|
||
}
|
||
|
||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(pb::CodedInputStream input) {
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
input.ReadRawMessage(this);
|
||
#else
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
global::ClientToLoginReq subBuilder = new global::ClientToLoginReq();
|
||
if (msgCase_ == MsgOneofCase.Request) {
|
||
subBuilder.MergeFrom(Request);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
Request = subBuilder;
|
||
break;
|
||
}
|
||
case 18: {
|
||
global::ClientToLoginRes subBuilder = new global::ClientToLoginRes();
|
||
if (msgCase_ == MsgOneofCase.Response) {
|
||
subBuilder.MergeFrom(Response);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
Response = subBuilder;
|
||
break;
|
||
}
|
||
case 26: {
|
||
global::ClientToLoginMessage subBuilder = new global::ClientToLoginMessage();
|
||
if (msgCase_ == MsgOneofCase.Message) {
|
||
subBuilder.MergeFrom(Message);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
Message = subBuilder;
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||
uint tag;
|
||
while ((tag = input.ReadTag()) != 0) {
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
global::ClientToLoginReq subBuilder = new global::ClientToLoginReq();
|
||
if (msgCase_ == MsgOneofCase.Request) {
|
||
subBuilder.MergeFrom(Request);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
Request = subBuilder;
|
||
break;
|
||
}
|
||
case 18: {
|
||
global::ClientToLoginRes subBuilder = new global::ClientToLoginRes();
|
||
if (msgCase_ == MsgOneofCase.Response) {
|
||
subBuilder.MergeFrom(Response);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
Response = subBuilder;
|
||
break;
|
||
}
|
||
case 26: {
|
||
global::ClientToLoginMessage subBuilder = new global::ClientToLoginMessage();
|
||
if (msgCase_ == MsgOneofCase.Message) {
|
||
subBuilder.MergeFrom(Message);
|
||
}
|
||
input.ReadMessage(subBuilder);
|
||
Message = subBuilder;
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
|
||
#endregion Designer generated code
|