public void Initialize (IScriptModulePlugin ScriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module) { m_itemID = itemID; m_ScriptEngine = ScriptEngine; m_host = host; ScriptProtection = module; }
public void Initialize(IScriptModulePlugin ScriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module) { m_itemID = itemID; m_ScriptEngine = ScriptEngine; m_host = host; ScriptProtection = module; }
public void Initialize (IScriptModulePlugin ScriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module) { m_itemID = itemID; m_ScriptEngine = ScriptEngine; m_host = host; ScriptProtection = module; AssetConnector = Aurora.DataManager.DataManager.RequestPlugin<IAssetConnector>(); }
public void Initialize(IScriptModulePlugin ScriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module) { m_itemID = itemID; m_ScriptEngine = ScriptEngine; m_host = host; ScriptProtection = module; AssetConnector = Aurora.DataManager.DataManager.RequestPlugin <IAssetConnector>(); }
public void InitializeMRM(IScriptModulePlugin plugin, ScriptData data, MRMBase mmb, uint localID, UUID itemID) { IWorld world; IHost host; GetGlobalEnvironment(plugin, data, localID, out world, out host); mmb.InitMiniModule(world, host, itemID); }
public void GetGlobalEnvironment(IScriptModulePlugin plugin, ScriptData data, uint localID, out IWorld world, out IHost host) { // UUID should be changed to object owner. UUID owner = data.World.RegionInfo.EstateSettings.EstateOwner; SEUser securityUser = new SEUser(owner, "Name Unassigned"); SecurityCredential creds = new SecurityCredential(securityUser, data.World); world = new World(data.World, creds); host = new Host(new SOPObject(data.World, localID, creds), data.World, new ExtensionHandler(plugin.Extensions)); }
public void Initialize (IScriptModulePlugin ScriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; m_itemID = itemID; ScriptProtection = module; m_comms = World.RequestModuleInterface<IScriptModuleComms>(); }
public void Initialize(IScriptModulePlugin ScriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; m_itemID = itemID; ScriptProtection = module; m_comms = World.RequestModuleInterface <IScriptModuleComms>(); }
public void FinishCompile(IScriptModulePlugin plugin, ScriptData data, IScript Script) { MRMBase mmb = (MRMBase)Script; if (mmb == null) { return; } InitializeMRM(plugin, data, mmb, data.Part.LocalId, data.ItemID); mmb.Start(); }
//internal IWindLightSettingsModule m_lightShareModule; public void Initialize(IScriptModulePlugin ScriptEngine, SceneObjectPart host, uint localID, UUID itemID, ScriptProtectionModule module) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; m_itemID = itemID; ScriptProtection = module; if (m_ScriptEngine.Config.GetBoolean("AllowLightShareFunctions", false)) m_LSFunctionsEnabled = true; m_comms = World.RequestModuleInterface<IScriptModuleComms>(); if (m_comms == null) m_LSFunctionsEnabled = false; }
public void Initialize(IScriptModulePlugin ScriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; m_itemID = itemID; if (m_ScriptEngine.Config.GetBoolean("AllowOSFunctions", false)) m_OSFunctionsEnabled = true; m_ScriptDelayFactor = m_ScriptEngine.Config.GetFloat("ScriptDelayFactor", 1.0f); m_ScriptDistanceFactor = m_ScriptEngine.Config.GetFloat("ScriptDistanceLimitFactor", 1.0f); ScriptProtection = module; }
//internal IWindLightSettingsModule m_lightShareModule; public void Initialize(IScriptModulePlugin ScriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; m_itemID = itemID; ScriptProtection = module; if (m_ScriptEngine.Config.GetBoolean("AllowLightShareFunctions", false)) { m_LSFunctionsEnabled = true; } m_comms = World.RequestModuleInterface <IScriptModuleComms>(); if (m_comms == null) { m_LSFunctionsEnabled = false; } }
public void Initialize(IScriptModulePlugin ScriptEngine, SceneObjectPart host, uint localID, UUID itemID, ScriptProtectionModule module) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; m_itemID = itemID; ScriptProtection = module; 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 = World.RequestModuleInterface<IMessageTransferModule>(); m_UrlModule = World.RequestModuleInterface<IUrlModule>(); m_comms = World.RequestModuleInterface<IWorldComm>(); }
public void Initialize(IScriptModulePlugin ScriptEngine, ISceneChildEntity host, uint localID, UUID itemID, ScriptProtectionModule module) { m_ScriptEngine = ScriptEngine; m_host = host; m_localID = localID; m_itemID = itemID; ScriptProtection = module; 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_allowOpenSimParams = m_ScriptEngine.Config.GetBoolean("AllowOpenSimParamsInLLFunctions", false); m_notecardLineReadCharsMax = m_ScriptEngine.Config.GetInt("NotecardLineReadCharsMax", 255); if (m_notecardLineReadCharsMax > 65535) m_notecardLineReadCharsMax = 65535; m_TransferModule = World.RequestModuleInterface<IMessageTransferModule>(); m_UrlModule = World.RequestModuleInterface<IUrlModule>(); m_comms = World.RequestModuleInterface<IWorldComm>(); m_sleepMsOnEmail = EMAIL_PAUSE_TIME * 1000; }
public void FinishCompile(IScriptModulePlugin plugin, ScriptData data, IScript Script) { Script.SetSceneRefs(data.World, data.Part, false); }
public void FinishCompile (IScriptModulePlugin plugin, ScriptData data, IScript Script) { }
public void FinishCompile(IScriptModulePlugin plugin, ScriptData data, IScript Script) { }
public void FinishCompile(IScriptModulePlugin plugin, ScriptData data, IScript Script) { MRMBase mmb = (MRMBase) Script; if (mmb == null) return; InitializeMRM(plugin, data, mmb, data.Part.LocalId, data.ItemID); mmb.Start(); }