Files
DanhengServer-OpenSource/Proto/PlayerGetTokenCsReq.cs
2024-10-05 22:40:41 +08:00

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",
"bkNzUmVxEhIKCmNoYW5uZWxfaWQYAiABKA0SEwoLYWNjb3VudF91aWQYDyAB",
"KAkSEAoIcGxhdGZvcm0YCyABKA0SEwoLSklPUE1GTlBCTlAYDCABKA0SEwoL",
"Q0dFR09MTE1IQ0oYASABKA0SCwoDdWlkGAogASgNEg0KBXRva2VuGAYgASgJ",
"Eg4KBmRldmljZRgFIAEoCUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
"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", "AccountUid", "Platform", "JIOPMFNPBNP", "CGEGOLLMHCJ", "Uid", "Token", "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_;
accountUid_ = other.accountUid_;
platform_ = other.platform_;
jIOPMFNPBNP_ = other.jIOPMFNPBNP_;
cGEGOLLMHCJ_ = other.cGEGOLLMHCJ_;
uid_ = other.uid_;
token_ = other.token_;
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 = 2;
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 "account_uid" field.</summary>
public const int AccountUidFieldNumber = 15;
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 "platform" field.</summary>
public const int PlatformFieldNumber = 11;
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 "JIOPMFNPBNP" field.</summary>
public const int JIOPMFNPBNPFieldNumber = 12;
private uint jIOPMFNPBNP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint JIOPMFNPBNP {
get { return jIOPMFNPBNP_; }
set {
jIOPMFNPBNP_ = value;
}
}
/// <summary>Field number for the "CGEGOLLMHCJ" field.</summary>
public const int CGEGOLLMHCJFieldNumber = 1;
private uint cGEGOLLMHCJ_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint CGEGOLLMHCJ {
get { return cGEGOLLMHCJ_; }
set {
cGEGOLLMHCJ_ = value;
}
}
/// <summary>Field number for the "uid" field.</summary>
public const int UidFieldNumber = 10;
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 "token" field.</summary>
public const int TokenFieldNumber = 6;
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 "device" field.</summary>
public const int DeviceFieldNumber = 5;
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 (AccountUid != other.AccountUid) return false;
if (Platform != other.Platform) return false;
if (JIOPMFNPBNP != other.JIOPMFNPBNP) return false;
if (CGEGOLLMHCJ != other.CGEGOLLMHCJ) return false;
if (Uid != other.Uid) return false;
if (Token != other.Token) 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 (AccountUid.Length != 0) hash ^= AccountUid.GetHashCode();
if (Platform != 0) hash ^= Platform.GetHashCode();
if (JIOPMFNPBNP != 0) hash ^= JIOPMFNPBNP.GetHashCode();
if (CGEGOLLMHCJ != 0) hash ^= CGEGOLLMHCJ.GetHashCode();
if (Uid != 0) hash ^= Uid.GetHashCode();
if (Token.Length != 0) hash ^= Token.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 (CGEGOLLMHCJ != 0) {
output.WriteRawTag(8);
output.WriteUInt32(CGEGOLLMHCJ);
}
if (ChannelId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ChannelId);
}
if (Device.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Device);
}
if (Token.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Token);
}
if (Uid != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Uid);
}
if (Platform != 0) {
output.WriteRawTag(88);
output.WriteUInt32(Platform);
}
if (JIOPMFNPBNP != 0) {
output.WriteRawTag(96);
output.WriteUInt32(JIOPMFNPBNP);
}
if (AccountUid.Length != 0) {
output.WriteRawTag(122);
output.WriteString(AccountUid);
}
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 (CGEGOLLMHCJ != 0) {
output.WriteRawTag(8);
output.WriteUInt32(CGEGOLLMHCJ);
}
if (ChannelId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ChannelId);
}
if (Device.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Device);
}
if (Token.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Token);
}
if (Uid != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Uid);
}
if (Platform != 0) {
output.WriteRawTag(88);
output.WriteUInt32(Platform);
}
if (JIOPMFNPBNP != 0) {
output.WriteRawTag(96);
output.WriteUInt32(JIOPMFNPBNP);
}
if (AccountUid.Length != 0) {
output.WriteRawTag(122);
output.WriteString(AccountUid);
}
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 (AccountUid.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(AccountUid);
}
if (Platform != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Platform);
}
if (JIOPMFNPBNP != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(JIOPMFNPBNP);
}
if (CGEGOLLMHCJ != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CGEGOLLMHCJ);
}
if (Uid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Uid);
}
if (Token.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Token);
}
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.AccountUid.Length != 0) {
AccountUid = other.AccountUid;
}
if (other.Platform != 0) {
Platform = other.Platform;
}
if (other.JIOPMFNPBNP != 0) {
JIOPMFNPBNP = other.JIOPMFNPBNP;
}
if (other.CGEGOLLMHCJ != 0) {
CGEGOLLMHCJ = other.CGEGOLLMHCJ;
}
if (other.Uid != 0) {
Uid = other.Uid;
}
if (other.Token.Length != 0) {
Token = other.Token;
}
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 8: {
CGEGOLLMHCJ = input.ReadUInt32();
break;
}
case 16: {
ChannelId = input.ReadUInt32();
break;
}
case 42: {
Device = input.ReadString();
break;
}
case 50: {
Token = input.ReadString();
break;
}
case 80: {
Uid = input.ReadUInt32();
break;
}
case 88: {
Platform = input.ReadUInt32();
break;
}
case 96: {
JIOPMFNPBNP = input.ReadUInt32();
break;
}
case 122: {
AccountUid = 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 8: {
CGEGOLLMHCJ = input.ReadUInt32();
break;
}
case 16: {
ChannelId = input.ReadUInt32();
break;
}
case 42: {
Device = input.ReadString();
break;
}
case 50: {
Token = input.ReadString();
break;
}
case 80: {
Uid = input.ReadUInt32();
break;
}
case 88: {
Platform = input.ReadUInt32();
break;
}
case 96: {
JIOPMFNPBNP = input.ReadUInt32();
break;
}
case 122: {
AccountUid = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code