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

337 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RechargeGiftInfo.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 RechargeGiftInfo.proto</summary>
public static partial class RechargeGiftInfoReflection {
#region Descriptor
/// <summary>File descriptor for RechargeGiftInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RechargeGiftInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChZSZWNoYXJnZUdpZnRJbmZvLnByb3RvGhZSZWNoYXJnZUdpZnREYXRhLnBy",
"b3RvIncKEFJlY2hhcmdlR2lmdEluZm8SEQoJZ2lmdF90eXBlGAcgASgNEhMK",
"C0NPSUZIRlBFR1BIGA4gASgDEhAKCGVuZF90aW1lGAwgASgDEikKDmdpZnRf",
"ZGF0YV9saXN0GA0gAygLMhEuUmVjaGFyZ2VHaWZ0RGF0YUIeqgIbRWdnTGlu",
"ay5EYW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.RechargeGiftDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.RechargeGiftInfo), global::EggLink.DanhengServer.Proto.RechargeGiftInfo.Parser, new[]{ "GiftType", "COIFHFPEGPH", "EndTime", "GiftDataList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RechargeGiftInfo : pb::IMessage<RechargeGiftInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RechargeGiftInfo> _parser = new pb::MessageParser<RechargeGiftInfo>(() => new RechargeGiftInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RechargeGiftInfo> 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.RechargeGiftInfoReflection.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 RechargeGiftInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RechargeGiftInfo(RechargeGiftInfo other) : this() {
giftType_ = other.giftType_;
cOIFHFPEGPH_ = other.cOIFHFPEGPH_;
endTime_ = other.endTime_;
giftDataList_ = other.giftDataList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RechargeGiftInfo Clone() {
return new RechargeGiftInfo(this);
}
/// <summary>Field number for the "gift_type" field.</summary>
public const int GiftTypeFieldNumber = 7;
private uint giftType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GiftType {
get { return giftType_; }
set {
giftType_ = value;
}
}
/// <summary>Field number for the "COIFHFPEGPH" field.</summary>
public const int COIFHFPEGPHFieldNumber = 14;
private long cOIFHFPEGPH_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long COIFHFPEGPH {
get { return cOIFHFPEGPH_; }
set {
cOIFHFPEGPH_ = value;
}
}
/// <summary>Field number for the "end_time" field.</summary>
public const int EndTimeFieldNumber = 12;
private long endTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long EndTime {
get { return endTime_; }
set {
endTime_ = value;
}
}
/// <summary>Field number for the "gift_data_list" field.</summary>
public const int GiftDataListFieldNumber = 13;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.RechargeGiftData> _repeated_giftDataList_codec
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.RechargeGiftData.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RechargeGiftData> giftDataList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RechargeGiftData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.RechargeGiftData> GiftDataList {
get { return giftDataList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RechargeGiftInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RechargeGiftInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (GiftType != other.GiftType) return false;
if (COIFHFPEGPH != other.COIFHFPEGPH) return false;
if (EndTime != other.EndTime) return false;
if(!giftDataList_.Equals(other.giftDataList_)) 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 (GiftType != 0) hash ^= GiftType.GetHashCode();
if (COIFHFPEGPH != 0L) hash ^= COIFHFPEGPH.GetHashCode();
if (EndTime != 0L) hash ^= EndTime.GetHashCode();
hash ^= giftDataList_.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 (GiftType != 0) {
output.WriteRawTag(56);
output.WriteUInt32(GiftType);
}
if (EndTime != 0L) {
output.WriteRawTag(96);
output.WriteInt64(EndTime);
}
giftDataList_.WriteTo(output, _repeated_giftDataList_codec);
if (COIFHFPEGPH != 0L) {
output.WriteRawTag(112);
output.WriteInt64(COIFHFPEGPH);
}
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 (GiftType != 0) {
output.WriteRawTag(56);
output.WriteUInt32(GiftType);
}
if (EndTime != 0L) {
output.WriteRawTag(96);
output.WriteInt64(EndTime);
}
giftDataList_.WriteTo(ref output, _repeated_giftDataList_codec);
if (COIFHFPEGPH != 0L) {
output.WriteRawTag(112);
output.WriteInt64(COIFHFPEGPH);
}
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 (GiftType != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GiftType);
}
if (COIFHFPEGPH != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(COIFHFPEGPH);
}
if (EndTime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndTime);
}
size += giftDataList_.CalculateSize(_repeated_giftDataList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RechargeGiftInfo other) {
if (other == null) {
return;
}
if (other.GiftType != 0) {
GiftType = other.GiftType;
}
if (other.COIFHFPEGPH != 0L) {
COIFHFPEGPH = other.COIFHFPEGPH;
}
if (other.EndTime != 0L) {
EndTime = other.EndTime;
}
giftDataList_.Add(other.giftDataList_);
_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 56: {
GiftType = input.ReadUInt32();
break;
}
case 96: {
EndTime = input.ReadInt64();
break;
}
case 106: {
giftDataList_.AddEntriesFrom(input, _repeated_giftDataList_codec);
break;
}
case 112: {
COIFHFPEGPH = input.ReadInt64();
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 56: {
GiftType = input.ReadUInt32();
break;
}
case 96: {
EndTime = input.ReadInt64();
break;
}
case 106: {
giftDataList_.AddEntriesFrom(ref input, _repeated_giftDataList_codec);
break;
}
case 112: {
COIFHFPEGPH = input.ReadInt64();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code