Files
DanhengServer-OpenSource/Proto/HeliobusChallengeLineup.cs
2025-04-19 11:45:24 +08:00

301 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: HeliobusChallengeLineup.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 HeliobusChallengeLineup.proto</summary>
public static partial class HeliobusChallengeLineupReflection {
#region Descriptor
/// <summary>File descriptor for HeliobusChallengeLineup.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static HeliobusChallengeLineupReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ch1IZWxpb2J1c0NoYWxsZW5nZUxpbmV1cC5wcm90byJVChdIZWxpb2J1c0No",
"YWxsZW5nZUxpbmV1cBIQCghncm91cF9pZBgJIAEoDRIWCg5hdmF0YXJfaWRf",
"bGlzdBgGIAMoDRIQCghza2lsbF9pZBgMIAEoDUIeqgIbRWdnTGluay5EYW5o",
"ZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.HeliobusChallengeLineup), global::EggLink.DanhengServer.Proto.HeliobusChallengeLineup.Parser, new[]{ "GroupId", "AvatarIdList", "SkillId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class HeliobusChallengeLineup : pb::IMessage<HeliobusChallengeLineup>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<HeliobusChallengeLineup> _parser = new pb::MessageParser<HeliobusChallengeLineup>(() => new HeliobusChallengeLineup());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<HeliobusChallengeLineup> 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.HeliobusChallengeLineupReflection.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 HeliobusChallengeLineup() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public HeliobusChallengeLineup(HeliobusChallengeLineup other) : this() {
groupId_ = other.groupId_;
avatarIdList_ = other.avatarIdList_.Clone();
skillId_ = other.skillId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public HeliobusChallengeLineup Clone() {
return new HeliobusChallengeLineup(this);
}
/// <summary>Field number for the "group_id" field.</summary>
public const int GroupIdFieldNumber = 9;
private uint groupId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GroupId {
get { return groupId_; }
set {
groupId_ = value;
}
}
/// <summary>Field number for the "avatar_id_list" field.</summary>
public const int AvatarIdListFieldNumber = 6;
private static readonly pb::FieldCodec<uint> _repeated_avatarIdList_codec
= pb::FieldCodec.ForUInt32(50);
private readonly pbc::RepeatedField<uint> avatarIdList_ = new pbc::RepeatedField<uint>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<uint> AvatarIdList {
get { return avatarIdList_; }
}
/// <summary>Field number for the "skill_id" field.</summary>
public const int SkillIdFieldNumber = 12;
private uint skillId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SkillId {
get { return skillId_; }
set {
skillId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as HeliobusChallengeLineup);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(HeliobusChallengeLineup other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (GroupId != other.GroupId) return false;
if(!avatarIdList_.Equals(other.avatarIdList_)) return false;
if (SkillId != other.SkillId) 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 (GroupId != 0) hash ^= GroupId.GetHashCode();
hash ^= avatarIdList_.GetHashCode();
if (SkillId != 0) hash ^= SkillId.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
avatarIdList_.WriteTo(output, _repeated_avatarIdList_codec);
if (GroupId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(GroupId);
}
if (SkillId != 0) {
output.WriteRawTag(96);
output.WriteUInt32(SkillId);
}
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) {
avatarIdList_.WriteTo(ref output, _repeated_avatarIdList_codec);
if (GroupId != 0) {
output.WriteRawTag(72);
output.WriteUInt32(GroupId);
}
if (SkillId != 0) {
output.WriteRawTag(96);
output.WriteUInt32(SkillId);
}
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 (GroupId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GroupId);
}
size += avatarIdList_.CalculateSize(_repeated_avatarIdList_codec);
if (SkillId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkillId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(HeliobusChallengeLineup other) {
if (other == null) {
return;
}
if (other.GroupId != 0) {
GroupId = other.GroupId;
}
avatarIdList_.Add(other.avatarIdList_);
if (other.SkillId != 0) {
SkillId = other.SkillId;
}
_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 50:
case 48: {
avatarIdList_.AddEntriesFrom(input, _repeated_avatarIdList_codec);
break;
}
case 72: {
GroupId = input.ReadUInt32();
break;
}
case 96: {
SkillId = 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 50:
case 48: {
avatarIdList_.AddEntriesFrom(ref input, _repeated_avatarIdList_codec);
break;
}
case 72: {
GroupId = input.ReadUInt32();
break;
}
case 96: {
SkillId = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code