* Completed a partial port of OpenSim's LSL API. Thank you to everyone on the OpenSim team for their hard work on this incredibly large feature * Added Agent.GetSimulatorPosition() * Corrected default PrimFlags for agents and prims * Stubs for encoding/decoding prim linkset assets * Route chat through the scene * Stub for grid messaging (IM and email) * Add GetTerrainHeightAt(), removed duplicate heightmap storage in Movement.cs * Added a permissions manager stub * Store wind speeds, added functions to get wind speed * Make sure all of the important prim properties are set before creating an object * Lots of new object manipulation functions in scene * Properly clean up event queues on agent exit * Stubbed out a space for a scripting engine * Stubbed out task inventory * Added ScriptingConsole, which allows you to run LSL functions from the chat console * Added new PacketCategory, Messaging, for chat-related packets * Fixed InventoryObject overrides * Added a NotecardCache, useful for the scripting engine and may become generally useful later * Added several helper functions and new members to SimulationObject git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2462 52acb1d6-8a22-11de-b505-999d5b087335
110 lines
2.5 KiB
C#
110 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using ExtensionLoader;
|
|
using OpenMetaverse;
|
|
|
|
namespace Simian.Extensions
|
|
{
|
|
// FIXME: Implement this class
|
|
class XScriptEngine : IExtension<Simian>, IScriptEngine
|
|
{
|
|
Simian server;
|
|
|
|
public XScriptEngine()
|
|
{
|
|
}
|
|
|
|
public void Start(Simian server)
|
|
{
|
|
this.server = server;
|
|
}
|
|
|
|
public void Stop()
|
|
{
|
|
}
|
|
|
|
public bool PostScriptEvent(UUID scriptID, EventParams parms)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public bool PostObjectEvent(UUID hostObjectID, EventParams parms)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public void SetTimerEvent(UUID scriptID, double seconds)
|
|
{
|
|
}
|
|
|
|
public DetectParams GetDetectParams(UUID scriptID, int detectIndex)
|
|
{
|
|
DetectParams parms = new DetectParams();
|
|
return parms;
|
|
}
|
|
|
|
public bool GetScriptState(UUID scriptID)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public void SetScriptState(UUID scriptID, bool state)
|
|
{
|
|
}
|
|
|
|
public void SetStartParameter(UUID scriptID, int startParam)
|
|
{
|
|
}
|
|
|
|
public int GetStartParameter(UUID scriptID)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public void SetScriptMinEventDelay(UUID scriptID, double minDelay)
|
|
{
|
|
}
|
|
|
|
public void TriggerState(UUID scriptID, string newState)
|
|
{
|
|
}
|
|
|
|
public void ApiResetScript(UUID scriptID)
|
|
{
|
|
}
|
|
|
|
public void ResetScript(UUID scriptID)
|
|
{
|
|
}
|
|
|
|
public int AddListener(UUID scriptID, UUID hostObjectID, int channel, string name, UUID keyID, string message)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public void RemoveListener(UUID scriptID, int handle)
|
|
{
|
|
}
|
|
|
|
public void RemoveListeners(UUID scriptID)
|
|
{
|
|
}
|
|
|
|
public void SetListenerState(UUID scriptID, int handle, bool enabled)
|
|
{
|
|
}
|
|
|
|
public void SensorOnce(UUID scriptID, UUID hostObjectID, string name, UUID keyID, int type, double range, double arc)
|
|
{
|
|
}
|
|
|
|
public void SensorRepeat(UUID scriptID, UUID hostObjectID, string name, UUID keyID, int type, double range, double arc, double rate)
|
|
{
|
|
}
|
|
|
|
public void SensorRemove(UUID scriptID)
|
|
{
|
|
}
|
|
}
|
|
}
|