19 lines
377 B
C#
19 lines
377 B
C#
using System;
|
|
|
|
namespace LLib.Shop;
|
|
|
|
public sealed class PurchaseCompletedEventArgs : EventArgs
|
|
{
|
|
public uint ItemId { get; }
|
|
|
|
public bool Success { get; }
|
|
|
|
public int QuantityPurchased { get; }
|
|
|
|
public PurchaseCompletedEventArgs(uint itemId, bool success, int quantityPurchased = 0)
|
|
{
|
|
ItemId = itemId;
|
|
Success = success;
|
|
QuantityPurchased = quantityPurchased;
|
|
}
|
|
}
|