feat: initial commit - HJHA game server full source

6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) +
game logic (GameFix/GameDAL/ServerData) +
network layer (NetWorkMessage) +
data layer (ObjectModel) +
utilities (MrWu/Core/Config/CloudAPI/dll) +
adapters (zyxAdapter/base)

.NET 8.0 C# solution, 16 projects, 958 source files
This commit is contained in:
2026-07-07 12:02:15 +08:00
commit e9616125ce
958 changed files with 158203 additions and 0 deletions

View File

@ -0,0 +1,19 @@
using System.Runtime.InteropServices;
namespace Server.Core
{
public static class ThreadHelper
{
[DllImport("kernel32.dll")]
private static extern uint GetCurrentThreadId();
public static uint GetOSThreadId()
{
#if DEBUG
return GetCurrentThreadId();
#else
return 0;
#endif
}
}
}