diff options
Diffstat (limited to 'OpenSim/Framework/General/Interfaces')
-rw-r--r-- | OpenSim/Framework/General/Interfaces/IClientAPI.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/OpenSim/Framework/General/Interfaces/IClientAPI.cs b/OpenSim/Framework/General/Interfaces/IClientAPI.cs index 7cb18e5..8aae3c2 100644 --- a/OpenSim/Framework/General/Interfaces/IClientAPI.cs +++ b/OpenSim/Framework/General/Interfaces/IClientAPI.cs | |||
@@ -136,6 +136,33 @@ namespace OpenSim.Framework.Interfaces | |||
136 | } | 136 | } |
137 | } | 137 | } |
138 | 138 | ||
139 | public class TextureRequestArgs : EventArgs | ||
140 | { | ||
141 | protected LLUUID m_requestedAssetID; | ||
142 | private sbyte m_discardLevel; | ||
143 | private uint m_packetNumber; | ||
144 | |||
145 | public uint PacketNumber | ||
146 | { | ||
147 | get { return m_packetNumber; } | ||
148 | set { m_packetNumber = value; } | ||
149 | } | ||
150 | |||
151 | public sbyte DiscardLevel | ||
152 | { | ||
153 | get { return m_discardLevel; } | ||
154 | set { m_discardLevel = value; } | ||
155 | } | ||
156 | |||
157 | public LLUUID RequestedAssetID | ||
158 | { | ||
159 | get { return m_requestedAssetID; } | ||
160 | set { m_requestedAssetID = value; } | ||
161 | } | ||
162 | } | ||
163 | |||
164 | public delegate void TextureRequest(Object sender, TextureRequestArgs e); | ||
165 | |||
139 | 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 | 166 | 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 |
140 | public delegate void RezObject(IClientAPI remoteClient, LLUUID itemID, LLVector3 pos); | 167 | public delegate void RezObject(IClientAPI remoteClient, LLUUID itemID, LLVector3 pos); |
141 | public delegate void ModifyTerrain(float height, float seconds, byte size, byte action, float north, float west, IClientAPI remoteClient); | 168 | public delegate void ModifyTerrain(float height, float seconds, byte size, byte action, float north, float west, IClientAPI remoteClient); |
@@ -204,6 +231,7 @@ namespace OpenSim.Framework.Interfaces | |||
204 | { | 231 | { |
205 | event ImprovedInstantMessage OnInstantMessage; | 232 | event ImprovedInstantMessage OnInstantMessage; |
206 | event ChatFromViewer OnChatFromViewer; | 233 | event ChatFromViewer OnChatFromViewer; |
234 | event TextureRequest OnRequestTexture; | ||
207 | event RezObject OnRezObject; | 235 | event RezObject OnRezObject; |
208 | event ModifyTerrain OnModifyTerrain; | 236 | event ModifyTerrain OnModifyTerrain; |
209 | event SetAppearance OnSetAppearance; | 237 | event SetAppearance OnSetAppearance; |