2019-07-03 09:44:53 +02:00
|
|
|
using System.Runtime.CompilerServices;
|
2021-09-12 20:21:15 +02:00
|
|
|
using Godot.NativeInterop;
|
2019-07-03 09:44:53 +02:00
|
|
|
|
|
|
|
namespace GodotTools.Internals
|
|
|
|
{
|
|
|
|
public static class GodotSharpDirs
|
|
|
|
{
|
2021-09-12 20:21:15 +02:00
|
|
|
public static string ResMetadataDir
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
2021-09-12 20:23:05 +02:00
|
|
|
Internal.godot_icall_GodotSharpDirs_ResMetadataDir(out godot_string dest);
|
2021-09-12 20:21:15 +02:00
|
|
|
using (dest)
|
|
|
|
return Marshaling.mono_string_from_godot(dest);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public static string ResTempAssembliesBaseDir
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
2021-09-12 20:23:05 +02:00
|
|
|
Internal.godot_icall_GodotSharpDirs_ResTempAssembliesBaseDir(out godot_string dest);
|
2021-09-12 20:21:15 +02:00
|
|
|
using (dest)
|
|
|
|
return Marshaling.mono_string_from_godot(dest);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public static string MonoUserDir
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
2021-09-12 20:23:05 +02:00
|
|
|
Internal.godot_icall_GodotSharpDirs_MonoUserDir(out godot_string dest);
|
2021-09-12 20:21:15 +02:00
|
|
|
using (dest)
|
|
|
|
return Marshaling.mono_string_from_godot(dest);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public static string BuildLogsDirs
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
2021-09-12 20:23:05 +02:00
|
|
|
Internal.godot_icall_GodotSharpDirs_BuildLogsDirs(out godot_string dest);
|
2021-09-12 20:21:15 +02:00
|
|
|
using (dest)
|
|
|
|
return Marshaling.mono_string_from_godot(dest);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public static string ProjectSlnPath
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
2021-09-12 20:23:05 +02:00
|
|
|
Internal.godot_icall_GodotSharpDirs_ProjectSlnPath(out godot_string dest);
|
2021-09-12 20:21:15 +02:00
|
|
|
using (dest)
|
|
|
|
return Marshaling.mono_string_from_godot(dest);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public static string ProjectCsProjPath
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
2021-09-12 20:23:05 +02:00
|
|
|
Internal.godot_icall_GodotSharpDirs_ProjectCsProjPath(out godot_string dest);
|
2021-09-12 20:21:15 +02:00
|
|
|
using (dest)
|
|
|
|
return Marshaling.mono_string_from_godot(dest);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public static string DataEditorToolsDir
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
2021-09-12 20:23:05 +02:00
|
|
|
Internal.godot_icall_GodotSharpDirs_DataEditorToolsDir(out godot_string dest);
|
2021-09-12 20:21:15 +02:00
|
|
|
using (dest)
|
|
|
|
return Marshaling.mono_string_from_godot(dest);
|
|
|
|
}
|
|
|
|
}
|
2019-07-03 09:44:53 +02:00
|
|
|
}
|
|
|
|
}
|