From 2a0a8c43efc74d43ad75942a730d151d1aebb439 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 7 Aug 2007 16:37:08 +0000 Subject: * Removed duplicated Script residue --- .../Region/Scripting/Properties/AssemblyInfo.cs | 35 ---------------------- OpenSim/Region/Scripting/Script.cs | 32 -------------------- OpenSim/Region/Scripting/ScriptAccess.cs | 31 ------------------- 3 files changed, 98 deletions(-) delete mode 100644 OpenSim/Region/Scripting/Properties/AssemblyInfo.cs delete mode 100644 OpenSim/Region/Scripting/Script.cs delete mode 100644 OpenSim/Region/Scripting/ScriptAccess.cs (limited to 'OpenSim') diff --git a/OpenSim/Region/Scripting/Properties/AssemblyInfo.cs b/OpenSim/Region/Scripting/Properties/AssemblyInfo.cs deleted file mode 100644 index d6debed..0000000 --- a/OpenSim/Region/Scripting/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("OpenSim.Scripting")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("OpenSim.Scripting")] -[assembly: AssemblyCopyright("Copyright © 2007")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("61eae1ad-82aa-4c77-8bc5-b5a8c9522b18")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/OpenSim/Region/Scripting/Script.cs b/OpenSim/Region/Scripting/Script.cs deleted file mode 100644 index 0551ea0..0000000 --- a/OpenSim/Region/Scripting/Script.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -using OpenSim.Framework.Console; -using OpenSim.Framework; -using OpenSim.Region; -using OpenSim.Region.Scenes; - -namespace OpenSim.Scripting -{ - public interface IScript - { - void Initialise(ScriptInfo scriptInfo); - } - - public class TestScript : IScript - { - ScriptInfo script; - - public void Initialise(ScriptInfo scriptInfo) - { - script = scriptInfo; - script.events.OnFrame += new OpenSim.Region.Scenes.EventManager.OnFrameDelegate(events_OnFrame); - } - - void events_OnFrame() - { - script.logger.Verbose("Hello World!"); - } - } -} diff --git a/OpenSim/Region/Scripting/ScriptAccess.cs b/OpenSim/Region/Scripting/ScriptAccess.cs deleted file mode 100644 index ce814a4..0000000 --- a/OpenSim/Region/Scripting/ScriptAccess.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -using OpenSim.Region.Scenes; -using OpenSim.Framework.Console; - -namespace OpenSim.Scripting -{ - /// - /// Class which provides access to the world - /// - public class ScriptInfo - { - // Reference to world.eventsManager provided for convenience - public EventManager events; - - // The main world - public Scene world; - - // The console - public LogBase logger; - - public ScriptInfo(Scene scene) - { - world = scene; - events = world.eventManager; - logger = OpenSim.Framework.Console.MainLog.Instance; - } - } -} -- cgit v1.1