Update svn properties.

0.6.0-stable
Jeff Ames 2008-07-11 09:18:17 +00:00
parent 130d8047a2
commit 3b9cf65234
16 changed files with 442 additions and 442 deletions

View File

@ -1,21 +1,21 @@
using System; using System;
using libsecondlife; using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class AgentUpdateArgs : EventArgs public class AgentUpdateArgs : EventArgs
{ {
public LLUUID AgentID; public LLUUID AgentID;
public LLQuaternion BodyRotation; public LLQuaternion BodyRotation;
public LLVector3 CameraAtAxis; public LLVector3 CameraAtAxis;
public LLVector3 CameraCenter; public LLVector3 CameraCenter;
public LLVector3 CameraLeftAxis; public LLVector3 CameraLeftAxis;
public LLVector3 CameraUpAxis; public LLVector3 CameraUpAxis;
public uint ControlFlags; public uint ControlFlags;
public float Far; public float Far;
public byte Flags; public byte Flags;
public LLQuaternion HeadRotation; public LLQuaternion HeadRotation;
public LLUUID SessionID; public LLUUID SessionID;
public byte State; public byte State;
} }
} }

View File

@ -1,11 +1,11 @@
using System; using System;
using libsecondlife; using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class AvatarPickerReplyAgentDataArgs : EventArgs public class AvatarPickerReplyAgentDataArgs : EventArgs
{ {
public LLUUID AgentID; public LLUUID AgentID;
public LLUUID QueryID; public LLUUID QueryID;
} }
} }

View File

@ -1,12 +1,12 @@
using System; using System;
using libsecondlife; using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class AvatarPickerReplyDataArgs : EventArgs public class AvatarPickerReplyDataArgs : EventArgs
{ {
public LLUUID AvatarID; public LLUUID AvatarID;
public byte[] FirstName; public byte[] FirstName;
public byte[] LastName; public byte[] LastName;
} }
} }

View File

@ -1,36 +1,36 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using libsecondlife; using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class AvatarWearingArgs : EventArgs public class AvatarWearingArgs : EventArgs
{ {
private List<Wearable> m_nowWearing = new List<Wearable>(); private List<Wearable> m_nowWearing = new List<Wearable>();
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public List<Wearable> NowWearing public List<Wearable> NowWearing
{ {
get { return m_nowWearing; } get { return m_nowWearing; }
set { m_nowWearing = value; } set { m_nowWearing = value; }
} }
#region Nested type: Wearable #region Nested type: Wearable
public class Wearable public class Wearable
{ {
public LLUUID ItemID = new LLUUID("00000000-0000-0000-0000-000000000000"); public LLUUID ItemID = new LLUUID("00000000-0000-0000-0000-000000000000");
public byte Type = 0; public byte Type = 0;
public Wearable(LLUUID itemId, byte type) public Wearable(LLUUID itemId, byte type)
{ {
ItemID = itemId; ItemID = itemId;
Type = type; Type = type;
} }
} }
#endregion #endregion
} }
} }

View File

