Stationpedia docs
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using Assets.Scripts.UI;
|
||||
using StationeersIC10Editor;
|
||||
|
||||
public struct Range
|
||||
@@ -151,6 +152,14 @@ public static class Marshal
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the currently documented items from the Slang compiler and returns new StationpediaPages with correct formatting.
|
||||
/// </summary>
|
||||
public static unsafe List<StationpediaPage> GetSlangDocs()
|
||||
{
|
||||
return Ffi.get_docs().ToList();
|
||||
}
|
||||
|
||||
private static string ExtractNativeLibrary(string libName)
|
||||
{
|
||||
string destinationPath = Path.Combine(Path.GetTempPath(), libName);
|
||||
|
||||
Reference in New Issue
Block a user