초기커밋
This commit is contained in:
28
ServerCommon/1. Define/BusinessLog/Domain/ItemPurchase.cs
Normal file
28
ServerCommon/1. Define/BusinessLog/Domain/ItemPurchase.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user