Radicade Public Code

This commit is contained in:
JogmansonReal
2026-10-16 23:33:13 -07:00
commit 55175acdf6
832 changed files with 363261 additions and 0 deletions
+53
View File
@@ -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; }
}
}