//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ClientToLogin.proto
//
#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;
/// Holder for reflection information generated from ClientToLogin.proto
public static partial class ClientToLoginReflection {
#region Descriptor
/// File descriptor for ClientToLogin.proto
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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientToLoginReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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);
}
/// Field number for the "loginReq" field.
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;
}
}
/// Field number for the "logoutReq" field.
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_;
/// Enum of possible cases for the "msg" oneof.
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
/// Container for nested types declared in the ClientToLoginReq message type.
[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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoginReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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);
}
/// Field number for the "id" field.
public const int IdFieldNumber = 1;
private string id_ = "";
///
/// Ŭ¶óÀÌ¾ðÆ® ´Üµ¶ ÀÎÁõ½Ã »ç¿ë, ±× ¹ÛÀÇ °æ¿ì´Â Empty Á¤º¸
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "password" field.
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");
}
}
/// Field number for the "webAuthParams" field.
public const int WebAuthParamsFieldNumber = 3;
private pb::ByteString webAuthParams_ = pb::ByteString.Empty;
///
/// À¥ÀÎÁõ -> ·±Ã³ -> Ŭ¶óÀÌ¾ðÆ® ¿¬µ¿ ÀÎÁõ½Ã »ç¿ë (JsonWebToken : À¥ÀÎÁõÈÄ ·±Ã³°¡ ³Ñ°ÜÁØ Á¤º¸), ±× ¹ÛÀÇ °æ¿ì´Â Empty Á¤º¸
///
[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");
}
}
/// Field number for the "platformType" field.
public const int PlatformTypeFieldNumber = 4;
private global::PlatformType platformType_ = global::PlatformType.None;
///
/// Ŭ¶óÀÌ¾ðÆ® °øÅë : ¹Ýµå½Ã ¼³Á¤ µÇ¾î¾ß ÇÏ´Â °øÅë Á¤º¸
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::PlatformType PlatformType {
get { return platformType_; }
set {
platformType_ = value;
}
}
/// Field number for the "clientVersion" field.
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;
}
}
/// Field number for the "languageType" field.
public const int LanguageTypeFieldNumber = 6;
private global::LanguageType languageType_ = global::LanguageType.None;
///
/// LanguageType.LanguageType_ko
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::LanguageType LanguageType {
get { return languageType_; }
set {
languageType_ = value;
}
}
/// Field number for the "platformDetailType" field.
public const int PlatformDetailTypeFieldNumber = 7;
private string platformDetailType_ = "";
///
/// ¼³Á¤ÀÌ ¾ÊµÇµµ µÇ´Â Á¤º¸ : ºñÁî´Ï½º ·Î±× ÀÛ¼º½Ã Ȱ¿ë, Ŭ¶óÀ̾ðÆ®Ãø¿¡¼ ¾òÀ» ¼ö ÀÖÀ¸¸é ¼³Á¤
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string PlatformDetailType {
get { return platformDetailType_; }
set {
platformDetailType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "osType" field.
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;
}
}
/// Field number for the "osDetailType" field.
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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LogoutReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientToLoginRes());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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);
}
/// Field number for the "errorCode" field.
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;
}
}
/// Field number for the "loginRes" field.
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;
}
}
/// Field number for the "logoutRes" field.
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_;
/// Enum of possible cases for the "msg" oneof.
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
/// Container for nested types declared in the ClientToLoginRes message type.
[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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoginRes());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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);
}
/// Field number for the "waitOrder" field.
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;
}
}
/// Field number for the "userId" field.
public const int UserIdFieldNumber = 2;
private string userId_ = "";
///
/// ¼¹öÃø¿¡¼ ÀÎÁõ ó¸®ÈÄ ¹ß±ÞÇÑ user InstantGUID ·Î º¯°æÇÒ ¿¹Á¤ !!! (32 Byte ¿¹»ó)
/// Ŭ¶óÀÌ¾ðÆ®¿¡¼ ClientToGameReq.LoginReq.Name ¿¡ »ç¿ëÇØ¾ß ÇÑ´Ù.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UserId {
get { return userId_; }
set {
userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "currServiceType" field.
public const int CurrServiceTypeFieldNumber = 3;
private global::ServiceType currServiceType_ = global::ServiceType.None;
///
/// ÇöÀç Á¢¼ÓÁßÀÎ ¼ºñ½º Á¾·ù
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::ServiceType CurrServiceType {
get { return currServiceType_; }
set {
currServiceType_ = value;
}
}
/// Field number for the "currServerProgramVersion" field.
public const int CurrServerProgramVersionFieldNumber = 4;
private global::ServerProgramVersion currServerProgramVersion_;
///
/// ÇöÀç Á¢¼ÓÇÑ ¼¹ö ÇÁ·Î±×·¥ ¹öÀü
///
[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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LogoutRes());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientToLoginMessage());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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);
}
/// Field number for the "myHome" field.
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;
}
}
/// Field number for the "waitOrderInfo" field.
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;
}
}
/// Field number for the "gameServerInfo" field.
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;
}
}
/// Field number for the "ntfServerUrlCatalog" field.
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_;
/// Enum of possible cases for the "msg" oneof.
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
/// Container for nested types declared in the ClientToLoginMessage message type.
[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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MyHome());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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);
}
/// Field number for the "id" field.
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;
}
}
/// Field number for the "slotInfo" field.
public const int SlotInfoFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_slotInfo_codec
= pb::FieldCodec.ForMessage(18, global::MyHomeObjectSlotInfo.Parser);
private readonly pbc::RepeatedField slotInfo_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField 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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WaitOrderInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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);
}
/// Field number for the "waitOrder" field.
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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameServerInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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);
}
/// Field number for the "gameServerAddr" field.
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");
}
}
/// Field number for the "gameServerPort" field.
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;
}
}
/// Field number for the "otp" field.
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");
}
}
/// Field number for the "worldId" field.
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
}
///
/// ¼¹ö Á¢¼Ó URL ¸ñ·Ï ÅëÁö Á¤ÀÇ
///
[global::System.SerializableAttribute]
public sealed partial class UAS2C_NTF_SERVER_URL_CATALOG : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => 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 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);
}
/// Field number for the "serverUrls" field.
public const int ServerUrlsFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_serverUrls_codec
= pb::FieldCodec.ForMessage(10, global::ServerUrl.Parser);
private readonly pbc::RepeatedField serverUrls_ = new pbc::RepeatedField();
///
/// ¼¹ö Url ¸ñ·Ï
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField 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
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClientToLogin());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser 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);
}
/// Field number for the "request" field.
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;
}
}
/// Field number for the "response" field.
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;
}
}
/// Field number for the "message" field.
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_;
/// Enum of possible cases for the "msg" oneof.
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