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:
32
CloudAPI/Cloud/Log.cs
Normal file
32
CloudAPI/Cloud/Log.cs
Normal file
@ -0,0 +1,32 @@
|
||||
namespace Cloud
|
||||
{
|
||||
public static class Log
|
||||
{
|
||||
public static void Debug(string msg)
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
UnityEngine.Debug.Log(msg);
|
||||
#else
|
||||
MrWu.Debug.Debug.Info(msg);
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void Warning(string msg)
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
UnityEngine.Debug.LogWarning(msg);
|
||||
#else
|
||||
MrWu.Debug.Debug.Warning(msg);
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void Error(string msg)
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
UnityEngine.Debug.LogError(msg);
|
||||
#else
|
||||
MrWu.Debug.Debug.Error(msg);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user