Files
DanhengServer-OpenSource/Proto/SocialEventServerCache.cs
StopWuyu 5382b58874 Pam Skin
2024-10-27 15:47:59 +08:00

347 lines
11 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: SocialEventServerCache.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 SocialEventServerCache.proto</summary>
public static partial class SocialEventServerCacheReflection {
#region Descriptor
/// <summary>File descriptor for SocialEventServerCache.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SocialEventServerCacheReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChxTb2NpYWxFdmVudFNlcnZlckNhY2hlLnByb3RvIlkKFlNvY2lhbEV2ZW50",
"U2VydmVyQ2FjaGUSCgoCaWQYDiABKA0SEAoIc3ViX2NvaW4YBCABKA0SDwoH",
"c3JjX3VpZBgMIAEoDRIQCghhZGRfY29pbhgNIAEoDUIeqgIbRWdnTGluay5E",
"YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SocialEventServerCache), global::EggLink.DanhengServer.Proto.SocialEventServerCache.Parser, new[]{ "Id", "SubCoin", "SrcUid", "AddCoin" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SocialEventServerCache : pb::IMessage<SocialEventServerCache>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SocialEventServerCache> _parser = new pb::MessageParser<SocialEventServerCache>(() => new SocialEventServerCache());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SocialEventServerCache> 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.SocialEventServerCacheReflection.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 SocialEventServerCache() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SocialEventServerCache(SocialEventServerCache other) : this() {
id_ = other.id_;
subCoin_ = other.subCoin_;
srcUid_ = other.srcUid_;
addCoin_ = other.addCoin_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SocialEventServerCache Clone() {
return new SocialEventServerCache(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 14;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "sub_coin" field.</summary>
public const int SubCoinFieldNumber = 4;
private uint subCoin_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SubCoin {
get { return subCoin_; }
set {
subCoin_ = value;
}
}
/// <summary>Field number for the "src_uid" field.</summary>
public const int SrcUidFieldNumber = 12;
private uint srcUid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint SrcUid {
get { return srcUid_; }
set {
srcUid_ = value;
}
}
/// <summary>Field number for the "add_coin" field.</summary>
public const int AddCoinFieldNumber = 13;
private uint addCoin_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint AddCoin {
get { return addCoin_; }
set {
addCoin_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SocialEventServerCache);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SocialEventServerCache other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (SubCoin != other.SubCoin) return false;
if (SrcUid != other.SrcUid) return false;
if (AddCoin != other.AddCoin) 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 (Id != 0) hash ^= Id.GetHashCode();
if (SubCoin != 0) hash ^= SubCoin.GetHashCode();
if (SrcUid != 0) hash ^= SrcUid.GetHashCode();
if (AddCoin != 0) hash ^= AddCoin.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 (SubCoin != 0) {
output.WriteRawTag(32);
output.WriteUInt32(SubCoin);
}
if (SrcUid != 0) {
output.WriteRawTag(96);
output.WriteUInt32(SrcUid);
}
if (AddCoin != 0) {
output.WriteRawTag(104);
output.WriteUInt32(AddCoin);
}
if (Id != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Id);
}
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 (SubCoin != 0) {
output.WriteRawTag(32);
output.WriteUInt32(SubCoin);
}
if (SrcUid != 0) {
output.WriteRawTag(96);
output.WriteUInt32(SrcUid);
}
if (AddCoin != 0) {
output.WriteRawTag(104);
output.WriteUInt32(AddCoin);
}
if (Id != 0) {
output.WriteRawTag(112);
output.WriteUInt32(Id);
}
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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
}
if (SubCoin != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SubCoin);
}
if (SrcUid != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SrcUid);
}
if (AddCoin != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(AddCoin);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SocialEventServerCache other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.SubCoin != 0) {
SubCoin = other.SubCoin;
}
if (other.SrcUid != 0) {
SrcUid = other.SrcUid;
}
if (other.AddCoin != 0) {
AddCoin = other.AddCoin;
}
_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 32: {
SubCoin = input.ReadUInt32();
break;
}
case 96: {
SrcUid = input.ReadUInt32();
break;
}
case 104: {
AddCoin = input.ReadUInt32();
break;
}
case 112: {
Id = 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 32: {
SubCoin = input.ReadUInt32();
break;
}
case 96: {
SrcUid = input.ReadUInt32();
break;
}
case 104: {
AddCoin = input.ReadUInt32();
break;
}
case 112: {
Id = input.ReadUInt32();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code