mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
feat: update to game 3.2.0
This commit is contained in:
@@ -25,13 +25,13 @@ namespace EggLink.DanhengServer.Proto {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiVTd29yZFRyYWluaW5nU2V0U2tpbGxUcmFjZVNjUnNwLnByb3RvIkQKH1N3",
|
||||
"b3JkVHJhaW5pbmdTZXRTa2lsbFRyYWNlU2NSc3ASEAoIc2tpbGxfaWQYAiAB",
|
||||
"KA0SDwoHcmV0Y29kZRgIIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVy",
|
||||
"b3JkVHJhaW5pbmdTZXRTa2lsbFRyYWNlU2NSc3ASDwoHcmV0Y29kZRgPIAEo",
|
||||
"DRIQCghza2lsbF9pZBgOIAEoDUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVy",
|
||||
"LlByb3RvYgZwcm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SwordTrainingSetSkillTraceScRsp), global::EggLink.DanhengServer.Proto.SwordTrainingSetSkillTraceScRsp.Parser, new[]{ "SkillId", "Retcode" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SwordTrainingSetSkillTraceScRsp), global::EggLink.DanhengServer.Proto.SwordTrainingSetSkillTraceScRsp.Parser, new[]{ "Retcode", "SkillId" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
@@ -73,8 +73,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public SwordTrainingSetSkillTraceScRsp(SwordTrainingSetSkillTraceScRsp other) : this() {
|
||||
skillId_ = other.skillId_;
|
||||
retcode_ = other.retcode_;
|
||||
skillId_ = other.skillId_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -84,20 +84,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
return new SwordTrainingSetSkillTraceScRsp(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "skill_id" field.</summary>
|
||||
public const int SkillIdFieldNumber = 2;
|
||||
private uint skillId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint SkillId {
|
||||
get { return skillId_; }
|
||||
set {
|
||||
skillId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "retcode" field.</summary>
|
||||
public const int RetcodeFieldNumber = 8;
|
||||
public const int RetcodeFieldNumber = 15;
|
||||
private uint retcode_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
@@ -108,6 +96,18 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "skill_id" field.</summary>
|
||||
public const int SkillIdFieldNumber = 14;
|
||||
private uint skillId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint SkillId {
|
||||
get { return skillId_; }
|
||||
set {
|
||||
skillId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
@@ -123,8 +123,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (SkillId != other.SkillId) return false;
|
||||
if (Retcode != other.Retcode) return false;
|
||||
if (SkillId != other.SkillId) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -132,8 +132,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (SkillId != 0) hash ^= SkillId.GetHashCode();
|
||||
if (Retcode != 0) hash ^= Retcode.GetHashCode();
|
||||
if (SkillId != 0) hash ^= SkillId.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
@@ -153,11 +153,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (SkillId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteRawTag(112);
|
||||
output.WriteUInt32(SkillId);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteRawTag(120);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
@@ -171,11 +171,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (SkillId != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteRawTag(112);
|
||||
output.WriteUInt32(SkillId);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteRawTag(120);
|
||||
output.WriteUInt32(Retcode);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
@@ -188,12 +188,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (SkillId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkillId);
|
||||
}
|
||||
if (Retcode != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
|
||||
}
|
||||
if (SkillId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SkillId);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
@@ -206,12 +206,12 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.SkillId != 0) {
|
||||
SkillId = other.SkillId;
|
||||
}
|
||||
if (other.Retcode != 0) {
|
||||
Retcode = other.Retcode;
|
||||
}
|
||||
if (other.SkillId != 0) {
|
||||
SkillId = other.SkillId;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
@@ -227,11 +227,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 16: {
|
||||
case 112: {
|
||||
SkillId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 120: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
@@ -250,11 +250,11 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 16: {
|
||||
case 112: {
|
||||
SkillId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 120: {
|
||||
Retcode = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user