mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 23:05:37 +03:00
44 lines
691 B
C#
44 lines
691 B
C#
|
using System;
|
||
|
|
||
|
namespace AMXXRelease
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Summary description for ModTFC.
|
||
|
/// </summary>
|
||
|
public class ModTFC : AMod
|
||
|
{
|
||
|
public ModTFC()
|
||
|
{
|
||
|
AddModules();
|
||
|
AddPlugins();
|
||
|
}
|
||
|
|
||
|
public override sealed string GetName()
|
||
|
{
|
||
|
return "tfc";
|
||
|
}
|
||
|
|
||
|
private void AddPlugins()
|
||
|
{
|
||
|
AddPlugin("plmenu");
|
||
|
AddPlugin("stats_logging");
|
||
|
AddPlugin("statssounds");
|
||
|
AddPlugin("stats");
|
||
|
Plugin pl = AddPlugin("tfcstats");
|
||
|
pl.outdir = "data";
|
||
|
}
|
||
|
|
||
|
private void AddModules()
|
||
|
{
|
||
|
Module tfcx = new Module();
|
||
|
|
||
|
tfcx.sourcedir = "dlls\\tfc\\tfcx";
|
||
|
tfcx.vcproj = "tfcx";
|
||
|
tfcx.projname = "tfcx_amxx";
|
||
|
tfcx.bindir = "msvc";
|
||
|
|
||
|
m_Modules.Add(tfcx);
|
||
|
}
|
||
|
}
|
||
|
}
|