From dc8a794ad81aac4dd814a12b922387cfaf9529a0 Mon Sep 17 00:00:00 2001
From: sin365 <353374337@qq.com>
Date: Fri, 13 Sep 2024 13:41:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=BD=93=E5=89=8D?=
=?UTF-8?q?=E5=B8=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
AxibugEmuOnline.Server/Manager/RoomManager.cs | 3 +-
.../PublishProfiles/FolderProfile.pubxml.user | 2 +-
.../Protobuf/ProtobufAxibugEmuOnline.cs | 117 ++++++++++++------
.../out/CS/ProtobufAxibugEmuOnline.cs | 117 ++++++++++++------
.../proto/protobuf_AxibugEmuOnline.proto | 1 +
5 files changed, 160 insertions(+), 80 deletions(-)
diff --git a/AxibugEmuOnline.Server/Manager/RoomManager.cs b/AxibugEmuOnline.Server/Manager/RoomManager.cs
index cfab65fa..3712a541 100644
--- a/AxibugEmuOnline.Server/Manager/RoomManager.cs
+++ b/AxibugEmuOnline.Server/Manager/RoomManager.cs
@@ -611,7 +611,8 @@ namespace AxibugEmuOnline.Server
Protobuf_Room_Syn_RoomFrameAllInputData resp = new Protobuf_Room_Syn_RoomFrameAllInputData()
{
FrameID = data.frameId,
- InputData = data.inputdata.all
+ InputData = data.inputdata.all,
+ ServerFrameID = mCurrFrameId
};
AppSrv.g_ClientMgr.ClientSend(SynUIDs, (int)CommandID.CmdRoomSynPlayerInput, (int)ErrorCode.ErrorOk, ProtoBufHelper.Serizlize(resp));
}
diff --git a/AxibugEmuOnline.Server/Properties/PublishProfiles/FolderProfile.pubxml.user b/AxibugEmuOnline.Server/Properties/PublishProfiles/FolderProfile.pubxml.user
index 66367dd8..13b45c5a 100644
--- a/AxibugEmuOnline.Server/Properties/PublishProfiles/FolderProfile.pubxml.user
+++ b/AxibugEmuOnline.Server/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
- True|2024-09-12T09:48:43.1521740Z||;True|2024-09-12T17:43:57.0504432+08:00||;True|2024-09-12T17:19:48.6392091+08:00||;True|2024-09-12T13:38:45.0141937+08:00||;False|2024-09-12T13:37:57.6131232+08:00||;True|2024-06-28T16:25:59.3159172+08:00||;True|2024-06-28T15:30:49.8257235+08:00||;
+ True|2024-09-13T05:39:28.9591993Z||;True|2024-09-12T17:48:43.1521740+08:00||;True|2024-09-12T17:43:57.0504432+08:00||;True|2024-09-12T17:19:48.6392091+08:00||;True|2024-09-12T13:38:45.0141937+08:00||;False|2024-09-12T13:37:57.6131232+08:00||;True|2024-06-28T16:25:59.3159172+08:00||;True|2024-06-28T15:30:49.8257235+08:00||;
\ No newline at end of file
diff --git a/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuOnline.cs b/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuOnline.cs
index 9d513163..6c6329c8 100644
--- a/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuOnline.cs
+++ b/AxibugEmuOnline.Server/Protobuf/ProtobufAxibugEmuOnline.cs
@@ -52,45 +52,45 @@ namespace AxibugProtobuf {
"YnVmLlByb3RvYnVmX1Jvb21fTWluaUluZm8iSwoVUHJvdG9idWZfU2NyZW5u",
"X0ZyYW1lEg4KBlJvb21JRBgBIAEoBRIPCgdGcmFtZUlEGAIgASgFEhEKCVJh",
"d0JpdG1hcBgDIAEoDCJJCiNQcm90b2J1Zl9Sb29tX1NpbmdsZVBsYXllcklu",
- "cHV0RGF0YRIPCgdGcmFtZUlEGAEgASgNEhEKCUlucHV0RGF0YRgCIAEoDSJN",
+ "cHV0RGF0YRIPCgdGcmFtZUlEGAEgASgNEhEKCUlucHV0RGF0YRgCIAEoDSJk",
"CidQcm90b2J1Zl9Sb29tX1N5bl9Sb29tRnJhbWVBbGxJbnB1dERhdGESDwoH",
- "RnJhbWVJRBgBIAEoDRIRCglJbnB1dERhdGEYAiABKAQiVQo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ZhdWx0EAAqSwoKRGV2aWNlVHlwZRIWChJEZXZpY2VUeXBlX0Rl",
+ "ZmF1bHQQABIGCgJQQxABEgsKB0FuZHJvaWQQAhIHCgNJT1MQAxIHCgNQU1YQ",
+ "BCpwCg1Sb29tR2FtZVN0YXRlEhIKDk5vbmVfR2FtZVN0YXRlEAASDAoIT25s",
+ "eUhvc3QQARIRCg1XYWl0UmF3VXBkYXRlEAISDQoJV2FpdFJlYWR5EAMSCQoF",
+ "UGF1c2UQBBIQCgxJbk9ubGluZUdhbWUQBSpOChFMb2dpblJlc3VsdFN0YXR1",
+ "cxIhCh1Mb2dpblJlc3VsdFN0YXR1c19CYXNlRGVmYXVsdBAAEgYKAk9LEAES",
+ "DgoKQWNjb3VudEVychACQgJIAWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::AxibugProtobuf.CommandID), typeof(global::AxibugProtobuf.ErrorCode), typeof(global::AxibugProtobuf.LoginType), typeof(global::AxibugProtobuf.DeviceType), typeof(global::AxibugProtobuf.RoomGameState), typeof(global::AxibugProtobuf.LoginResultStatus), }, null, new pbr::GeneratedClrTypeInfo[] {
@@ -106,7 +106,7 @@ namespace AxibugProtobuf {
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Update_RESP), global::AxibugProtobuf.Protobuf_Room_Update_RESP.Parser, new[]{ "UpdateType", "RoomMiniInfo" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Screnn_Frame), global::AxibugProtobuf.Protobuf_Screnn_Frame.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_SinglePlayerInputData), global::AxibugProtobuf.Protobuf_Room_SinglePlayerInputData.Parser, new[]{ "FrameID", "InputData" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData), global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData.Parser, new[]{ "FrameID", "InputData" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData), global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData.Parser, new[]{ "FrameID", "InputData", "ServerFrameID" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create), global::AxibugProtobuf.Protobuf_Room_Create.Parser, new[]{ "GameRomID", "GameRomHash", "JoinPlayerIdx" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create_RESP), global::AxibugProtobuf.Protobuf_Room_Create_RESP.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Join), global::AxibugProtobuf.Protobuf_Room_Join.Parser, new[]{ "RoomID", "PlayerNum" }, null, null, null, null),
@@ -3481,6 +3481,7 @@ namespace AxibugProtobuf {
public Protobuf_Room_Syn_RoomFrameAllInputData(Protobuf_Room_Syn_RoomFrameAllInputData other) : this() {
frameID_ = other.frameID_;
inputData_ = other.inputData_;
+ serverFrameID_ = other.serverFrameID_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -3517,6 +3518,20 @@ namespace AxibugProtobuf {
}
}
+ /// Field number for the "ServerFrameID" field.
+ public const int ServerFrameIDFieldNumber = 3;
+ private uint serverFrameID_;
+ ///
+ ///服务器帧编号
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint ServerFrameID {
+ get { return serverFrameID_; }
+ set {
+ serverFrameID_ = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Protobuf_Room_Syn_RoomFrameAllInputData);
@@ -3532,6 +3547,7 @@ namespace AxibugProtobuf {
}
if (FrameID != other.FrameID) return false;
if (InputData != other.InputData) return false;
+ if (ServerFrameID != other.ServerFrameID) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -3540,6 +3556,7 @@ namespace AxibugProtobuf {
int hash = 1;
if (FrameID != 0) hash ^= FrameID.GetHashCode();
if (InputData != 0UL) hash ^= InputData.GetHashCode();
+ if (ServerFrameID != 0) hash ^= ServerFrameID.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -3564,6 +3581,10 @@ namespace AxibugProtobuf {
output.WriteRawTag(16);
output.WriteUInt64(InputData);
}
+ if (ServerFrameID != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(ServerFrameID);
+ }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -3581,6 +3602,10 @@ namespace AxibugProtobuf {
output.WriteRawTag(16);
output.WriteUInt64(InputData);
}
+ if (ServerFrameID != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(ServerFrameID);
+ }
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
@@ -3596,6 +3621,9 @@ namespace AxibugProtobuf {
if (InputData != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(InputData);
}
+ if (ServerFrameID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ServerFrameID);
+ }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -3613,6 +3641,9 @@ namespace AxibugProtobuf {
if (other.InputData != 0UL) {
InputData = other.InputData;
}
+ if (other.ServerFrameID != 0) {
+ ServerFrameID = other.ServerFrameID;
+ }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -3635,6 +3666,10 @@ namespace AxibugProtobuf {
InputData = input.ReadUInt64();
break;
}
+ case 24: {
+ ServerFrameID = input.ReadUInt32();
+ break;
+ }
}
}
#endif
@@ -3657,6 +3692,10 @@ namespace AxibugProtobuf {
InputData = input.ReadUInt64();
break;
}
+ case 24: {
+ ServerFrameID = input.ReadUInt32();
+ break;
+ }
}
}
}
diff --git a/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs b/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs
index 9d513163..6c6329c8 100644
--- a/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs
+++ b/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs
@@ -52,45 +52,45 @@ namespace AxibugProtobuf {
"YnVmLlByb3RvYnVmX1Jvb21fTWluaUluZm8iSwoVUHJvdG9idWZfU2NyZW5u",
"X0ZyYW1lEg4KBlJvb21JRBgBIAEoBRIPCgdGcmFtZUlEGAIgASgFEhEKCVJh",
"d0JpdG1hcBgDIAEoDCJJCiNQcm90b2J1Zl9Sb29tX1NpbmdsZVBsYXllcklu",
- "cHV0RGF0YRIPCgdGcmFtZUlEGAEgASgNEhEKCUlucHV0RGF0YRgCIAEoDSJN",
+ "cHV0RGF0YRIPCgdGcmFtZUlEGAEgASgNEhEKCUlucHV0RGF0YRgCIAEoDSJk",
"CidQcm90b2J1Zl9Sb29tX1N5bl9Sb29tRnJhbWVBbGxJbnB1dERhdGESDwoH",
- "RnJhbWVJRBgBIAEoDRIRCglJbnB1dERhdGEYAiABKAQiVQoUUHJvdG9idWZf",
- "Um9vbV9DcmVhdGUSEQoJR2FtZVJvbUlEGAEgASgFEhMKC0dhbWVSb21IYXNo",
- "GAIgASgJEhUKDUpvaW5QbGF5ZXJJZHgYAyABKAUiWQoZUHJvdG9idWZfUm9v",
- "bV9DcmVhdGVfUkVTUBI8CgxSb29tTWluaUluZm8YASABKAsyJi5BeGlidWdQ",
- "cm90b2J1Zi5Qcm90b2J1Zl9Sb29tX01pbmlJbmZvIjcKElByb3RvYnVmX1Jv",
- "b21fSm9pbhIOCgZSb29tSUQYASABKAUSEQoJUGxheWVyTnVtGAI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cxIhCh1Mb2dpblJlc3VsdFN0YXR1c19CYXNlRGVmYXVsdBAAEgYKAk9LEAES",
+ "DgoKQWNjb3VudEVychACQgJIAWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::AxibugProtobuf.CommandID), typeof(global::AxibugProtobuf.ErrorCode), typeof(global::AxibugProtobuf.LoginType), typeof(global::AxibugProtobuf.DeviceType), typeof(global::AxibugProtobuf.RoomGameState), typeof(global::AxibugProtobuf.LoginResultStatus), }, null, new pbr::GeneratedClrTypeInfo[] {
@@ -106,7 +106,7 @@ namespace AxibugProtobuf {
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Update_RESP), global::AxibugProtobuf.Protobuf_Room_Update_RESP.Parser, new[]{ "UpdateType", "RoomMiniInfo" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Screnn_Frame), global::AxibugProtobuf.Protobuf_Screnn_Frame.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_SinglePlayerInputData), global::AxibugProtobuf.Protobuf_Room_SinglePlayerInputData.Parser, new[]{ "FrameID", "InputData" }, null, null, null, null),
- new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData), global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData.Parser, new[]{ "FrameID", "InputData" }, null, null, null, null),
+ new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData), global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData.Parser, new[]{ "FrameID", "InputData", "ServerFrameID" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create), global::AxibugProtobuf.Protobuf_Room_Create.Parser, new[]{ "GameRomID", "GameRomHash", "JoinPlayerIdx" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create_RESP), global::AxibugProtobuf.Protobuf_Room_Create_RESP.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Join), global::AxibugProtobuf.Protobuf_Room_Join.Parser, new[]{ "RoomID", "PlayerNum" }, null, null, null, null),
@@ -3481,6 +3481,7 @@ namespace AxibugProtobuf {
public Protobuf_Room_Syn_RoomFrameAllInputData(Protobuf_Room_Syn_RoomFrameAllInputData other) : this() {
frameID_ = other.frameID_;
inputData_ = other.inputData_;
+ serverFrameID_ = other.serverFrameID_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
@@ -3517,6 +3518,20 @@ namespace AxibugProtobuf {
}
}
+ /// Field number for the "ServerFrameID" field.
+ public const int ServerFrameIDFieldNumber = 3;
+ private uint serverFrameID_;
+ ///
+ ///服务器帧编号
+ ///
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint ServerFrameID {
+ get { return serverFrameID_; }
+ set {
+ serverFrameID_ = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Protobuf_Room_Syn_RoomFrameAllInputData);
@@ -3532,6 +3547,7 @@ namespace AxibugProtobuf {
}
if (FrameID != other.FrameID) return false;
if (InputData != other.InputData) return false;
+ if (ServerFrameID != other.ServerFrameID) return false;
return Equals(_unknownFields, other._unknownFields);
}
@@ -3540,6 +3556,7 @@ namespace AxibugProtobuf {
int hash = 1;
if (FrameID != 0) hash ^= FrameID.GetHashCode();
if (InputData != 0UL) hash ^= InputData.GetHashCode();
+ if (ServerFrameID != 0) hash ^= ServerFrameID.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
@@ -3564,6 +3581,10 @@ namespace AxibugProtobuf {
output.WriteRawTag(16);
output.WriteUInt64(InputData);
}
+ if (ServerFrameID != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(ServerFrameID);
+ }
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
@@ -3581,6 +3602,10 @@ namespace AxibugProtobuf {
output.WriteRawTag(16);
output.WriteUInt64(InputData);
}
+ if (ServerFrameID != 0) {
+ output.WriteRawTag(24);
+ output.WriteUInt32(ServerFrameID);
+ }
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
@@ -3596,6 +3621,9 @@ namespace AxibugProtobuf {
if (InputData != 0UL) {
size += 1 + pb::CodedOutputStream.ComputeUInt64Size(InputData);
}
+ if (ServerFrameID != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ServerFrameID);
+ }
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
@@ -3613,6 +3641,9 @@ namespace AxibugProtobuf {
if (other.InputData != 0UL) {
InputData = other.InputData;
}
+ if (other.ServerFrameID != 0) {
+ ServerFrameID = other.ServerFrameID;
+ }
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
@@ -3635,6 +3666,10 @@ namespace AxibugProtobuf {
InputData = input.ReadUInt64();
break;
}
+ case 24: {
+ ServerFrameID = input.ReadUInt32();
+ break;
+ }
}
}
#endif
@@ -3657,6 +3692,10 @@ namespace AxibugProtobuf {
InputData = input.ReadUInt64();
break;
}
+ case 24: {
+ ServerFrameID = input.ReadUInt32();
+ break;
+ }
}
}
}
diff --git a/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto b/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto
index 9812f015..070dec0d 100644
--- a/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto
+++ b/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto
@@ -203,6 +203,7 @@ message Protobuf_Room_Syn_RoomFrameAllInputData
{
uint32 FrameID = 1;//帧编号
uint64 InputData = 2;//所有玩家操作位运算汇总
+ uint32 ServerFrameID = 3;//服务器帧编号
}
message Protobuf_Room_Create