mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 15:39:01 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user