초기커밋
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
|
||||
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
|
||||
public class ItemPurchaseBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private ItemPurchase m_data_to_log;
|
||||
|
||||
public ItemPurchaseBusinessLog(int npcMID, int shopMID, int productMID, int productCount)
|
||||
: base(LogDomainType.Item)
|
||||
{
|
||||
m_data_to_log = new(this, npcMID, shopMID, productMID, productCount);
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(new ItemPurchase(this, m_data_to_log.NPCMID, m_data_to_log.ShopMID, m_data_to_log.ProductMID, m_data_to_log.ProductCount));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user