mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 22:48:07 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
19 lines
932 B
C#
19 lines
932 B
C#
using System.Text.Json;
|
|
|
|
namespace Sandbox.Internal;
|
|
|
|
public static class GlobalToolsNamespace
|
|
{
|
|
//public static Logger Log { get; } = new Logger( "tools" );
|
|
public static Editor.EditorMainWindow EditorWindow { get; internal set; }
|
|
public static CookieContainer EditorCookie { get; internal set; }
|
|
public static CookieContainer ProjectCookie { get; internal set; }
|
|
public static Sandbox.Bind.BindSystem BindSystem { get; internal set; }
|
|
//public static HashSet<IPanel> RootPanels => IPanel.GetAllRootPanels();
|
|
//public static AudioSystem Audio { get; internal set; } = new AudioSystem( false );
|
|
public static TypeLibrary EditorTypeLibrary { get; internal set; }
|
|
//public static ResourceLibrary ResourceLibrary { get; internal set; } = new( Context.Tools );
|
|
public static Facepunch.ActionGraphs.NodeLibrary EditorNodeLibrary => Game.NodeLibrary;
|
|
public static JsonSerializerOptions EditorJsonOptions => Json.options;
|
|
}
|