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]
13 lines
309 B
C#
13 lines
309 B
C#
namespace Sandbox;
|
|
|
|
/// <summary>
|
|
/// Utility info for menu usage.
|
|
/// </summary>
|
|
public static class Global
|
|
{
|
|
/// <summary>
|
|
/// Are we connected to the API? (If not, offline mode. Requires Steam Servers to be online to connect..)
|
|
/// </summary>
|
|
public static bool IsApiConnected => Api.IsConnected;
|
|
}
|