mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
347 lines
12 KiB
C#
347 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: StaminaInfoScNotify.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 StaminaInfoScNotify.proto</summary>
|
|
public static partial class StaminaInfoScNotifyReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for StaminaInfoScNotify.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static StaminaInfoScNotifyReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChlTdGFtaW5hSW5mb1NjTm90aWZ5LnByb3RvIm8KE1N0YW1pbmFJbmZvU2NO",
|
|
"b3RpZnkSEwoLRFBJTUhFTUpLT0UYCyABKAMSFwoPcmVzZXJ2ZV9zdGFtaW5h",
|
|
"GAIgASgNEg8KB3N0YW1pbmEYAyABKA0SGQoRbmV4dF9yZWNvdmVyX3RpbWUY",
|
|
"DSABKANCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.StaminaInfoScNotify), global::EggLink.DanhengServer.Proto.StaminaInfoScNotify.Parser, new[]{ "DPIMHEMJKOE", "ReserveStamina", "Stamina", "NextRecoverTime" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class StaminaInfoScNotify : pb::IMessage<StaminaInfoScNotify>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<StaminaInfoScNotify> _parser = new pb::MessageParser<StaminaInfoScNotify>(() => new StaminaInfoScNotify());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<StaminaInfoScNotify> 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.StaminaInfoScNotifyReflection.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 StaminaInfoScNotify() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StaminaInfoScNotify(StaminaInfoScNotify other) : this() {
|
|
dPIMHEMJKOE_ = other.dPIMHEMJKOE_;
|
|
reserveStamina_ = other.reserveStamina_;
|
|
stamina_ = other.stamina_;
|
|
nextRecoverTime_ = other.nextRecoverTime_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public StaminaInfoScNotify Clone() {
|
|
return new StaminaInfoScNotify(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "DPIMHEMJKOE" field.</summary>
|
|
public const int DPIMHEMJKOEFieldNumber = 11;
|
|
private long dPIMHEMJKOE_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long DPIMHEMJKOE {
|
|
get { return dPIMHEMJKOE_; }
|
|
set {
|
|
dPIMHEMJKOE_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "reserve_stamina" field.</summary>
|
|
public const int ReserveStaminaFieldNumber = 2;
|
|
private uint reserveStamina_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ReserveStamina {
|
|
get { return reserveStamina_; }
|
|
set {
|
|
reserveStamina_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "stamina" field.</summary>
|
|
public const int StaminaFieldNumber = 3;
|
|
private uint stamina_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint Stamina {
|
|
get { return stamina_; }
|
|
set {
|
|
stamina_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "next_recover_time" field.</summary>
|
|
public const int NextRecoverTimeFieldNumber = 13;
|
|
private long nextRecoverTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public long NextRecoverTime {
|
|
get { return nextRecoverTime_; }
|
|
set {
|
|
nextRecoverTime_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as StaminaInfoScNotify);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(StaminaInfoScNotify other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (DPIMHEMJKOE != other.DPIMHEMJKOE) return false;
|
|
if (ReserveStamina != other.ReserveStamina) return false;
|
|
if (Stamina != other.Stamina) return false;
|
|
if (NextRecoverTime != other.NextRecoverTime) 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 (DPIMHEMJKOE != 0L) hash ^= DPIMHEMJKOE.GetHashCode();
|
|
if (ReserveStamina != 0) hash ^= ReserveStamina.GetHashCode();
|
|
if (Stamina != 0) hash ^= Stamina.GetHashCode();
|
|
if (NextRecoverTime != 0L) hash ^= NextRecoverTime.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 (ReserveStamina != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(ReserveStamina);
|
|
}
|
|
if (Stamina != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Stamina);
|
|
}
|
|
if (DPIMHEMJKOE != 0L) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt64(DPIMHEMJKOE);
|
|
}
|
|
if (NextRecoverTime != 0L) {
|
|
output.WriteRawTag(104);
|
|
output.WriteInt64(NextRecoverTime);
|
|
}
|
|
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 (ReserveStamina != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteUInt32(ReserveStamina);
|
|
}
|
|
if (Stamina != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteUInt32(Stamina);
|
|
}
|
|
if (DPIMHEMJKOE != 0L) {
|
|
output.WriteRawTag(88);
|
|
output.WriteInt64(DPIMHEMJKOE);
|
|
}
|
|
if (NextRecoverTime != 0L) {
|
|
output.WriteRawTag(104);
|
|
output.WriteInt64(NextRecoverTime);
|
|
}
|
|
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 (DPIMHEMJKOE != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(DPIMHEMJKOE);
|
|
}
|
|
if (ReserveStamina != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ReserveStamina);
|
|
}
|
|
if (Stamina != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Stamina);
|
|
}
|
|
if (NextRecoverTime != 0L) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NextRecoverTime);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(StaminaInfoScNotify other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.DPIMHEMJKOE != 0L) {
|
|
DPIMHEMJKOE = other.DPIMHEMJKOE;
|
|
}
|
|
if (other.ReserveStamina != 0) {
|
|
ReserveStamina = other.ReserveStamina;
|
|
}
|
|
if (other.Stamina != 0) {
|
|
Stamina = other.Stamina;
|
|
}
|
|
if (other.NextRecoverTime != 0L) {
|
|
NextRecoverTime = other.NextRecoverTime;
|
|
}
|
|
_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 16: {
|
|
ReserveStamina = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Stamina = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
DPIMHEMJKOE = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 104: {
|
|
NextRecoverTime = 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 16: {
|
|
ReserveStamina = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
Stamina = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
DPIMHEMJKOE = input.ReadInt64();
|
|
break;
|
|
}
|
|
case 104: {
|
|
NextRecoverTime = input.ReadInt64();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|