@ -1,118 +1,118 @@
using System; using System;
using libsecondlife; using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public interface IEventArgs public interface IEventArgs
{ {
IScene Scene { get; set; } IScene Scene { get; set; }
IClientAPI Sender { get; set; } IClientAPI Sender { get; set; }
} }
/// <summary> /// <summary>
/// ChatFromViewer Arguments /// ChatFromViewer Arguments
/// </summary> /// </summary>
public class ChatFromViewerArgs : EventArgs, IEventArgs public class ChatFromViewerArgs : EventArgs, IEventArgs
{ {
protected int m_channel; protected int m_channel;
protected string m_from; protected string m_from;
protected string m_message; protected string m_message;
protected LLVector3 m_position; protected LLVector3 m_position;
protected IScene m_scene; protected IScene m_scene;
protected IClientAPI m_sender; protected IClientAPI m_sender;
protected object m_senderObject; protected object m_senderObject;
protected ChatTypeEnum m_type; protected ChatTypeEnum m_type;
protected LLUUID m_fromID; protected LLUUID m_fromID;
public ChatFromViewerArgs() public ChatFromViewerArgs()
{ {
m_position = new LLVector3(); m_position = new LLVector3();
} }
/// <summary> /// <summary>
/// The message sent by the user /// The message sent by the user
/// </summary> /// </summary>
public string Message public string Message
{ {
get { return m_message; } get { return m_message; }
set { m_message = value; } set { m_message = value; }
} }
/// <summary> /// <summary>
/// The type of message, eg say, shout, broadcast. /// The type of message, eg say, shout, broadcast.
/// </summary> /// </summary>
public ChatTypeEnum Type public ChatTypeEnum Type
{ {
get { return m_type; } get { return m_type; }
set { m_type = value; } set { m_type = value; }
} }
/// <summary> /// <summary>
/// Which channel was this message sent on? Different channels may have different listeners. Public chat is on channel zero. /// Which channel was this message sent on? Different channels may have different listeners. Public chat is on channel zero.
/// </summary> /// </summary>
public int Channel public int Channel
{ {
get { return m_channel; } get { return m_channel; }
set { m_channel = value; } set { m_channel = value; }
} }
/// <summary> /// <summary>
/// The position of the sender at the time of the message broadcast. /// The position of the sender at the time of the message broadcast.
/// </summary> /// </summary>
public LLVector3 Position public LLVector3 Position
{ {
get { return m_position; } get { return m_position; }
set { m_position = value; } set { m_position = value; }
} }
/// <summary> /// <summary>
/// The name of the sender (needed for scripts) /// The name of the sender (needed for scripts)
/// </summary> /// </summary>
public string From public string From
{ {
get { return m_from; } get { return m_from; }
set { m_from = value; } set { m_from = value; }
} }
#region IEventArgs Members #region IEventArgs Members
/// TODO: Sender and SenderObject should just be Sender and of /// TODO: Sender and SenderObject should just be Sender and of
/// type IChatSender /// type IChatSender
/// <summary> /// <summary>
/// The client responsible for sending the message, or null. /// The client responsible for sending the message, or null.
/// </summary> /// </summary>
public IClientAPI Sender public IClientAPI Sender
{ {
get { return m_sender; } get { return m_sender; }
set { m_sender = value; } set { m_sender = value; }
} }
/// <summary> /// <summary>
/// The object responsible for sending the message, or null. /// The object responsible for sending the message, or null.
/// </summary> /// </summary>
public object SenderObject public object SenderObject
{ {
get { return m_senderObject; } get { return m_senderObject; }
set { m_senderObject = value; } set { m_senderObject = value; }
} }
public LLUUID SenderUUID public LLUUID SenderUUID
{ {
get { return m_fromID; } get { return m_fromID; }
set { m_fromID = value; } set { m_fromID = value; }
} }
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public IScene Scene public IScene Scene
{ {
get { return m_scene; } get { return m_scene; }
set { m_scene = value; } set { m_scene = value; }
} }
#endregion #endregion
} }
} }

View File

@ -1,16 +1,16 @@
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public enum ChatTypeEnum public enum ChatTypeEnum
{ {
Whisper = 0, Whisper = 0,
Say = 1, Say = 1,
Shout = 2, Shout = 2,
// 3 is an obsolete version of Say // 3 is an obsolete version of Say
StartTyping = 4, StartTyping = 4,
StopTyping = 5, StopTyping = 5,
DebugChannel = 6, DebugChannel = 6,
Region = 7, Region = 7,
Owner = 8, Owner = 8,
Broadcast = 0xFF Broadcast = 0xFF
} }
} }

View File

@ -1,22 +1,22 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Net; using System.Net;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
[Serializable] [Serializable]
public class ClientInfo public class ClientInfo
{ {
public sAgentCircuitData agentcircuit; public sAgentCircuitData agentcircuit;
public Dictionary<uint, byte[]> needAck; public Dictionary<uint, byte[]> needAck;
public List<byte[]> out_packets; public List<byte[]> out_packets;
public Dictionary<uint, uint> pendingAcks; public Dictionary<uint, uint> pendingAcks;
public EndPoint proxyEP; public EndPoint proxyEP;
public uint sequence; public uint sequence;
public byte[] usecircuit; public byte[] usecircuit;
public EndPoint userEP; public EndPoint userEP;
} }
} }

