mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
feat: upgrade to game 3.5.51
This commit is contained in:
@@ -25,12 +25,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"ChZGaXJzdE5wY1RhbGtJbmZvLnByb3RvIjMKEEZpcnN0TnBjVGFsa0luZm8S",
|
||||
"DgoGbnBjX2lkGAUgASgNEg8KB2lzX21lZXQYASABKAhCHqoCG0VnZ0xpbmsu",
|
||||
"DwoHaXNfbWVldBgDIAEoCBIOCgZucGNfaWQYBiABKA1CHqoCG0VnZ0xpbmsu",
|
||||
"RGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.FirstNpcTalkInfo), global::EggLink.DanhengServer.Proto.FirstNpcTalkInfo.Parser, new[]{ "NpcId", "IsMeet" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.FirstNpcTalkInfo), global::EggLink.DanhengServer.Proto.FirstNpcTalkInfo.Parser, new[]{ "IsMeet", "NpcId" }, 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 FirstNpcTalkInfo(FirstNpcTalkInfo other) : this() {
|
||||
npcId_ = other.npcId_;
|
||||
isMeet_ = other.isMeet_;
|
||||
npcId_ = other.npcId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -83,20 +83,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
return new FirstNpcTalkInfo(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "npc_id" field.</summary>
|
||||
public const int NpcIdFieldNumber = 5;
|
||||
private uint npcId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint NpcId {
|
||||
get { return npcId_; }
|
||||
set {
|
||||
npcId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "is_meet" field.</summary>
|
||||
public const int IsMeetFieldNumber = 1;
|
||||
public const int IsMeetFieldNumber = 3;
|
||||
private bool isMeet_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
@@ -107,6 +95,18 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "npc_id" field.</summary>
|
||||
public const int NpcIdFieldNumber = 6;
|
||||
private uint npcId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint NpcId {
|
||||
get { return npcId_; }
|
||||
set {
|
||||
npcId_ = 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 (NpcId != other.NpcId) return false;
|
||||
if (IsMeet != other.IsMeet) return false;
|
||||
if (NpcId != other.NpcId) 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 (NpcId != 0) hash ^= NpcId.GetHashCode();
|
||||
if (IsMeet != false) hash ^= IsMeet.GetHashCode();
|
||||
if (NpcId != 0) hash ^= NpcId.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -152,11 +152,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (IsMeet != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(IsMeet);
|
||||
}
|
||||
if (NpcId != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteRawTag(48);
|
||||
output.WriteUInt32(NpcId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
@@ -170,11 +170,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (IsMeet != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(IsMeet);
|
||||
}
|
||||
if (NpcId != 0) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteRawTag(48);
|
||||
output.WriteUInt32(NpcId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
@@ -187,12 +187,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (NpcId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NpcId);
|
||||
}
|
||||
if (IsMeet != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (NpcId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NpcId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -205,12 +205,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.NpcId != 0) {
|
||||
NpcId = other.NpcId;
|
||||
}
|
||||
if (other.IsMeet != false) {
|
||||
IsMeet = other.IsMeet;
|
||||
}
|
||||
if (other.NpcId != 0) {
|
||||
NpcId = other.NpcId;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -226,11 +226,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 8: {
|
||||
case 24: {
|
||||
IsMeet = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
case 48: {
|
||||
NpcId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
@@ -249,11 +249,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 8: {
|
||||
case 24: {
|
||||
IsMeet = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
case 48: {
|
||||
NpcId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user