aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Framework/IScriptAPI.cs
diff options
context:
space:
mode:
authorMW2007-04-11 12:13:21 +0000
committerMW2007-04-11 12:13:21 +0000
commit5ad6d5a939fb7bf0fdfdc6925d4afed306e08641 (patch)
tree8bcf302b69297a27ab254d087f73fe88fecab464 /OpenSim.Framework/IScriptAPI.cs
parentChanged so that a bin\ScriptEngines\ directory will be searched for scripting... (diff)
downloadopensim-SC-5ad6d5a939fb7bf0fdfdc6925d4afed306e08641.zip
opensim-SC-5ad6d5a939fb7bf0fdfdc6925d4afed306e08641.tar.gz
opensim-SC-5ad6d5a939fb7bf0fdfdc6925d4afed306e08641.tar.bz2
opensim-SC-5ad6d5a939fb7bf0fdfdc6925d4afed306e08641.tar.xz
First basic test script now works in the jvm scripting engine.
For it to work you need to have a java sdk installed and the javac.exe somewhere in the environment Path variable. Then To test, copy the text from bin/script1.text into a note card and then add that note to a prim.
Diffstat (limited to 'OpenSim.Framework/IScriptAPI.cs')
-rw-r--r--OpenSim.Framework/IScriptAPI.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim.Framework/IScriptAPI.cs b/OpenSim.Framework/IScriptAPI.cs
new file mode 100644
index 0000000..2f58198
--- /dev/null
+++ b/OpenSim.Framework/IScriptAPI.cs
@@ -0,0 +1,13 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace OpenSim.Framework.Interfaces
6{
7 public interface IScriptAPI
8 {
9 OSVector3 GetEntityPosition(uint localID);
10 void SetEntityPosition(uint localID, float x, float y, float z);
11 uint GetRandomAvatarID();
12 }
13}