From 7db2e19500963620e59d0a319088d69faf297ac0 Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 9 Jul 2008 11:01:26 +0000 Subject: corrected the params types on IClientAPI.SendParcelMediaCommand. the command parameter should be set to the the ParcelMediaCommandEnum value. While flags seems to need to be set to (uint)(1<<[value of the command enum]) --- OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Examples') diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 0542c58..94983ee 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -771,7 +771,7 @@ namespace OpenSim.Region.Examples.SimpleModule { } - public void SendParcelMediaCommand(ParcelMediaCommandEnum flags, uint command, float time) + public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time) { } -- cgit v1.1