public SensorRepeat(AsyncCommandManager CmdManager) { m_CmdManager = CmdManager; maximumRange = CmdManager.m_ScriptEngine.Config.GetDouble("SensorMaxRange", 96.0d); maximumToReturn = CmdManager.m_ScriptEngine.Config.GetInt("SensorMaxResults", 16); m_npcModule = m_CmdManager.m_ScriptEngine.World.RequestModuleInterface<INPCModule>(); }
protected int EMAIL_PAUSE_TIME = 20; // documented delay value for smtp. public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, TaskInventoryItem item) { m_ScriptEngine = ScriptEngine; m_host = host; m_item = item; LoadLimits(); // read script limits from config. m_TransferModule = m_ScriptEngine.World.RequestModuleInterface<IMessageTransferModule>(); m_UrlModule = m_ScriptEngine.World.RequestModuleInterface<IUrlModule>(); AsyncCommands = new AsyncCommandManager(ScriptEngine); }
public Timer(AsyncCommandManager CmdManager) { m_CmdManager = CmdManager; }
public void Initialize( IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item, WaitHandle coopSleepHandle) { m_ScriptEngine = scriptEngine; m_host = host; m_item = item; m_coopSleepHandle = coopSleepHandle; LoadConfig(); m_TransferModule = m_ScriptEngine.World.RequestModuleInterface<IMessageTransferModule>(); m_UrlModule = m_ScriptEngine.World.RequestModuleInterface<IUrlModule>(); m_SoundModule = m_ScriptEngine.World.RequestModuleInterface<ISoundModule>(); AsyncCommands = new AsyncCommandManager(m_ScriptEngine); }
public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, UUID itemID) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; m_itemID = itemID; m_ScriptDelayFactor = m_ScriptEngine.Config.GetFloat("ScriptDelayFactor", 1.0f); m_ScriptDistanceFactor = m_ScriptEngine.Config.GetFloat("ScriptDistanceLimitFactor", 1.0f); m_MinTimerInterval = m_ScriptEngine.Config.GetFloat("MinTimerInterval", 0.5f); m_automaticLinkPermission = m_ScriptEngine.Config.GetBoolean("AutomaticLinkPermission", false); m_notecardLineReadCharsMax = m_ScriptEngine.Config.GetInt("NotecardLineReadCharsMax", 255); if (m_notecardLineReadCharsMax > 65535) m_notecardLineReadCharsMax = 65535; m_TransferModule = m_ScriptEngine.World.RequestModuleInterface<IMessageTransferModule>(); m_UrlModule = m_ScriptEngine.World.RequestModuleInterface<IUrlModule>(); if (m_UrlModule != null) { m_ScriptEngine.OnScriptRemoved += m_UrlModule.ScriptRemoved; m_ScriptEngine.OnObjectRemoved += m_UrlModule.ObjectRemoved; } AsyncCommands = new AsyncCommandManager(ScriptEngine); }
public new void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, uint localID, UUID itemID) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; m_itemID = itemID; m_ScriptDelayFactor = m_ScriptEngine.Config.GetFloat("ScriptDelayFactor", 1.0f); m_ScriptDistanceFactor = m_ScriptEngine.Config.GetFloat("ScriptDistanceLimitFactor", 1.0f); m_MinTimerInterval = m_ScriptEngine.Config.GetFloat("MinTimerInterval", 0.5f); m_automaticLinkPermission = m_ScriptEngine.Config.GetBoolean("AutomaticLinkPermission", false); m_TransferModule = m_ScriptEngine.World.RequestModuleInterface<IMessageTransferModule>(); AsyncCommands = new AsyncCommandManager(ScriptEngine); OpenSim.Region.Framework.Interfaces.IRegionModule module = World.Modules["RexObjectsModule"]; if (module != null && module is ModrexObjects) { m_rexObjects = (ModrexObjects)module; } }
public SensorRepeat(AsyncCommandManager CmdManager) { m_CmdManager = CmdManager; maximumRange = CmdManager.m_ScriptEngine.Config.GetDouble("SensorMaxRange", 96.0d); maximumToReturn = CmdManager.m_ScriptEngine.Config.GetInt("SensorMaxResults", 16); }
public XmlRequest(AsyncCommandManager CmdManager) { m_CmdManager = CmdManager; }
public void Initialize( IScriptEngine scriptEngine, SceneObjectPart host, TaskInventoryItem item) { m_lastSayShoutCheck = DateTime.UtcNow; m_ScriptEngine = scriptEngine; m_host = host; m_item = item; m_debuggerSafe = m_ScriptEngine.Config.GetBoolean("DebuggerSafe", false); LoadConfig(); m_TransferModule = m_ScriptEngine.World.RequestModuleInterface<IMessageTransferModule>(); m_UrlModule = m_ScriptEngine.World.RequestModuleInterface<IUrlModule>(); m_SoundModule = m_ScriptEngine.World.RequestModuleInterface<ISoundModule>(); AsyncCommands = new AsyncCommandManager(m_ScriptEngine); }
public Listener(AsyncCommandManager CmdManager) { m_CmdManager = CmdManager; }
public Listener(AsyncCommandManager CmdManager) { m_CmdManager = CmdManager; m_commsPlugin = m_CmdManager.m_ScriptEngine.World.RequestModuleInterface<IWorldComm>(); }
public Dataserver(AsyncCommandManager CmdManager) { m_CmdManager = CmdManager; }