Additional card content
This commit is contained in:
13
SVSim.EmulatedEntrypoint/Services/CardGrantResult.cs
Normal file
13
SVSim.EmulatedEntrypoint/Services/CardGrantResult.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Output of <see cref="ICardAcquisitionService.GrantAsync"/>. The RewardList is wire-shape:
|
||||
/// pass directly into a /pack/open or similar response's <c>data.reward_list</c> field.
|
||||
///
|
||||
/// In grant mode, contains one type=5 (Card) entry per distinct newCardId with post-state
|
||||
/// count, plus one entry per newly-granted cosmetic.
|
||||
/// In backfill mode, contains only cosmetic entries (no card-count entries).
|
||||
/// </summary>
|
||||
public record CardGrantResult(IReadOnlyList<RewardListEntry> RewardList);
|
||||
Reference in New Issue
Block a user