Publish a method on ICompiler to generate the CIL assembly path

Cause group deeding to apply next owner perms
This commit is contained in:
Melanie Thielker
2009-06-21 18:38:12 +00:00
parent 034de5ecd6
commit 2c3a1995fc
3 changed files with 9 additions and 0 deletions

View File

@@ -259,6 +259,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
// }
//}
public string GetAssemblyName(UUID assetID)
{
return Path.Combine(ScriptEnginesPath, Path.Combine(
m_scriptEngine.World.RegionInfo.RegionID.ToString(),
FilePrefix + "_compiled_" + assetID + ".dll"));
}
/// <summary>
/// Converts script from LSL to CS and calls CompileFromCSText
/// </summary>