mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 07:29:00 -07:00
54 lines
1.5 KiB
C#
54 lines
1.5 KiB
C#
using RadicadeServer.RecNet.Enums.Store;
|
|
using RadicadeServer.RecNet.Store;
|
|
|
|
namespace RadicadeServer.RecNet.Storefront
|
|
{
|
|
public class RequestPurchaseItemDTO
|
|
{
|
|
public StorefrontTypes StorefrontType { get; set; }
|
|
public int PurchasableItemId { get; set; }
|
|
public CurrencyType CurrencyType { get; set; }
|
|
|
|
public long? RequestedPrice { get; set; }
|
|
|
|
public long? CouponConsumablePlayerMappingId { get; set; }
|
|
|
|
public GiftRequestItemDTO? Gift { get; set; }
|
|
}
|
|
|
|
public class GiftRequestItemDTO
|
|
{
|
|
public int ToPlayerId { get; set; }
|
|
public string? Message { get; set; }
|
|
public bool Anonymous { get; set; }
|
|
public GiftContext GiftContext { get; set; }
|
|
}
|
|
|
|
public class GrantBalanceRequest
|
|
{
|
|
public float Multiplier { get; set; }
|
|
public StorefrontBalanceAddTypes BalanceAddType { get; set; }
|
|
}
|
|
|
|
public class GrantBalanceRewardDTO
|
|
{
|
|
public CurrencyType CurrencyType { get; set; }
|
|
public List<GrantBalanceRequest> BalanceAdds { get; set; } = new();
|
|
}
|
|
|
|
public class CompleteObjectiveDTO
|
|
{
|
|
public int ObjectiveType { get; set; }
|
|
public float CompletionPercentage { get; set; }
|
|
public long? RoomId { get; set; }
|
|
}
|
|
|
|
public class StorefrontPurchaseRequestDTO
|
|
{
|
|
public StorefrontTypes Storefront { get; set; }
|
|
public int ItemId { get; set; }
|
|
public CurrencyType Currency { get; set; }
|
|
public long Price { get; set; }
|
|
}
|
|
}
|