Change the signature of SendChangeUserRights, because we have to send

this to both parties
slimupdates
Melanie 2010-02-28 22:56:31 +00:00
parent 44e7224b86
commit 86c621fdc7
9 changed files with 10 additions and 10 deletions

View File

@ -1707,7 +1707,7 @@ namespace OpenSim.Client.MXP.ClientStack
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights) public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
{ {
} }
} }

View File

@ -1195,7 +1195,7 @@ namespace OpenSim.Client.Sirikata.ClientStack
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights) public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
{ {
} }

View File

@ -1211,7 +1211,7 @@ namespace OpenSim.Client.VWoHTTP.ClientStack
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights) public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
{ {
} }
} }

View File

@ -1478,6 +1478,6 @@ namespace OpenSim.Framework
void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt); void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt);
void SendChangeUserRights(UUID friendID, int rights); void SendChangeUserRights(UUID agentID, UUID friendID, int rights);
} }
} }

View File

@ -11606,12 +11606,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
OutPacket(packet, ThrottleOutPacketType.Task); OutPacket(packet, ThrottleOutPacketType.Task);
} }
public void SendChangeUserRights(UUID friendID, int rights) public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
{ {
ChangeUserRightsPacket packet = (ChangeUserRightsPacket)PacketPool.Instance.GetPacket(PacketType.ChangeUserRights); ChangeUserRightsPacket packet = (ChangeUserRightsPacket)PacketPool.Instance.GetPacket(PacketType.ChangeUserRights);
packet.AgentData = new ChangeUserRightsPacket.AgentDataBlock(); packet.AgentData = new ChangeUserRightsPacket.AgentDataBlock();
packet.AgentData.AgentID = AgentId; packet.AgentData.AgentID = agentID;
packet.Rights = new ChangeUserRightsPacket.RightsBlock[1]; packet.Rights = new ChangeUserRightsPacket.RightsBlock[1];
packet.Rights[0] = new ChangeUserRightsPacket.RightsBlock(); packet.Rights[0] = new ChangeUserRightsPacket.RightsBlock();

View File

@ -1150,7 +1150,7 @@ namespace OpenSim.Region.Examples.SimpleModule
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights) public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
{ {
} }
} }

View File

@ -1676,7 +1676,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights) public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
{ {
} }
} }

View File

@ -1156,7 +1156,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights) public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
{ {
} }
} }

View File

@ -1210,7 +1210,7 @@ namespace OpenSim.Tests.Common.Mock
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights) public void SendChangeUserRights(UUID agentID, UUID friendID, int rights)
{ {
} }
} }