초기커밋
This commit is contained in:
21
GameServer/Contents/Cart/Log/CartBusinessLogHelper.cs
Normal file
21
GameServer/Contents/Cart/Log/CartBusinessLogHelper.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using ServerCommon;
|
||||
using META_ID = System.UInt32;
|
||||
|
||||
namespace GameServer
|
||||
{
|
||||
static public class CartBusinessLogHelper
|
||||
{
|
||||
static public CartLogData toLogInfo(List<(META_ID, int)> deltaCartData)
|
||||
{
|
||||
var logData = new CartLogData();
|
||||
logData.setInfo(deltaCartData);
|
||||
return logData;
|
||||
}
|
||||
|
||||
static public void setInfo(this CartLogData logData, List<(META_ID, int)> deltaCartData)
|
||||
{
|
||||
logData.deltaItemDataList = deltaCartData;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user