enter intro cutscene

This commit is contained in:
Naruse
2026-04-20 12:40:38 +08:00
parent 2826239284
commit 279da58dc1
81 changed files with 7279 additions and 0 deletions

14
Common/Util/DateTime.cs Normal file
View File

@@ -0,0 +1,14 @@

namespace MikuSB.Util;
public static class DateTimeExtensions
{
private static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public static long ToUnixTimestampMilliseconds(this DateTime dateTime)
{
return (long)(dateTime - UnixEpoch).TotalMilliseconds;
}
}