mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Update to 2.6.0 & Implement Rogue Magic
This commit is contained in:
@@ -25,14 +25,14 @@ namespace EggLink.DanhengServer.Proto {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ch1TY2VuZUVudGl0eU1vdmVTY05vdGlmeS5wcm90bxoQTW90aW9uSW5mby5w",
|
||||
"cm90byJ3ChdTY2VuZUVudGl0eU1vdmVTY05vdGlmeRIRCgllbnRpdHlfaWQY",
|
||||
"CiABKA0SGwoGbW90aW9uGA8gASgLMgsuTW90aW9uSW5mbxIQCghlbnRyeV9p",
|
||||
"ZBgHIAEoDRIaChJjbGllbnRfcG9zX3ZlcnNpb24YCSABKA1CHqoCG0VnZ0xp",
|
||||
"cm90byJ3ChdTY2VuZUVudGl0eU1vdmVTY05vdGlmeRIQCghlbnRyeV9pZBgC",
|
||||
"IAEoDRIbCgZtb3Rpb24YDiABKAsyCy5Nb3Rpb25JbmZvEhEKCWVudGl0eV9p",
|
||||
"ZBgBIAEoDRIaChJjbGllbnRfcG9zX3ZlcnNpb24YBCABKA1CHqoCG0VnZ0xp",
|
||||
"bmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.MotionInfoReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SceneEntityMoveScNotify), global::EggLink.DanhengServer.Proto.SceneEntityMoveScNotify.Parser, new[]{ "EntityId", "Motion", "EntryId", "ClientPosVersion" }, null, null, null, null)
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.SceneEntityMoveScNotify), global::EggLink.DanhengServer.Proto.SceneEntityMoveScNotify.Parser, new[]{ "EntryId", "Motion", "EntityId", "ClientPosVersion" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
@@ -74,9 +74,9 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public SceneEntityMoveScNotify(SceneEntityMoveScNotify other) : this() {
|
||||
entityId_ = other.entityId_;
|
||||
motion_ = other.motion_ != null ? other.motion_.Clone() : null;
|
||||
entryId_ = other.entryId_;
|
||||
motion_ = other.motion_ != null ? other.motion_.Clone() : null;
|
||||
entityId_ = other.entityId_;
|
||||
clientPosVersion_ = other.clientPosVersion_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
@@ -87,32 +87,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
return new SceneEntityMoveScNotify(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "entity_id" field.</summary>
|
||||
public const int EntityIdFieldNumber = 10;
|
||||
private uint entityId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint EntityId {
|
||||
get { return entityId_; }
|
||||
set {
|
||||
entityId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "motion" field.</summary>
|
||||
public const int MotionFieldNumber = 15;
|
||||
private global::EggLink.DanhengServer.Proto.MotionInfo motion_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::EggLink.DanhengServer.Proto.MotionInfo Motion {
|
||||
get { return motion_; }
|
||||
set {
|
||||
motion_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "entry_id" field.</summary>
|
||||
public const int EntryIdFieldNumber = 7;
|
||||
public const int EntryIdFieldNumber = 2;
|
||||
private uint entryId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
@@ -123,8 +99,32 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "motion" field.</summary>
|
||||
public const int MotionFieldNumber = 14;
|
||||
private global::EggLink.DanhengServer.Proto.MotionInfo motion_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::EggLink.DanhengServer.Proto.MotionInfo Motion {
|
||||
get { return motion_; }
|
||||
set {
|
||||
motion_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "entity_id" field.</summary>
|
||||
public const int EntityIdFieldNumber = 1;
|
||||
private uint entityId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint EntityId {
|
||||
get { return entityId_; }
|
||||
set {
|
||||
entityId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "client_pos_version" field.</summary>
|
||||
public const int ClientPosVersionFieldNumber = 9;
|
||||
public const int ClientPosVersionFieldNumber = 4;
|
||||
private uint clientPosVersion_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
@@ -150,9 +150,9 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (EntityId != other.EntityId) return false;
|
||||
if (!object.Equals(Motion, other.Motion)) return false;
|
||||
if (EntryId != other.EntryId) return false;
|
||||
if (!object.Equals(Motion, other.Motion)) return false;
|
||||
if (EntityId != other.EntityId) return false;
|
||||
if (ClientPosVersion != other.ClientPosVersion) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
@@ -161,9 +161,9 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (EntityId != 0) hash ^= EntityId.GetHashCode();
|
||||
if (motion_ != null) hash ^= Motion.GetHashCode();
|
||||
if (EntryId != 0) hash ^= EntryId.GetHashCode();
|
||||
if (motion_ != null) hash ^= Motion.GetHashCode();
|
||||
if (EntityId != 0) hash ^= EntityId.GetHashCode();
|
||||
if (ClientPosVersion != 0) hash ^= ClientPosVersion.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
@@ -183,20 +183,20 @@ namespace EggLink.DanhengServer.Proto {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (EntityId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteUInt32(EntityId);
|
||||
}
|
||||
if (EntryId != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteRawTag(16);
|
||||
output.WriteUInt32(EntryId);
|
||||
}
|
||||
if (ClientPosVersion != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteRawTag(32);
|
||||
output.WriteUInt32(ClientPosVersion);
|
||||
}
|
||||
if (EntityId != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteUInt32(EntityId);
|
||||
}
|
||||
if (motion_ != null) {
|
||||
output.WriteRawTag(122);
|
||||
output.WriteRawTag(114);
|
||||
output.WriteMessage(Motion);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
@@ -209,20 +209,20 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (EntityId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteUInt32(EntityId);
|
||||
}
|
||||
if (EntryId != 0) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteRawTag(16);
|
||||
output.WriteUInt32(EntryId);
|
||||
}
|
||||
if (ClientPosVersion != 0) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteRawTag(32);
|
||||
output.WriteUInt32(ClientPosVersion);
|
||||
}
|
||||
if (EntityId != 0) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteUInt32(EntityId);
|
||||
}
|
||||
if (motion_ != null) {
|
||||
output.WriteRawTag(122);
|
||||
output.WriteRawTag(114);
|
||||
output.WriteMessage(Motion);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
@@ -235,14 +235,14 @@ namespace EggLink.DanhengServer.Proto {
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (EntityId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EntityId);
|
||||
if (EntryId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EntryId);
|
||||
}
|
||||
if (motion_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Motion);
|
||||
}
|
||||
if (EntryId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EntryId);
|
||||
if (EntityId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EntityId);
|
||||
}
|
||||
if (ClientPosVersion != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ClientPosVersion);
|
||||
@@ -259,8 +259,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.EntityId != 0) {
|
||||
EntityId = other.EntityId;
|
||||
if (other.EntryId != 0) {
|
||||
EntryId = other.EntryId;
|
||||
}
|
||||
if (other.motion_ != null) {
|
||||
if (motion_ == null) {
|
||||
@@ -268,8 +268,8 @@ namespace EggLink.DanhengServer.Proto {
|
||||
}
|
||||
Motion.MergeFrom(other.Motion);
|
||||
}
|
||||
if (other.EntryId != 0) {
|
||||
EntryId = other.EntryId;
|
||||
if (other.EntityId != 0) {
|
||||
EntityId = other.EntityId;
|
||||
}
|
||||
if (other.ClientPosVersion != 0) {
|
||||
ClientPosVersion = other.ClientPosVersion;
|
||||
@@ -289,19 +289,19 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 56: {
|
||||
EntryId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
ClientPosVersion = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
case 8: {
|
||||
EntityId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
case 16: {
|
||||
EntryId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
ClientPosVersion = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
if (motion_ == null) {
|
||||
Motion = new global::EggLink.DanhengServer.Proto.MotionInfo();
|
||||
}
|
||||
@@ -323,19 +323,19 @@ namespace EggLink.DanhengServer.Proto {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 56: {
|
||||
EntryId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
ClientPosVersion = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
case 8: {
|
||||
EntityId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
case 16: {
|
||||
EntryId = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
ClientPosVersion = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
if (motion_ == null) {
|
||||
Motion = new global::EggLink.DanhengServer.Proto.MotionInfo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user