mirror of
https://github.com/opensim/opensim.git
synced 2026-06-05 18:55:36 +08:00
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.
15 lines
331 B
C#
15 lines
331 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenSim.Framework.Interfaces
|
|
{
|
|
public interface IScriptEngine
|
|
{
|
|
bool Init(IScriptAPI api);
|
|
string GetName();
|
|
void LoadScript(string script, string scriptName, uint entityID);
|
|
void OnFrame();
|
|
}
|
|
}
|