View File

@ -1,26 +1,26 @@
using System; using System;
using libsecondlife; using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class LandUpdateArgs : EventArgs public class LandUpdateArgs : EventArgs
{ {
public LLUUID AuthBuyerID; public LLUUID AuthBuyerID;
public Parcel.ParcelCategory Category; public Parcel.ParcelCategory Category;
public string Desc; public string Desc;
public LLUUID GroupID; public LLUUID GroupID;
public byte LandingType; public byte LandingType;
public byte MediaAutoScale; public byte MediaAutoScale;
public LLUUID MediaID; public LLUUID MediaID;
public string MediaURL; public string MediaURL;
public string MusicURL; public string MusicURL;
public string Name; public string Name;
public uint ParcelFlags; public uint ParcelFlags;
public float PassHours; public float PassHours;
public int PassPrice; public int PassPrice;
public int SalePrice; public int SalePrice;
public LLUUID SnapshotID; public LLUUID SnapshotID;
public LLVector3 UserLocation; public LLVector3 UserLocation;
public LLVector3 UserLookAt; public LLVector3 UserLookAt;
} }
} }

View File

@ -1,23 +1,23 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public enum ParcelMediaCommandEnum public enum ParcelMediaCommandEnum
{ {
Stop = 0, Stop = 0,
Pause = 1, Pause = 1,
Play = 2, Play = 2,
Loop = 3, Loop = 3,
Texture = 4, Texture = 4,
Url = 5, Url = 5,
Time = 6, Time = 6,
Agent = 7, Agent = 7,
Unload = 8, Unload = 8,
AutoAlign = 9, AutoAlign = 9,
Type = 10, Type = 10,
Size = 11, Size = 11,
Desc = 12 Desc = 12
} }
} }

View File

@ -1,32 +1,32 @@
using System; using System;
using libsecondlife; using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class RegionHandshakeArgs : EventArgs public class RegionHandshakeArgs : EventArgs
{ {
public bool isEstateManager; public bool isEstateManager;
public float billableFactor; public float billableFactor;
public float terrainHeightRange0; public float terrainHeightRange0;
public float terrainHeightRange1; public float terrainHeightRange1;
public float terrainHeightRange2; public float terrainHeightRange2;
public float terrainHeightRange3; public float terrainHeightRange3;
public float terrainStartHeight0; public float terrainStartHeight0;
public float terrainStartHeight1; public float terrainStartHeight1;
public float terrainStartHeight2; public float terrainStartHeight2;
public float terrainStartHeight3; public float terrainStartHeight3;
public byte simAccess; public byte simAccess;
public float waterHeight; public float waterHeight;
public uint regionFlags; public uint regionFlags;
public string regionName; public string regionName;
public LLUUID SimOwner; public LLUUID SimOwner;
public LLUUID terrainBase0; public LLUUID terrainBase0;
public LLUUID terrainBase1; public LLUUID terrainBase1;
public LLUUID terrainBase2; public LLUUID terrainBase2;
public LLUUID terrainBase3; public LLUUID terrainBase3;
public LLUUID terrainDetail0; public LLUUID terrainDetail0;
public LLUUID terrainDetail1; public LLUUID terrainDetail1;
public LLUUID terrainDetail2; public LLUUID terrainDetail2;
public LLUUID terrainDetail3; public LLUUID terrainDetail3;
} }
} }

View File

@ -1,24 +1,24 @@
using System; using System;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class RegionInfoForEstateMenuArgs : EventArgs public class RegionInfoForEstateMenuArgs : EventArgs
{ {
public float billableFactor; public float billableFactor;
public uint estateID; public uint estateID;
public byte maxAgents; public byte maxAgents;
public float objectBonusFactor; public float objectBonusFactor;
public uint parentEstateID; public uint parentEstateID;
public int pricePerMeter; public int pricePerMeter;
public int redirectGridX; public int redirectGridX;
public int redirectGridY; public int redirectGridY;
public uint regionFlags; public uint regionFlags;
public byte simAccess; public byte simAccess;
public float sunHour; public float sunHour;
public float terrainLowerLimit; public float terrainLowerLimit;
public float terrainRaiseLimit; public float terrainRaiseLimit;
public bool useEstateSun; public bool useEstateSun;
public float waterHeight; public float waterHeight;
public string simName; public string simName;
} }
} }

