implement main screen
This commit is contained in:
@@ -7,6 +7,8 @@ namespace KernelPanic.Meta
|
||||
/// </summary>
|
||||
public sealed class GachaService
|
||||
{
|
||||
public int PullTokens => 0; // TODO: Replace with the real pull-token wallet when that meta system exists.
|
||||
|
||||
public GachaPullResult PerformPull(EntropyWallet wallet, int cost)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
|
||||
namespace KernelPanic.Meta
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides optional live-event banner copy for shell surfaces.
|
||||
/// </summary>
|
||||
public interface IEventBannerSource
|
||||
{
|
||||
EventBannerContent GetBanner();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Describes an optional event banner message and remaining duration.
|
||||
/// </summary>
|
||||
public sealed class EventBannerContent
|
||||
{
|
||||
public EventBannerContent(string text, TimeSpan? remainingTime)
|
||||
{
|
||||
Text = text;
|
||||
RemainingTime = remainingTime;
|
||||
}
|
||||
|
||||
public string Text { get; }
|
||||
public TimeSpan? RemainingTime { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 542dd3144a914ea5b1e0c0e21db5ec6b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user