초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,39 @@

using ServerCore;
using ServerBase;
using ServerCommon;
using ServerCommon.BusinessLogDomain;
using MetaAssets;
namespace GameServer;
public static class ChatBusinessLogHelper
{
static public ChatLogData toLogInfo(string chatMessage, CellPos cellpos)
{
var logData = new ChatLogData();
logData.setInfo(chatMessage, cellpos);
return logData;
}
static public ChatLogData toLogInfo(string chatMessage, string targetUser = "")
{
var logData = new ChatLogData();
logData.setInfo(chatMessage, targetUser);
return logData;
}
static public void setInfo(this ChatLogData logData, string chatMessage, string targetUser)
{
logData.TargetUser = targetUser;
logData.ChatMessage = chatMessage;
}
static public void setInfo(this ChatLogData logData, string chatMessage, CellPos cellpos)
{
logData.ChatMessage = chatMessage;
logData.cellPosX = cellpos.CellX;
logData.cellPosX = cellpos.CellY;
}
}