mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
ScriptGlue: Added Log.Exception
- Also pushed missing List Editor fix
This commit is contained in:
@@ -107,8 +107,10 @@ static class ScriptGlue
|
||||
}
|
||||
}
|
||||
|
||||
[RegisterCall("Log::LogMessage_Impl")]
|
||||
static void Log(int32 logLevel, MonoString* message)
|
||||
#region Log
|
||||
|
||||
[RegisterCall("ScriptGlue::Log_LogMessage")]
|
||||
static void Log_LogMessage(int32 logLevel, MonoString* message)
|
||||
{
|
||||
char8* utfMessage = Mono.mono_string_to_utf8(message);
|
||||
|
||||
@@ -117,6 +119,14 @@ static class ScriptGlue
|
||||
Mono.mono_free(utfMessage);
|
||||
}
|
||||
|
||||
[RegisterCall("ScriptGlue::Log_LogException")]
|
||||
static void Log_LogException(MonoException* exception, UUID entityId)
|
||||
{
|
||||
ScriptEngine.HandleMonoException(exception, entityId);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Input
|
||||
|
||||
[RegisterCall("Input::IsKeyPressed")]
|
||||
|
||||
Reference in New Issue
Block a user