From 3d8219f6c7faa256d6a13ab7925f75d83af95b78 Mon Sep 17 00:00:00 2001
From: MW
Date: Mon, 29 Oct 2007 21:46:25 +0000
Subject: as per the "Filesystem cleanup for OpenSim repository" mailing list
thread. Have flattened the OpenSim.Framework project/namespace. The problem
is that the namespace is still wrong as its "OpenSim.Framework" while the
directory is "OpenSim\Framework\General" , so we need to decide if we change
the directory or correct the namespace. Note this has lead to a big flat
project, but I think a lot of the files we most likely don't even use any
longer. And others belong in other projects/namespaces anyway.
---
.../General/Interfaces/AuthenticateResponse.cs | 43 ---
.../Framework/General/Interfaces/IAssetProvider.cs | 45 ---
.../Framework/General/Interfaces/IAssetServer.cs | 71 ----
OpenSim/Framework/General/Interfaces/IClientAPI.cs | 390 ---------------------
OpenSim/Framework/General/Interfaces/IPlugin.cs | 57 ---
OpenSim/Framework/General/Interfaces/IScene.cs | 47 ---
OpenSim/Framework/General/Interfaces/IUserData.cs | 135 -------
.../Framework/General/Interfaces/IUserService.cs | 49 ---
8 files changed, 837 deletions(-)
delete mode 100644 OpenSim/Framework/General/Interfaces/AuthenticateResponse.cs
delete mode 100644 OpenSim/Framework/General/Interfaces/IAssetProvider.cs
delete mode 100644 OpenSim/Framework/General/Interfaces/IAssetServer.cs
delete mode 100644 OpenSim/Framework/General/Interfaces/IClientAPI.cs
delete mode 100644 OpenSim/Framework/General/Interfaces/IPlugin.cs
delete mode 100644 OpenSim/Framework/General/Interfaces/IScene.cs
delete mode 100644 OpenSim/Framework/General/Interfaces/IUserData.cs
delete mode 100644 OpenSim/Framework/General/Interfaces/IUserService.cs
(limited to 'OpenSim/Framework/General/Interfaces')
diff --git a/OpenSim/Framework/General/Interfaces/AuthenticateResponse.cs b/OpenSim/Framework/General/Interfaces/AuthenticateResponse.cs
deleted file mode 100644
index d4e9b42..0000000
--- a/OpenSim/Framework/General/Interfaces/AuthenticateResponse.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-* Copyright (c) Contributors, http://opensimulator.org/
-* See CONTRIBUTORS.TXT for a full list of copyright holders.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-* * Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* * Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* * Neither the name of the OpenSim Project nor the
-* names of its contributors may be used to endorse or promote products
-* derived from this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY
-* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
-* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
-using OpenSim.Framework.Types;
-
-namespace OpenSim.Framework.Interfaces
-{
- public class AuthenticateResponse
- {
- public bool Authorised;
- public Login LoginInfo;
-
- public AuthenticateResponse()
- {
-
- }
-
- }
-}
diff --git a/OpenSim/Framework/General/Interfaces/IAssetProvider.cs b/OpenSim/Framework/General/Interfaces/IAssetProvider.cs
deleted file mode 100644
index 8fcf762..0000000
--- a/OpenSim/Framework/General/Interfaces/IAssetProvider.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
-* Copyright (c) Contributors, http://opensimulator.org/
-* See CONTRIBUTORS.TXT for a full list of copyright holders.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-* * Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* * Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* * Neither the name of the OpenSim Project nor the
-* names of its contributors may be used to endorse or promote products
-* derived from this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS AS IS AND ANY
-* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
-* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-using OpenSim.Framework.Types;
-using libsecondlife;
-
-namespace OpenSim.Framework.Interfaces
-{
- public interface IAssetProvider : IPlugin
- {
- AssetBase FetchAsset(LLUUID uuid);
- void CreateAsset(AssetBase asset);
- void UpdateAsset(AssetBase asset);
- bool ExistsAsset(LLUUID uuid);
- void CommitAssets(); // force a sync to the database
- }
-}
diff --git a/OpenSim/Framework/General/Interfaces/IAssetServer.cs b/OpenSim/Framework/General/Interfaces/IAssetServer.cs
deleted file mode 100644
index 8df021e..0000000
--- a/OpenSim/Framework/General/Interfaces/IAssetServer.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
-* Copyright (c) Contributors, http://opensimulator.org/
-* See CONTRIBUTORS.TXT for a full list of copyright holders.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-* * Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* * Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* * Neither the name of the OpenSim Project nor the
-* names of its contributors may be used to endorse or promote products
-* derived from this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY
-* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
-* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
-using System;
-using System.Collections.Generic;
-using libsecondlife;
-using OpenSim.Framework.Types;
-
-namespace OpenSim.Framework.Interfaces
-{
- ///
- /// Description of IAssetServer.
- ///
-
- public interface IAssetServer
- {
- void SetReceiver(IAssetReceiver receiver);
- void FetchAsset(LLUUID assetID, bool isTexture);
- void UpdateAsset(AssetBase asset);
- void StoreAndCommitAsset(AssetBase asset);
- void Close();
- void LoadAsset(AssetBase info, bool image, string filename);
- List GetDefaultAssets();
- AssetBase CreateImageAsset(string assetIdStr, string name, string filename);
- void ForEachDefaultAsset(Action action);
- AssetBase CreateAsset(string assetIdStr, string name, string filename, bool isImage);
- void ForEachXmlAsset(Action action);
- }
-
- // could change to delegate?
- public interface IAssetReceiver
- {
- void AssetReceived(AssetBase asset, bool IsTexture);
- void AssetNotFound(LLUUID assetID);
- }
-
- public interface IAssetPlugin
- {
- IAssetServer GetAssetServer();
- }
-
- public struct ARequest
- {
- public LLUUID AssetID;
- public bool IsTexture;
- }
-}
diff --git a/OpenSim/Framework/General/Interfaces/IClientAPI.cs b/OpenSim/Framework/General/Interfaces/IClientAPI.cs
deleted file mode 100644
index 8aae3c2..0000000
--- a/OpenSim/Framework/General/Interfaces/IClientAPI.cs
+++ /dev/null
@@ -1,390 +0,0 @@
-/*
-* Copyright (c) Contributors, http://opensimulator.org/
-* See CONTRIBUTORS.TXT for a full list of copyright holders.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-* * Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* * Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* * Neither the name of the OpenSim Project nor the
-* names of its contributors may be used to endorse or promote products
-* derived from this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY
-* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
-* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
-using System;
-using System.Collections.Generic;
-using System.Net;
-using libsecondlife;
-using libsecondlife.Packets;
-using OpenSim.Framework.Types;
-
-namespace OpenSim.Framework.Interfaces
-{
- // Base Args Interface
- public interface IEventArgs
- {
- IScene Scene
- {
- get;
- set;
- }
-
- IClientAPI Sender
- {
- get;
- set;
- }
- }
-
- public delegate void ViewerEffectEventHandler(IClientAPI sender, ViewerEffectPacket.EffectBlock[] effectBlock);
-
- public delegate void ChatFromViewer(Object sender, ChatFromViewerArgs e);
-
- public enum ChatTypeEnum { Whisper = 0, Say = 1, Shout = 2, Broadcast = 0xFF };
-
- ///
- /// ChatFromViewer Arguments
- ///
- public class ChatFromViewerArgs : EventArgs, IEventArgs
- {
- protected string m_message;
- protected ChatTypeEnum m_type;
- protected int m_channel;
- protected LLVector3 m_position;
- protected string m_from;
-
- protected IClientAPI m_sender;
- protected IScene m_scene;
-
- ///
- /// The message sent by the user
- ///
- public string Message
- {
- get { return m_message; }
- set { m_message = value; }
- }
-
- ///
- /// The type of message, eg say, shout, broadcast.
- ///
- public ChatTypeEnum Type
- {
- get { return m_type; }
- set { m_type = value; }
- }
-
- ///
- /// Which channel was this message sent on? Different channels may have different listeners. Public chat is on channel zero.
- ///
- public int Channel
- {
- get { return m_channel; }
- set { m_channel = value; }
- }
-
- ///
- /// The position of the sender at the time of the message broadcast.
- ///
- public LLVector3 Position
- {
- get { return m_position; }
- set { m_position = value; }
- }
-
- ///
- /// The name of the sender (needed for scripts)
- ///
- public string From
- {
- get { return m_from; }
- set { m_from = value; }
- }
-
- ///
- /// The client responsible for sending the message, or null.
- ///
- public IClientAPI Sender
- {
- get { return m_sender; }
- set { m_sender = value; }
- }
-
- public IScene Scene
- {
- get { return m_scene; }
- set { m_scene = value; }
- }
-
- public ChatFromViewerArgs()
- {
- m_position = new LLVector3();
- }
- }
-
- public class TextureRequestArgs : EventArgs
- {
- protected LLUUID m_requestedAssetID;
- private sbyte m_discardLevel;
- private uint m_packetNumber;
-
- public uint PacketNumber
- {
- get { return m_packetNumber; }
- set { m_packetNumber = value; }
- }
-
- public sbyte DiscardLevel
- {
- get { return m_discardLevel; }
- set { m_discardLevel = value; }
- }
-
- public LLUUID RequestedAssetID
- {
- get { return m_requestedAssetID; }
- set { m_requestedAssetID = value; }
- }
- }
-
- public delegate void TextureRequest(Object sender, TextureRequestArgs e);
-
- public delegate void ImprovedInstantMessage(LLUUID fromAgentID, LLUUID fromAgentSession, LLUUID toAgentID, LLUUID imSessionID, uint timestamp, string fromAgentName, string message, byte dialog); // Cut down from full list
- public delegate void RezObject(IClientAPI remoteClient, LLUUID itemID, LLVector3 pos);
- public delegate void ModifyTerrain(float height, float seconds, byte size, byte action, float north, float west, IClientAPI remoteClient);
- public delegate void SetAppearance(byte[] texture, AgentSetAppearancePacket.VisualParamBlock[] visualParam);
- public delegate void StartAnim(IClientAPI remoteClient, LLUUID animID, int seq);
- public delegate void LinkObjects(uint parent, List children);
- public delegate void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY);
- public delegate void TeleportLocationRequest(IClientAPI remoteClient, ulong regionHandle, LLVector3 position, LLVector3 lookAt, uint flags);
- public delegate void DisconnectUser();
- public delegate void RequestAvatarProperties(IClientAPI remoteClient, LLUUID avatarID);
-
- public delegate void GenericCall(IClientAPI remoteClient);
- public delegate void GenericCall2();
- public delegate void GenericCall3(Packet packet); // really don't want to be passing packets in these events, so this is very temporary.
- public delegate void GenericCall4(Packet packet, IClientAPI remoteClient);
- public delegate void GenericCall5(IClientAPI remoteClient, bool status);
- public delegate void GenericCall6(LLUUID uid);
- public delegate void GenericCall7(uint localID, string message);
-
- public delegate void UpdateShape(uint localID, ObjectShapePacket.ObjectDataBlock shapeBlock);
- public delegate void ObjectExtraParams(uint localID, ushort type, bool inUse, byte[] data);
- public delegate void ObjectSelect(uint localID, IClientAPI remoteClient);
- public delegate void ObjectDeselect(uint localID, IClientAPI remoteClient);
- public delegate void UpdatePrimFlags(uint localID, Packet packet, IClientAPI remoteClient);
- public delegate void UpdatePrimTexture(uint localID, byte[] texture, IClientAPI remoteClient);
- public delegate void UpdateVector(uint localID, LLVector3 pos, IClientAPI remoteClient);
- public delegate void UpdatePrimRotation(uint localID, LLQuaternion rot, IClientAPI remoteClient);
- public delegate void UpdatePrimSingleRotation(uint localID, LLQuaternion rot, IClientAPI remoteClient);
- public delegate void UpdatePrimGroupRotation(uint localID,LLVector3 pos, LLQuaternion rot, IClientAPI remoteClient);
- public delegate void ObjectDuplicate(uint localID, LLVector3 offset, uint dupeFlags);
- public delegate void StatusChange(bool status);
- public delegate void NewAvatar(IClientAPI remoteClient, LLUUID agentID, bool status);
- public delegate void UpdateAgent(IClientAPI remoteClient, uint flags, LLQuaternion bodyRotation);
- public delegate void AgentRequestSit(IClientAPI remoteClient, LLUUID agentID, LLUUID targetID);
- public delegate void AgentSit(IClientAPI remoteClient, LLUUID agentID);
- public delegate void MoveObject(LLUUID objectID, LLVector3 offset, LLVector3 grapPos, IClientAPI remoteClient);
-
- public delegate void ParcelPropertiesRequest(int start_x, int start_y, int end_x, int end_y, int sequence_id, bool snap_selection, IClientAPI remote_client);
- public delegate void ParcelDivideRequest(int west, int south, int east, int north, IClientAPI remote_client);
- public delegate void ParcelJoinRequest(int west, int south, int east, int north, IClientAPI remote_client);
- public delegate void ParcelPropertiesUpdateRequest(ParcelPropertiesUpdatePacket packet, IClientAPI remote_client);
- public delegate void ParcelSelectObjects(int land_local_id, int request_type, IClientAPI remote_client);
- public delegate void ParcelObjectOwnerRequest(int local_id, IClientAPI remote_client);
- public delegate void EstateOwnerMessageRequest(EstateOwnerMessagePacket packet, IClientAPI remote_client);
-
- public delegate void UUIDNameRequest(LLUUID id, IClientAPI remote_client);
-
- public delegate void AddNewPrim(LLUUID ownerID, LLVector3 pos, PrimitiveBaseShape shape);
-
- public delegate void CreateInventoryFolder(IClientAPI remoteClient, LLUUID folderID, ushort folderType, string folderName, LLUUID parentID);
- public delegate void CreateNewInventoryItem(IClientAPI remoteClient, LLUUID transActionID, LLUUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask);
- public delegate void FetchInventoryDescendents(IClientAPI remoteClient, LLUUID folderID, LLUUID ownerID, bool fetchFolders, bool fetchItems, int sortOrder);
- public delegate void FetchInventory(IClientAPI remoteClient, LLUUID itemID, LLUUID ownerID);
- public delegate void RequestTaskInventory(IClientAPI remoteClient, uint localID);
- public delegate void UpdateInventoryItemTransaction(IClientAPI remoteClient, LLUUID transactionID, LLUUID assetID, LLUUID itemID);
- public delegate void RezScript(IClientAPI remoteClient, LLUUID itemID, uint localID);
- public delegate void UpdateTaskInventory(IClientAPI remoteClient, LLUUID itemID, LLUUID folderID, uint localID);
- public delegate void RemoveTaskInventory(IClientAPI remoteClient, LLUUID itemID, uint localID);
-
- public delegate void UDPAssetUploadRequest(IClientAPI remoteClient, LLUUID assetID, LLUUID transaction, sbyte type, byte[] data, bool storeLocal);
- public delegate void XferReceive(IClientAPI remoteClient, ulong xferID, uint packetID, byte[] data);
- public delegate void RequestXfer(IClientAPI remoteClient, ulong xferID, string fileName);
- public delegate void ConfirmXfer(IClientAPI remoteClient, ulong xferID, uint packetID);
-
- public interface IClientAPI
- {
- event ImprovedInstantMessage OnInstantMessage;
- event ChatFromViewer OnChatFromViewer;
- event TextureRequest OnRequestTexture;
- event RezObject OnRezObject;
- event ModifyTerrain OnModifyTerrain;
- event SetAppearance OnSetAppearance;
- event StartAnim OnStartAnim;
- event LinkObjects OnLinkObjects;
- event RequestMapBlocks OnRequestMapBlocks;
- event TeleportLocationRequest OnTeleportLocationRequest;
- event DisconnectUser OnDisconnectUser;
- event RequestAvatarProperties OnRequestAvatarProperties;
-
- event GenericCall4 OnDeRezObject;
- event GenericCall OnRegionHandShakeReply;
- event GenericCall OnRequestWearables;
- event GenericCall2 OnCompleteMovementToRegion;
- event UpdateAgent OnAgentUpdate;
- event AgentRequestSit OnAgentRequestSit;
- event AgentSit OnAgentSit;
- event GenericCall OnRequestAvatarsData;
- event AddNewPrim OnAddPrim;
- event ObjectDuplicate OnObjectDuplicate;
- event UpdateVector OnGrabObject;
- event ObjectSelect OnDeGrabObject;
- event MoveObject OnGrabUpdate;
-
- event UpdateShape OnUpdatePrimShape;
- event ObjectExtraParams OnUpdateExtraParams;
- event ObjectSelect OnObjectSelect;
- event ObjectDeselect OnObjectDeselect;
- event GenericCall7 OnObjectDescription;
- event GenericCall7 OnObjectName;
- event UpdatePrimFlags OnUpdatePrimFlags;
- event UpdatePrimTexture OnUpdatePrimTexture;
- event UpdateVector OnUpdatePrimGroupPosition;
- event UpdateVector OnUpdatePrimSinglePosition;
- event UpdatePrimRotation OnUpdatePrimGroupRotation;
- event UpdatePrimSingleRotation OnUpdatePrimSingleRotation;
- event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation;
- event UpdateVector OnUpdatePrimScale;
- event StatusChange OnChildAgentStatus;
- event GenericCall2 OnStopMovement;
- event GenericCall6 OnRemoveAvatar;
-
- event CreateNewInventoryItem OnCreateNewInventoryItem;
- event CreateInventoryFolder OnCreateNewInventoryFolder;
- event FetchInventoryDescendents OnFetchInventoryDescendents;
- event FetchInventory OnFetchInventory;
- event RequestTaskInventory OnRequestTaskInventory;
- event UpdateInventoryItemTransaction OnUpdateInventoryItem;
- event UDPAssetUploadRequest OnAssetUploadRequest;
- event XferReceive OnXferReceive;
- event RequestXfer OnRequestXfer;
- event ConfirmXfer OnConfirmXfer;
- event RezScript OnRezScript;
- event UpdateTaskInventory OnUpdateTaskInventory;
- event RemoveTaskInventory OnRemoveTaskItem;
-
- event UUIDNameRequest OnNameFromUUIDRequest;
-
- event ParcelPropertiesRequest OnParcelPropertiesRequest;
- event ParcelDivideRequest OnParcelDivideRequest;
- event ParcelJoinRequest OnParcelJoinRequest;
- event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest;
- event ParcelSelectObjects OnParcelSelectObjects;
- event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest;
- event EstateOwnerMessageRequest OnEstateOwnerMessage;
-
- LLVector3 StartPos
- {
- get;
- set;
- }
-
- LLUUID AgentId
- {
- get;
- }
-
- LLUUID SessionId
- {
- get;
- }
-
- string FirstName
- {
- get;
- }
-
- string LastName
- {
- get;
- }
-
- uint CircuitCode
- {
- get;
- set;
- }
-
- void OutPacket(Packet newPack);
- void SendWearables(AvatarWearable[] wearables);
- void SendAppearance(LLUUID agentID, byte[] visualParams, byte[] textureEntry);
- void SendStartPingCheck(byte seq);
- void SendKillObject(ulong regionHandle, uint localID);
- void SendAnimation(LLUUID animID, int seq, LLUUID sourceAgentId);
- void SendRegionHandshake(RegionInfo regionInfo);
- void SendChatMessage(string message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID);
- void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID);
- void SendInstantMessage(LLUUID fromAgent, LLUUID fromAgentSession, string message, LLUUID toAgent, LLUUID imSessionID, string fromName, byte dialog, uint timeStamp);
- void SendLayerData(float[] map);
- void SendLayerData(int px, int py, float[] map);
- void MoveAgentIntoRegion(RegionInfo regInfo, LLVector3 pos, LLVector3 look);
- void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint );
- AgentCircuitData RequestClientInfo();
- void CrossRegion(ulong newRegionHandle, LLVector3 pos, LLVector3 lookAt, IPEndPoint newRegionExternalEndPoint, string capsURL );
- void SendMapBlock(List mapBlocks);
- void SendLocalTeleport(LLVector3 position, LLVector3 lookAt, uint flags);
- void SendRegionTeleport(ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint, uint locationID, uint flags, string capsURL);
- void SendTeleportCancel();
- void SendTeleportLocationStart();
- void SendMoneyBalance(LLUUID transaction, bool success, byte[] description, int balance);
-
- void SendAvatarData(ulong regionHandle, string firstName, string lastName, LLUUID avatarID, uint avatarLocalID, LLVector3 Pos, byte[] textureEntry, uint parentID);
- void SendAvatarTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position, LLVector3 velocity, LLQuaternion rotation);
- void SendCoarseLocationUpdate(List CoarseLocations);
-
- void AttachObject(uint localID, LLQuaternion rotation, byte attachPoint);
- void SendPrimitiveToClient(ulong regionHandle, ushort timeDilation, uint localID, PrimitiveBaseShape primShape, LLVector3 pos, uint flags, LLUUID objectID, LLUUID ownerID, string text, uint parentID, byte[] particleSystem, LLQuaternion rotation);
- void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position, LLQuaternion rotation);
-
- void SendInventoryFolderDetails(LLUUID ownerID, LLUUID folderID, List items);
- void SendInventoryItemDetails(LLUUID ownerID, InventoryItemBase item);
- void SendInventoryItemUpdate(InventoryItemBase Item);
- void SendRemoveInventoryItem(LLUUID itemID);
- void SendTaskInventory(LLUUID taskID, short serial, byte[] fileName);
- void SendXferPacket(ulong xferID, uint packet, byte[] data);
-
- void SendPreLoadSound(LLUUID objectID, LLUUID ownerID, LLUUID soundID);
- void SendPlayAttachedSound(LLUUID soundID, LLUUID objectID, LLUUID ownerID, float gain, byte flags);
-
- void SendNameReply(LLUUID profileId, string firstname, string lastname);
- void SendAlertMessage(string message);
- void SendAgentAlertMessage(string message, bool modal);
- void SendLoadURL(string objectname, LLUUID objectID, LLUUID ownerID, bool groupOwned, string message, string url);
- bool AddMoney( int debit );
-
- void SendViewerTime(int phase);
- void SendAvatarProperties(LLUUID avatarID, string aboutText, string bornOn, string charterMember, string flAbout, uint flags, LLUUID flImageID, LLUUID imageID, string profileURL, LLUUID partnerID);
- void SetDebug(int newDebug);
- void InPacket(Packet NewPack);
- void Close();
- event ViewerEffectEventHandler OnViewerEffect;
- event Action OnLogout;
- event Action OnConnectionClosed;
- void SendLogoutPacket();
- }
-}
diff --git a/OpenSim/Framework/General/Interfaces/IPlugin.cs b/OpenSim/Framework/General/Interfaces/IPlugin.cs
deleted file mode 100644
index efd94c9..0000000
--- a/OpenSim/Framework/General/Interfaces/IPlugin.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-* Copyright (c) Contributors, http://opensimulator.org/
-* See CONTRIBUTORS.TXT for a full list of copyright holders.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-* * Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* * Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* * Neither the name of the OpenSim Project nor the
-* names of its contributors may be used to endorse or promote products
-* derived from this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS AS IS AND ANY
-* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
-* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
-
-using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace OpenSim.Framework.Interfaces
-{
- ///
- /// This interface, describes a generic plugin
- ///
- public interface IPlugin
- {
- ///
- /// Returns the plugin version
- ///
- /// Plugin version in MAJOR.MINOR.REVISION.BUILD format
- string Version { get; }
-
- ///
- /// Returns the plugin name
- ///
- /// Plugin name, eg MySQL User Provider
- string Name { get; }
-
- ///
- /// Initialises the plugin (artificial constructor)
- ///
- void Initialise();
- }
-}
diff --git a/OpenSim/Framework/General/Interfaces/IScene.cs b/OpenSim/Framework/General/Interfaces/IScene.cs
deleted file mode 100644
index e3e65f1..0000000
--- a/OpenSim/Framework/General/Interfaces/IScene.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-* Copyright (c) Contributors, http://opensimulator.org/
-* See CONTRIBUTORS.TXT for a full list of copyright holders.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-* * Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* * Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* * Neither the name of the OpenSim Project nor the
-* names of its contributors may be used to endorse or promote products
-* derived from this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY
-* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
-* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
-using libsecondlife;
-using OpenSim.Framework.Types;
-
-namespace OpenSim.Framework.Interfaces
-{
- public interface IScene
- {
- void AddNewClient(IClientAPI client, bool child);
- void RemoveClient(LLUUID agentID);
-
- RegionInfo RegionInfo { get; }
- object SyncRoot { get; }
- uint NextLocalId { get; }
-
- ClientManager ClientManager
- {
- get;
- }
- }
-}
diff --git a/OpenSim/Framework/General/Interfaces/IUserData.cs b/OpenSim/Framework/General/Interfaces/IUserData.cs
deleted file mode 100644
index bb3abe0..0000000
--- a/OpenSim/Framework/General/Interfaces/IUserData.cs
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
-* Copyright (c) Contributors, http://opensimulator.org/
-* See CONTRIBUTORS.TXT for a full list of copyright holders.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-* * Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* * Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* * Neither the name of the OpenSim Project nor the
-* names of its contributors may be used to endorse or promote products
-* derived from this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY
-* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
-* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
-using libsecondlife;
-using OpenSim.Framework.Types;
-
-namespace OpenSim.Framework.Data
-{
- ///
- /// An interface for connecting to user storage servers.
- ///
- public interface IUserData
- {
- ///
- /// Returns a user profile from a database via their UUID
- ///
- /// The accounts UUID
- /// The user data profile
- UserProfileData GetUserByUUID(LLUUID user);
-
- ///
- /// Returns a users profile by searching their username
- ///
- /// The users username
- /// The user data profile
- UserProfileData GetUserByName(string name);
-
- ///
- /// Returns a users profile by searching their username parts
- ///
- /// Account firstname
- /// Account lastname
- /// The user data profile
- UserProfileData GetUserByName(string fname, string lname);
-
- ///
- /// Returns the current agent for a user searching by it's UUID
- ///
- /// The users UUID
- /// The current agent session
- UserAgentData GetAgentByUUID(LLUUID user);
-
- ///
- /// Returns the current session agent for a user searching by username
- ///
- /// The users account name
- /// The current agent session
- UserAgentData GetAgentByName(string name);
-
- ///
- /// Returns the current session agent for a user searching by username parts
- ///
- /// The users first account name
- /// The users account surname
- /// The current agent session
- UserAgentData GetAgentByName(string fname, string lname);
-
- ///
- /// Adds a new User profile to the database
- ///
- /// UserProfile to add
- void AddNewUserProfile(UserProfileData user);
-
- ///
- /// Updates an existing user profile
- ///
- /// UserProfile to update
- bool UpdateUserProfile(UserProfileData user);
-
- ///
- /// Adds a new agent to the database
- ///
- /// The agent to add
- void AddNewUserAgent(UserAgentData agent);
-
- ///
- /// Attempts to move currency units between accounts (NOT RELIABLE / TRUSTWORTHY. DONT TRY RUN YOUR OWN CURRENCY EXCHANGE WITH REAL VALUES)
- ///
- /// The account to transfer from
- /// The account to transfer to
- /// The amount to transfer
- /// Successful?
- bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount);
-
- ///
- /// Attempts to move inventory between accounts, if inventory is copyable it will be copied into the target account.
- ///
- /// User to transfer from
- /// User to transfer to
- /// Specified inventory item
- /// Successful?
- bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory);
-
- ///
- /// Returns the plugin version
- ///
- /// Plugin version in MAJOR.MINOR.REVISION.BUILD format
- string GetVersion();
-
- ///
- /// Returns the plugin name
- ///
- /// Plugin name, eg MySQL User Provider
- string getName();
-
- ///
- /// Initialises the plugin (artificial constructor)
- ///
- void Initialise();
- }
-}
diff --git a/OpenSim/Framework/General/Interfaces/IUserService.cs b/OpenSim/Framework/General/Interfaces/IUserService.cs
deleted file mode 100644
index f8c76af..0000000
--- a/OpenSim/Framework/General/Interfaces/IUserService.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-* Copyright (c) Contributors, http://opensimulator.org/
-* See CONTRIBUTORS.TXT for a full list of copyright holders.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-* * Redistributions of source code must retain the above copyright
-* notice, this list of conditions and the following disclaimer.
-* * Redistributions in binary form must reproduce the above copyright
-* notice, this list of conditions and the following disclaimer in the
-* documentation and/or other materials provided with the distribution.
-* * Neither the name of the OpenSim Project nor the
-* names of its contributors may be used to endorse or promote products
-* derived from this software without specific prior written permission.
-*
-* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY
-* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
-* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-*
-*/
-using libsecondlife;
-using OpenSim.Framework.Types;
-
-namespace OpenSim.Framework.Interfaces
-{
- public interface IUserService
- {
- UserProfileData GetUserProfile(string firstName, string lastName);
- UserProfileData GetUserProfile(string name);
- UserProfileData GetUserProfile(LLUUID userId);
- void clearUserAgent(LLUUID avatarID);
-
- UserProfileData SetupMasterUser(string firstName, string lastName);
- UserProfileData SetupMasterUser(string firstName, string lastName, string password);
-
- ///
- ///
- ///
- ///
- void AddUserProfile(string firstName, string lastName, string pass, uint regX, uint regY);
- }
-}
\ No newline at end of file
--
cgit v1.1