29 lines
704 B
C#
29 lines
704 B
C#
using Newtonsoft.Json;
|
|
|
|
|
|
using ServerCore; using ServerBase;
|
|
|
|
|
|
namespace ServerCommon.BusinessLogDomain;
|
|
|
|
public class ItemPurchase : ILogInvoker.IInfo
|
|
{
|
|
[JsonProperty]
|
|
public int NPCMID { get; private set; } = 0;
|
|
[JsonProperty]
|
|
public int ShopMID { get; private set; } = 0;
|
|
[JsonProperty]
|
|
public int ProductMID { get; private set; } = 0;
|
|
[JsonProperty]
|
|
public int ProductCount { get; private set; } = 0;
|
|
|
|
public ItemPurchase(ILogInvoker parent, int npcMID, int shopMID, int productMID, int productCount)
|
|
: base(parent)
|
|
{
|
|
NPCMID = npcMID;
|
|
ShopMID = shopMID;
|
|
ProductMID = productMID;
|
|
ProductCount = productCount;
|
|
}
|
|
}
|