Code/SboxSuperuser/Api/ICommandServices.cs

Interface for resolving host-approved game services. It declares a single generic GetService<T>() method that returns an approved service instance or null and must not construct fallback implementations.

namespace SboxSuperuser;

/// <summary>Host-approved game capabilities; implementations must expose only explicitly approved services.</summary>
public interface ICommandServices
{
	/// <summary>Returns an approved service, or null when unavailable; never constructs a fallback implementation.</summary>
	T GetService<T>() where T : class;
}