mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
number of changes
This commit is contained in:
@@ -237,15 +237,4 @@ namespace OpenSim.Framework.Inventory
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
public class AvatarWearable
|
||||
{
|
||||
public LLUUID AssetID = new LLUUID("00000000-0000-0000-0000-000000000000");
|
||||
public LLUUID ItemID = new LLUUID("00000000-0000-0000-0000-000000000000");
|
||||
|
||||
public AvatarWearable()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,8 @@ namespace OpenSim.Framework.Interfaces
|
||||
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 UpdateShape(uint localID, ObjectShapePacket.ObjectDataBlock shapeBlock);
|
||||
public delegate void ObjectSelect(uint localID, IClientAPI remoteClient);
|
||||
public delegate void UpdatePrimFlags(uint localID, Packet packet, IClientAPI remoteClient);
|
||||
@@ -25,6 +27,7 @@ namespace OpenSim.Framework.Interfaces
|
||||
public delegate void UpdatePrimVector(uint localID, LLVector3 pos, IClientAPI remoteClient);
|
||||
public delegate void UpdatePrimRotation(uint localID, LLQuaternion rot, IClientAPI remoteClient);
|
||||
public delegate void StatusChange(bool status);
|
||||
public delegate void NewAvatar(IClientAPI remoteClient, LLUUID agentID, bool status);
|
||||
|
||||
public interface IClientAPI
|
||||
{
|
||||
@@ -50,6 +53,8 @@ namespace OpenSim.Framework.Interfaces
|
||||
event UpdatePrimVector OnUpdatePrimScale;
|
||||
event StatusChange OnChildAgentStatus;
|
||||
event GenericCall2 OnStopMovement;
|
||||
event NewAvatar OnNewAvatar;
|
||||
event GenericCall6 OnRemoveAvatar;
|
||||
|
||||
LLVector3 StartPos
|
||||
{
|
||||
@@ -63,7 +68,7 @@ namespace OpenSim.Framework.Interfaces
|
||||
}
|
||||
|
||||
void OutPacket(Packet newPack);
|
||||
void SendAppearance(AvatarWearable[] wearables);
|
||||
void SendWearables(AvatarWearable[] wearables);
|
||||
void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace OpenSim.Framework.Interfaces
|
||||
{
|
||||
public interface IWorld
|
||||
{
|
||||
bool AddNewAvatar(IClientAPI remoteClient, bool childAgent);
|
||||
bool RemoveAvatar(LLUUID agentID);
|
||||
void AddNewAvatar(IClientAPI remoteClient, LLUUID agentID, bool child);
|
||||
void RemoveAvatar(LLUUID agentID);
|
||||
RegionInfo GetRegionInfo();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,6 +110,7 @@
|
||||
</Compile>
|
||||
<Compile Include="SimProfile.cs" />
|
||||
<Compile Include="SimProfileBase.cs" />
|
||||
<Compile Include="Types\AgentWearable.cs" />
|
||||
<Compile Include="Types\NetworkServersInfo.cs" />
|
||||
<Compile Include="UserProfile.cs">
|
||||
<SubType>Code</SubType>
|
||||
|
||||
18
Common/OpenSim.Framework/Types/AgentWearable.cs
Normal file
18
Common/OpenSim.Framework/Types/AgentWearable.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using libsecondlife;
|
||||
|
||||
namespace OpenSim.Framework.Types
|
||||
{
|
||||
public class AvatarWearable
|
||||
{
|
||||
public LLUUID AssetID = new LLUUID("00000000-0000-0000-0000-000000000000");
|
||||
public LLUUID ItemID = new LLUUID("00000000-0000-0000-0000-000000000000");
|
||||
|
||||
public AvatarWearable()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user