mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* Added experimental SendParcelMediaCommand and SendParcelMediaUpdate to IClientAPI. These methods have not been tested, but feel free to start wiring them to llParcelMediaCommandList.
This commit is contained in:
@@ -640,6 +640,16 @@ namespace OpenSim.Framework
|
||||
void SendLandObjectOwners(Dictionary<LLUUID, int> ownersAndCount);
|
||||
void SendLandParcelOverlay(byte[] data, int sequence_id);
|
||||
|
||||
#region Parcel Methods
|
||||
|
||||
void SendParcelMediaCommand(ParcelMediaCommandEnum flags, uint command, float time);
|
||||
|
||||
void SendParcelMediaUpdate(string mediaUrl, LLUUID mediaTextureID,
|
||||
byte autoScale, string mediaType, string mediaDesc, int mediaWidth, int mediaHeight,
|
||||
byte mediaLoop);
|
||||
|
||||
#endregion
|
||||
|
||||
void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, LLUUID AssetFullID);
|
||||
void SendConfirmXfer(ulong xferID, uint PacketID);
|
||||
void SendXferRequest(ulong XferID, short AssetType, LLUUID vFileID, byte FilePath, byte[] FileName);
|
||||
|
||||
23
OpenSim/Framework/ParcelMediaCommandEnum.cs
Normal file
23
OpenSim/Framework/ParcelMediaCommandEnum.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenSim.Framework
|
||||
{
|
||||
public enum ParcelMediaCommandEnum
|
||||
{
|
||||
Stop = 0,
|
||||
Pause = 1,
|
||||
Play = 2,
|
||||
Loop = 3,
|
||||
Texture = 4,
|
||||
Url = 5,
|
||||
Time = 6,
|
||||
Agent = 7,
|
||||
Unload = 8,
|
||||
AutoAlign = 9,
|
||||
Type = 10,
|
||||
Size = 11,
|
||||
Desc = 12
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user