mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Pam Skin
This commit is contained in:
@@ -25,12 +25,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChZQYXNzaXZlU2tpbGxJdGVtLnByb3RvIjEKEFBhc3NpdmVTa2lsbEl0ZW0S",
|
||||
"DAoEc2xvdBgEIAEoDRIPCgdpdGVtX2lkGAogASgNQh6qAhtFZ2dMaW5rLkRh",
|
||||
"DwoHaXRlbV9pZBgDIAEoDRIMCgRzbG90GAogASgNQh6qAhtFZ2dMaW5rLkRh",
|
||||
"bmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PassiveSkillItem), global::EggLink.DanhengServer.Proto.PassiveSkillItem.Parser, new[]{ "Slot", "ItemId" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.PassiveSkillItem), global::EggLink.DanhengServer.Proto.PassiveSkillItem.Parser, new[]{ "ItemId", "Slot" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
@@ -72,8 +72,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public PassiveSkillItem(PassiveSkillItem other) : this() {
|
||||
slot_ = other.slot_;
|
||||
itemId_ = other.itemId_;
|
||||
slot_ = other.slot_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -83,20 +83,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
return new PassiveSkillItem(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "slot" field.</summary>
|
||||
public const int SlotFieldNumber = 4;
|
||||
private uint slot_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint Slot {
|
||||
get { return slot_; }
|
||||
set {
|
||||
slot_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "item_id" field.</summary>
|
||||
public const int ItemIdFieldNumber = 10;
|
||||
public const int ItemIdFieldNumber = 3;
|
||||
private uint itemId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
@@ -107,6 +95,18 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "slot" field.</summary>
|
||||
public const int SlotFieldNumber = 10;
|
||||
private uint slot_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint Slot {
|
||||
get { return slot_; }
|
||||
set {
|
||||
slot_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
@@ -122,8 +122,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Slot != other.Slot) return false;
|
||||
if (ItemId != other.ItemId) return false;
|
||||
if (Slot != other.Slot) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -131,8 +131,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Slot != 0) hash ^= Slot.GetHashCode();
|
||||
if (ItemId != 0) hash ^= ItemId.GetHashCode();
|
||||
if (Slot != 0) hash ^= Slot.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -151,14 +151,14 @@ namespace EggLink.DanhengServer.Proto {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Slot != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteUInt32(Slot);
|
||||
}
|
||||
if (ItemId != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteRawTag(24);
|
||||
output.WriteUInt32(ItemId);
|
||||
}
|
||||
if (Slot != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteUInt32(Slot);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
@@ -169,14 +169,14 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Slot != 0) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteUInt32(Slot);
|
||||
}
|
||||
if (ItemId != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteRawTag(24);
|
||||
output.WriteUInt32(ItemId);
|
||||
}
|
||||
if (Slot != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteUInt32(Slot);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
@@ -187,12 +187,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Slot != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Slot);
|
||||
}
|
||||
if (ItemId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ItemId);
|
||||
}
|
||||
if (Slot != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Slot);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -205,12 +205,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Slot != 0) {
|
||||
Slot = other.Slot;
|
||||
}
|
||||
if (other.ItemId != 0) {
|
||||
ItemId = other.ItemId;
|
||||
}
|
||||
if (other.Slot != 0) {
|
||||
Slot = other.Slot;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -226,12 +226,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 32: {
|
||||
Slot = input.ReadUInt32();
|
||||
case 24: {
|
||||
ItemId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
ItemId = input.ReadUInt32();
|
||||
Slot = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -249,12 +249,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 32: {
|
||||
Slot = input.ReadUInt32();
|
||||
case 24: {
|
||||
ItemId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
ItemId = input.ReadUInt32();
|
||||
Slot = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user