Revamp UI a whole lot
This commit is contained in:
@@ -32,4 +32,32 @@ namespace KernelPanic.Meta
|
||||
guaranteedDistroIds ??= new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Persistent, bounded receipt rendered by <c>git log --pulls</c>.</summary>
|
||||
[Serializable]
|
||||
public sealed class GachaPullHistoryEntry
|
||||
{
|
||||
public string pulledUtc;
|
||||
public string bannerId;
|
||||
public int currencySpent;
|
||||
public int entropySpent;
|
||||
public List<GachaPullHistoryRewardEntry> rewards = new();
|
||||
|
||||
public void EnsureLists()
|
||||
{
|
||||
rewards ??= new List<GachaPullHistoryRewardEntry>();
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public sealed class GachaPullHistoryRewardEntry
|
||||
{
|
||||
public int stars;
|
||||
public string displayName;
|
||||
public GachaRewardType rewardType;
|
||||
public PullOutcomeKind outcomeKind;
|
||||
public int duplicateValue;
|
||||
public bool guaranteed;
|
||||
public bool pityTriggered;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user