mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
497 lines
16 KiB
C#
497 lines
16 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: PlayerGetTokenCsReq.proto
|
|
// </auto-generated>
|
|
#pragma warning disable 1591, 0612, 3021, 8981
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace EggLink.DanhengServer.Proto {
|
|
|
|
/// <summary>Holder for reflection information generated from PlayerGetTokenCsReq.proto</summary>
|
|
public static partial class PlayerGetTokenCsReqReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for PlayerGetTokenCsReq.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PlayerGetTokenCsReqReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChlQbGF5ZXJHZXRUb2tlbkNzUmVxLnByb3RvIqYBChNQbGF5ZXJHZXRUb2tl",
|
|
"bkNzUmVxEhIKCmNoYW5uZWxfaWQYCiABKA0SDQoFdG9rZW4YASABKAkSEwoL",
|
|
"T0tITEJPS0NNTUsYByABKA0SEwoLYWNjb3VudF91aWQYCyABKAkSCwoDdWlk",
|
|
"GAIgASgNEhMKC05DTU9CT09OS0lKGAggASgNEhAKCHBsYXRmb3JtGA8gASgN",
|
|
"Eg4KBmRldmljZRgMIAEoCUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
|
|
"b3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PlayerGetTokenCsReq), global::EggLink.DanhengServer.Proto.PlayerGetTokenCsReq.Parser, new[]{ "ChannelId", "Token", "OKHLBOKCMMK", "AccountUid", "Uid", "NCMOBOONKIJ", "Platform", "Device" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PlayerGetTokenCsReq : pb::IMessage<PlayerGetTokenCsReq>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PlayerGetTokenCsReq> _parser = new pb::MessageParser<PlayerGetTokenCsReq>(() => new PlayerGetTokenCsReq());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PlayerGetTokenCsReq> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::EggLink.DanhengServer.Proto.PlayerGetTokenCsReqReflection.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 PlayerGetTokenCsReq() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerGetTokenCsReq(PlayerGetTokenCsReq other) : this() {
|
|
channelId_ = other.channelId_;
|
|
token_ = other.token_;
|
|
oKHLBOKCMMK_ = other.oKHLBOKCMMK_;
|
|
accountUid_ = other.accountUid_;
|
|
uid_ = other.uid_;
|
|
nCMOBOONKIJ_ = other.nCMOBOONKIJ_;
|
|
platform_ = other.platform_;
|
|
device_ = other.device_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerGetTokenCsReq Clone() {
|
|
return new PlayerGetTokenCsReq(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "channel_id" field.</summary>
|
|
public const int ChannelIdFieldNumber = 10;
|
|
private uint channelId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ChannelId {
|
|
get { return channelId_; }
|
|
set {
|
|
channelId_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "token" field.</summary>
|
|
public const int TokenFieldNumber = 1;
|
|
private string token_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Token {
|
|
get { return token_; }
|
|
set {
|
|
token_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "OKHLBOKCMMK" field.</summary>
|
|
public const int OKHLBOKCMMKFieldNumber = 7;
|
|
private uint oKHLBOKCMMK_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint OKHLBOKCMMK {
|
|
get { return oKHLBOKCMMK_; }
|
|
set {
|
|
oKHLBOKCMMK_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "account_uid" field.</summary>
|
|
public const int AccountUidFieldNumber = 11;
|
|
private string accountUid_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string AccountUid {
|
|
get { return accountUid_; }
|
|
set {
|
|
accountUid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "uid" field.</summary>
|
|
public const int UidFieldNumber = 2;
|
|
private uint uid_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Uid {
|
|
get { return uid_; }
|
|
set {
|
|
uid_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "NCMOBOONKIJ" field.</summary>
|
|
public const int NCMOBOONKIJFieldNumber = 8;
|
|
private uint nCMOBOONKIJ_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint NCMOBOONKIJ {
|
|
get { return nCMOBOONKIJ_; }
|
|
set {
|
|
nCMOBOONKIJ_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "platform" field.</summary>
|
|
public const int PlatformFieldNumber = 15;
|
|
private uint platform_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Platform {
|
|
get { return platform_; }
|
|
set {
|
|
platform_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "device" field.</summary>
|
|
public const int DeviceFieldNumber = 12;
|
|
private string device_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Device {
|
|
get { return device_; }
|
|
set {
|
|
device_ = 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 PlayerGetTokenCsReq);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PlayerGetTokenCsReq other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ChannelId != other.ChannelId) return false;
|
|
if (Token != other.Token) return false;
|
|
if (OKHLBOKCMMK != other.OKHLBOKCMMK) return false;
|
|
if (AccountUid != other.AccountUid) return false;
|
|
if (Uid != other.Uid) return false;
|
|
if (NCMOBOONKIJ != other.NCMOBOONKIJ) return false;
|
|
if (Platform != other.Platform) return false;
|
|
if (Device != other.Device) 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 (ChannelId != 0) hash ^= ChannelId.GetHashCode();
|
|
if (Token.Length != 0) hash ^= Token.GetHashCode();
|
|
if (OKHLBOKCMMK != 0) hash ^= OKHLBOKCMMK.GetHashCode();
|
|
if (AccountUid.Length != 0) hash ^= AccountUid.GetHashCode();
|
|
if (Uid != 0) hash ^= Uid.GetHashCode();
|
|
if (NCMOBOONKIJ != 0) hash ^= NCMOBOONKIJ.GetHashCode();
|
|
if (Platform != 0) hash ^= Platform.GetHashCode();
|
|
if (Device.Length != 0) hash ^= Device.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 (Token.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Token);
|
|
}
|
|
if (Uid != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Uid);
|
|
}
|
|
if (OKHLBOKCMMK != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(OKHLBOKCMMK);
|
|
}
|
|
if (NCMOBOONKIJ != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(NCMOBOONKIJ);
|
|
}
|
|
if (ChannelId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(ChannelId);
|
|
}
|
|
if (AccountUid.Length != 0) {
|
|
output.WriteRawTag(90);
|
|
output.WriteString(AccountUid);
|
|
}
|
|
if (Device.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(Device);
|
|
}
|
|
if (Platform != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Platform);
|
|
}
|
|
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 (Token.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Token);
|
|
}
|
|
if (Uid != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(Uid);
|
|
}
|
|
if (OKHLBOKCMMK != 0) {
|
|
output.WriteRawTag(56);
|
|
output.WriteUInt32(OKHLBOKCMMK);
|
|
}
|
|
if (NCMOBOONKIJ != 0) {
|
|
output.WriteRawTag(64);
|
|
output.WriteUInt32(NCMOBOONKIJ);
|
|
}
|
|
if (ChannelId != 0) {
|
|
output.WriteRawTag(80);
|
|
output.WriteUInt32(ChannelId);
|
|
}
|
|
if (AccountUid.Length != 0) {
|
|
output.WriteRawTag(90);
|
|
output.WriteString(AccountUid);
|
|
}
|
|
if (Device.Length != 0) {
|
|
output.WriteRawTag(98);
|
|
output.WriteString(Device);
|
|
}
|
|
if (Platform != 0) {
|
|
output.WriteRawTag(120);
|
|
output.WriteUInt32(Platform);
|
|
}
|
|
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 (ChannelId != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ChannelId);
|
|
}
|
|
if (Token.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Token);
|
|
}
|
|
if (OKHLBOKCMMK != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OKHLBOKCMMK);
|
|
}
|
|
if (AccountUid.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(AccountUid);
|
|
}
|
|
if (Uid != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid);
|
|
}
|
|
if (NCMOBOONKIJ != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NCMOBOONKIJ);
|
|
}
|
|
if (Platform != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Platform);
|
|
}
|
|
if (Device.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Device);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PlayerGetTokenCsReq other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ChannelId != 0) {
|
|
ChannelId = other.ChannelId;
|
|
}
|
|
if (other.Token.Length != 0) {
|
|
Token = other.Token;
|
|
}
|
|
if (other.OKHLBOKCMMK != 0) {
|
|
OKHLBOKCMMK = other.OKHLBOKCMMK;
|
|
}
|
|
if (other.AccountUid.Length != 0) {
|
|
AccountUid = other.AccountUid;
|
|
}
|
|
if (other.Uid != 0) {
|
|
Uid = other.Uid;
|
|
}
|
|
if (other.NCMOBOONKIJ != 0) {
|
|
NCMOBOONKIJ = other.NCMOBOONKIJ;
|
|
}
|
|
if (other.Platform != 0) {
|
|
Platform = other.Platform;
|
|
}
|
|
if (other.Device.Length != 0) {
|
|
Device = other.Device;
|
|
}
|
|
_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: {
|
|
Token = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Uid = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
OKHLBOKCMMK = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
NCMOBOONKIJ = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ChannelId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
AccountUid = input.ReadString();
|
|
break;
|
|
}
|
|
case 98: {
|
|
Device = input.ReadString();
|
|
break;
|
|
}
|
|
case 120: {
|
|
Platform = input.ReadUInt32();
|
|
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: {
|
|
Token = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Uid = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 56: {
|
|
OKHLBOKCMMK = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 64: {
|
|
NCMOBOONKIJ = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
ChannelId = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
AccountUid = input.ReadString();
|
|
break;
|
|
}
|
|
case 98: {
|
|
Device = input.ReadString();
|
|
break;
|
|
}
|
|
case 120: {
|
|
Platform = input.ReadUInt32();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|