mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Provide a GetApi method on the IScriptEngine to get a named API reference
This allows cross-api method calls on the implementation and also allows "Meta APIs" that only provide common functionality to other APIs
This commit is contained in:
@@ -58,6 +58,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
void SetState(UUID itemID, string newState);
|
||||
int GetStartParameter(UUID itemID);
|
||||
IScriptWorkItem QueueEventHandler(object parms);
|
||||
IScriptApi GetApi(UUID itemID, string name);
|
||||
|
||||
DetectParams GetDetectParams(UUID item, int number);
|
||||
}
|
||||
|
||||
@@ -85,5 +85,7 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
DetectParams GetDetectParams(int idx);
|
||||
UUID GetDetectID(int idx);
|
||||
void SaveState(string assembly);
|
||||
|
||||
IScriptApi GetApi(string name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user