mirror of
https://github.com/opensim/opensim.git
synced 2026-05-19 06:25:44 +08:00
Publish a method on ICompiler to generate the CIL assembly path
Cause group deeding to apply next owner perms
This commit is contained in:
@@ -38,5 +38,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
string[] GetWarnings();
|
||||
Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>>
|
||||
LineMap();
|
||||
string GetAssemblyName(UUID assetID);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user