Files
DanhengServer-OpenSource/Proto/LobbyCreateCsReq.cs
2025-11-16 12:35:40 +08:00

368 lines
14 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: LobbyCreateCsReq.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 LobbyCreateCsReq.proto</summary>
public static partial class LobbyCreateCsReqReflection {
#region Descriptor
/// <summary>File descriptor for LobbyCreateCsReq.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static LobbyCreateCsReqReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZMb2JieUNyZWF0ZUNzUmVxLnByb3RvGhNGaWdodEdhbWVNb2RlLnByb3Rv",
"GhFFS0hNREhDSE9KTi5wcm90bxoTTG9iYnlHYW1lSW5mby5wcm90byKbAQoQ",
"TG9iYnlDcmVhdGVDc1JlcRIhCgtIRlBPSENGRk1HUBgMIAEoCzIMLkVLSE1E",
"SENIT0pOEicKD2ZpZ2h0X2dhbWVfbW9kZRgIIAEoDjIOLkZpZ2h0R2FtZU1v",
"ZGUSJwoPbG9iYnlfZ2FtZV9pbmZvGA0gASgLMg4uTG9iYnlHYW1lSW5mbxIS",
"Cgpsb2JieV9tb2RlGAogASgNQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIu",
"UHJvdG9iBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.FightGameModeReflection.Descriptor, global::EggLink.DanhengServer.Proto.EKHMDHCHOJNReflection.Descriptor, global::EggLink.DanhengServer.Proto.LobbyGameInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.LobbyCreateCsReq), global::EggLink.DanhengServer.Proto.LobbyCreateCsReq.Parser, new[]{ "HFPOHCFFMGP", "FightGameMode", "LobbyGameInfo", "LobbyMode" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class LobbyCreateCsReq : pb::IMessage<LobbyCreateCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<LobbyCreateCsReq> _parser = new pb::MessageParser<LobbyCreateCsReq>(() => new LobbyCreateCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<LobbyCreateCsReq> 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.LobbyCreateCsReqReflection.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 LobbyCreateCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LobbyCreateCsReq(LobbyCreateCsReq other) : this() {
hFPOHCFFMGP_ = other.hFPOHCFFMGP_ != null ? other.hFPOHCFFMGP_.Clone() : null;
fightGameMode_ = other.fightGameMode_;
lobbyGameInfo_ = other.lobbyGameInfo_ != null ? other.lobbyGameInfo_.Clone() : null;
lobbyMode_ = other.lobbyMode_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public LobbyCreateCsReq Clone() {
return new LobbyCreateCsReq(this);
}
/// <summary>Field number for the "HFPOHCFFMGP" field.</summary>
public const int HFPOHCFFMGPFieldNumber = 12;
private global::EggLink.DanhengServer.Proto.EKHMDHCHOJN hFPOHCFFMGP_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.EKHMDHCHOJN HFPOHCFFMGP {
get { return hFPOHCFFMGP_; }
set {
hFPOHCFFMGP_ = value;
}
}
/// <summary>Field number for the "fight_game_mode" field.</summary>
public const int FightGameModeFieldNumber = 8;
private global::EggLink.DanhengServer.Proto.FightGameMode fightGameMode_ = global::EggLink.DanhengServer.Proto.FightGameMode.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.FightGameMode FightGameMode {
get { return fightGameMode_; }
set {
fightGameMode_ = value;
}
}
/// <summary>Field number for the "lobby_game_info" field.</summary>
public const int LobbyGameInfoFieldNumber = 13;
private global::EggLink.DanhengServer.Proto.LobbyGameInfo lobbyGameInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::EggLink.DanhengServer.Proto.LobbyGameInfo LobbyGameInfo {
get { return lobbyGameInfo_; }
set {
lobbyGameInfo_ = value;
}
}
/// <summary>Field number for the "lobby_mode" field.</summary>
public const int LobbyModeFieldNumber = 10;
private uint lobbyMode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint LobbyMode {
get { return lobbyMode_; }
set {
lobbyMode_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as LobbyCreateCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(LobbyCreateCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(HFPOHCFFMGP, other.HFPOHCFFMGP)) return false;
if (FightGameMode != other.FightGameMode) return false;
if (!object.Equals(LobbyGameInfo, other.LobbyGameInfo)) return false;
if (LobbyMode != other.LobbyMode) 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 (hFPOHCFFMGP_ != null) hash ^= HFPOHCFFMGP.GetHashCode();
if (FightGameMode != global::EggLink.DanhengServer.Proto.FightGameMode.None) hash ^= FightGameMode.GetHashCode();
if (lobbyGameInfo_ != null) hash ^= LobbyGameInfo.GetHashCode();
if (LobbyMode != 0) hash ^= LobbyMode.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 (FightGameMode != global::EggLink.DanhengServer.Proto.FightGameMode.None) {
output.WriteRawTag(64);
output.WriteEnum((int) FightGameMode);
}
if (LobbyMode != 0) {
output.WriteRawTag(80);
output.WriteUInt32(LobbyMode);
}
if (hFPOHCFFMGP_ != null) {
output.WriteRawTag(98);
output.WriteMessage(HFPOHCFFMGP);
}
if (lobbyGameInfo_ != null) {
output.WriteRawTag(106);
output.WriteMessage(LobbyGameInfo);
}
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 (FightGameMode != global::EggLink.DanhengServer.Proto.FightGameMode.None) {
output.WriteRawTag(64);
output.WriteEnum((int) FightGameMode);
}
if (LobbyMode != 0) {
output.WriteRawTag(80);
output.WriteUInt32(LobbyMode);
}
if (hFPOHCFFMGP_ != null) {
output.WriteRawTag(98);
output.WriteMessage(HFPOHCFFMGP);
}
if (lobbyGameInfo_ != null) {
output.WriteRawTag(106);
output.WriteMessage(LobbyGameInfo);
}
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 (hFPOHCFFMGP_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(HFPOHCFFMGP);
}
if (FightGameMode != global::EggLink.DanhengServer.Proto.FightGameMode.None) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FightGameMode);
}
if (lobbyGameInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LobbyGameInfo);
}
if (LobbyMode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LobbyMode);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(LobbyCreateCsReq other) {
if (other == null) {
return;
}
if (other.hFPOHCFFMGP_ != null) {
if (hFPOHCFFMGP_ == null) {
HFPOHCFFMGP = new global::EggLink.DanhengServer.Proto.EKHMDHCHOJN();
}
HFPOHCFFMGP.MergeFrom(other.HFPOHCFFMGP);
}
if (other.FightGameMode != global::EggLink.DanhengServer.Proto.FightGameMode.None) {
FightGameMode = other.FightGameMode;
}
if (other.lobbyGameInfo_ != null) {
if (lobbyGameInfo_ == null) {
LobbyGameInfo = new global::EggLink.DanhengServer.Proto.LobbyGameInfo();
}
LobbyGameInfo.MergeFrom(other.LobbyGameInfo);
}
if (other.LobbyMode != 0) {
LobbyMode = other.LobbyMode;
}
_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 64: {
FightGameMode = (global::EggLink.DanhengServer.Proto.FightGameMode) input.ReadEnum();
break;
}
case 80: {
LobbyMode = input.ReadUInt32();
break;
}
case 98: {
if (hFPOHCFFMGP_ == null) {
HFPOHCFFMGP = new global::EggLink.DanhengServer.Proto.EKHMDHCHOJN();
}
input.ReadMessage(HFPOHCFFMGP);
break;
}
case 106: {
if (lobbyGameInfo_ == null) {
LobbyGameInfo = new global::EggLink.DanhengServer.Proto.LobbyGameInfo();
}
input.ReadMessage(LobbyGameInfo);
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 64: {
FightGameMode = (global::EggLink.DanhengServer.Proto.FightGameMode) input.ReadEnum();
break;
}
case 80: {
LobbyMode = input.ReadUInt32();
break;
}
case 98: {
if (hFPOHCFFMGP_ == null) {
HFPOHCFFMGP = new global::EggLink.DanhengServer.Proto.EKHMDHCHOJN();
}
input.ReadMessage(HFPOHCFFMGP);
break;
}
case 106: {
if (lobbyGameInfo_ == null) {
LobbyGameInfo = new global::EggLink.DanhengServer.Proto.LobbyGameInfo();
}
input.ReadMessage(LobbyGameInfo);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code