View File

@ -1,13 +1,13 @@
using System; using System;
using libsecondlife; using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class RequestAssetArgs : EventArgs public class RequestAssetArgs : EventArgs
{ {
public int ChannelType; public int ChannelType;
public float Priority; public float Priority;
public int SourceType; public int SourceType;
public LLUUID TransferID; public LLUUID TransferID;
} }
} }

View File

@ -1,46 +1,46 @@
using System; using System;
using libsecondlife; using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class TextureRequestArgs : EventArgs public class TextureRequestArgs : EventArgs
{ {
private sbyte m_discardLevel; private sbyte m_discardLevel;
private uint m_packetNumber; private uint m_packetNumber;
private float m_priority; private float m_priority;
protected LLUUID m_requestedAssetID; protected LLUUID m_requestedAssetID;
public float Priority public float Priority
{ {
get { return m_priority; } get { return m_priority; }
set { m_priority = value; } set { m_priority = value; }
} }
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public uint PacketNumber public uint PacketNumber
{ {
get { return m_packetNumber; } get { return m_packetNumber; }
set { m_packetNumber = value; } set { m_packetNumber = value; }
} }
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public sbyte DiscardLevel public sbyte DiscardLevel
{ {
get { return m_discardLevel; } get { return m_discardLevel; }
set { m_discardLevel = value; } set { m_discardLevel = value; }
} }
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public LLUUID RequestedAssetID public LLUUID RequestedAssetID
{ {
get { return m_requestedAssetID; } get { return m_requestedAssetID; }
set { m_requestedAssetID = value; } set { m_requestedAssetID = value; }
} }
} }
} }

View File

@ -1,15 +1,15 @@
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public enum ThrottleOutPacketType : int public enum ThrottleOutPacketType : int
{ {
Resend = 0, Resend = 0,
Land = 1, Land = 1,
Wind = 2, Wind = 2,
Cloud = 3, Cloud = 3,
Task = 4, Task = 4,
Texture = 5, Texture = 5,
Asset = 6, Asset = 6,
Unknown = 7, // Also doubles as 'do not throttle' Unknown = 7, // Also doubles as 'do not throttle'
Back = 8 Back = 8
} }
} }

View File

@ -1,27 +1,27 @@
using System; using System;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class UpdateShapeArgs : EventArgs public class UpdateShapeArgs : EventArgs
{ {
public uint ObjectLocalID; public uint ObjectLocalID;
public ushort PathBegin; public ushort PathBegin;
public byte PathCurve; public byte PathCurve;
public ushort PathEnd; public ushort PathEnd;
public sbyte PathRadiusOffset; public sbyte PathRadiusOffset;
public byte PathRevolutions; public byte PathRevolutions;
public byte PathScaleX; public byte PathScaleX;
public byte PathScaleY; public byte PathScaleY;
public byte PathShearX; public byte PathShearX;
public byte PathShearY; public byte PathShearY;
public sbyte PathSkew; public sbyte PathSkew;
public sbyte PathTaperX; public sbyte PathTaperX;
public sbyte PathTaperY; public sbyte PathTaperY;
public sbyte PathTwist; public sbyte PathTwist;
public sbyte PathTwistBegin; public sbyte PathTwistBegin;
public ushort ProfileBegin; public ushort ProfileBegin;
public byte ProfileCurve; public byte ProfileCurve;
public ushort ProfileEnd; public ushort ProfileEnd;
public ushort ProfileHollow; public ushort ProfileHollow;
} }
} }

View File

@ -1,15 +1,15 @@
using System; using System;
using libsecondlife; using libsecondlife;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class ViewerEffectEventHandlerArg : EventArgs public class ViewerEffectEventHandlerArg : EventArgs
{ {
public LLUUID AgentID; public LLUUID AgentID;
public byte[] Color; public byte[] Color;
public float Duration; public float Duration;
public LLUUID ID; public LLUUID ID;
public byte Type; public byte Type;
public byte[] TypeData; public byte[] TypeData;
} }
} }