public void OnPluginLoadingEnv(List<string> lstPluginEnv)
{
foreach (String env in lstPluginEnv)
{
DebugWrite("^9OnPluginLoadingEnv: " + env, 8);
}
switch (lstPluginEnv[1])
{
case "BF3": fGameVersion = GameVersion.BF3; break;
case "BF4": fGameVersion = GameVersion.BF4; break;
case "BFHL": fGameVersion = GameVersion.BFH; break;
default: break;
}
ConsoleWrite("^2Game Version = " + lstPluginEnv[1], 0);
/*
Version PRoConVersion = new Version(lstPluginEnv[0]);
this.m_strPRoConVersion = PRoConVersion.ToString();
this.m_strServerGameType = lstPluginEnv[1].ToLower();
this.m_strGameMod = lstPluginEnv[2];
this.m_strServerVersion = lstPluginEnv[3];
this.m_strSandboxEnabled = lstPluginEnv[4];
if (this.m_strServerGameType == "bf3") {
this.m_iTimeDivider = 1000;
}
*/
}