Daily update on 20250313-044921 by Nitload Youmu. Additional Message : Parser to TokenFlag.Member, improvement of exiting StgSharp platform

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-03-13 04:49:21 +08:00
parent 9647c2c68a
commit 6222f8c8be
49 changed files with 1509 additions and 288 deletions
+9 -9
View File
@@ -98,8 +98,7 @@ namespace StgSharp
Dialogue.LoadDialogue();
if (Dialogue.NeedShowWhenStartup)
{
if( Dialogue.NeedShowWhenStartup ) {
Dialogue.CreateDialogueProcessIfNotExist();
}
@@ -135,19 +134,20 @@ namespace StgSharp
}
}
public static void Terminate()
public static void Terminate( int exitCode )
{
MainTimeProvider.StopProvidingTime();
InternalIO.glfwTerminate();
Environment.Exit( exitCode );
}
public static void Track(
object target,
string message,
bool isConsole,
[CallerFilePath] string filePath = "",
[CallerMemberName] string callerName = "",
[CallerLineNumber] int lineNumber = 0 )
object target,
string message,
bool isConsole,
[CallerFilePath] string filePath = "",
[CallerMemberName] string callerName = "",
[CallerLineNumber] int lineNumber = 0 )
{
Type t = target.GetType();
string log = $"Tracked object: {nameof(target)}\t\tType:{t.Name}\n";