mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Added in real file
This commit is contained in:
parent
bdd740f8ab
commit
1fcf7628a3
45
installer/AMXXRelease/Build.cs
Executable file
45
installer/AMXXRelease/Build.cs
Executable file
@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
namespace AMXXRelease
|
||||
{
|
||||
//Class that iterates the different pieces
|
||||
// to be completed over for the build
|
||||
public class Build
|
||||
{
|
||||
protected ArrayList m_Mods;
|
||||
|
||||
public Build()
|
||||
{
|
||||
m_Mods = new ArrayList();
|
||||
|
||||
CoreMod core = new CoreMod();
|
||||
ModCstrike cstrike = new
|
||||
ModCstrike();
|
||||
ModDoD dod = new ModDoD();
|
||||
ModEsf esf = new ModEsf();
|
||||
ModNs ns = new ModNs();
|
||||
ModTFC tfc = new ModTFC();
|
||||
ModTs ts = new ModTs();
|
||||
|
||||
m_Mods.Add(core);
|
||||
m_Mods.Add(cstrike);
|
||||
m_Mods.Add(dod);
|
||||
m_Mods.Add(esf);
|
||||
m_Mods.Add(ns);
|
||||
m_Mods.Add(tfc);
|
||||
m_Mods.Add(ts);
|
||||
}
|
||||
|
||||
public virtual int GetMods()
|
||||
{
|
||||
return m_Mods.Count;
|
||||
}
|
||||
|
||||
public virtual AMod GetMod(int i)
|
||||
{
|
||||
return (AMod)m_Mods[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user