implement main screen

This commit is contained in:
2026-07-03 13:59:00 +02:00
parent d98d34ec3f
commit 2fc8a05617
35 changed files with 1637 additions and 89 deletions
+2
View File
@@ -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();
+27
View File
@@ -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: