mirror of
https://github.com/roflmuffin/CounterStrikeSharp.git
synced 2025-12-08 08:56:34 -08:00
Co-authored-by: B3none <ablackham2000@gmail.com> Co-authored-by: B3none <24966460+B3none@users.noreply.github.com>
38 lines
1.3 KiB
C#
38 lines
1.3 KiB
C#
namespace CounterStrikeSharp.API.Core.Hosting;
|
|
|
|
|
|
/// <summary>
|
|
/// Provides information about the CounterStrikeSharp host configuration.
|
|
/// </summary>
|
|
public interface IScriptHostConfiguration
|
|
{
|
|
/// <summary>
|
|
/// Gets the absolute path to the directory that contains CounterStrikeSharp files.
|
|
/// e.g. /game/csgo/addons/counterstrikesharp
|
|
/// </summary>
|
|
string RootPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the absolute path to the directory that contains CounterStrikeSharp plugins.
|
|
/// e.g. /game/csgo/addons/counterstrikesharp/plugins
|
|
/// </summary>
|
|
string PluginPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the absolute path to the directory that contains CounterStrikeSharp plugin shared APIS.
|
|
/// e.g. /game/csgo/addons/counterstrikesharp/shared
|
|
/// </summary>
|
|
string SharedPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the absolute path to the directory that contains CounterStrikeSharp configs.
|
|
/// e.g. /game/csgo/addons/counterstrikesharp/configs
|
|
/// </summary>
|
|
string ConfigsPath { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the absolute path to the directory that contains CounterStrikeSharp game data.
|
|
/// e.g. /game/csgo/addons/counterstrikesharp/gamedata
|
|
/// </summary>
|
|
string GameDataPath { get; }
|
|
} |