Add missing ChangeUserRights packet sender

slimupdates
Melanie 2010-02-28 22:47:31 +00:00
parent 5c5966545d
commit 44e7224b86
9 changed files with 44 additions and 0 deletions

View File

@ -1706,5 +1706,9 @@ namespace OpenSim.Client.MXP.ClientStack
public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights)
{
}
} }
} }

View File

@ -1195,6 +1195,10 @@ namespace OpenSim.Client.Sirikata.ClientStack
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights)
{
}
#endregion #endregion
} }
} }

View File

@ -1210,5 +1210,9 @@ namespace OpenSim.Client.VWoHTTP.ClientStack
public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights)
{
}
} }
} }

View File

@ -1478,5 +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);
} }
} }

View File

@ -11605,5 +11605,20 @@ namespace OpenSim.Region.ClientStack.LindenUDP
packet.PropertiesData.LanguagesText = Utils.StringToBytes(languages); packet.PropertiesData.LanguagesText = Utils.StringToBytes(languages);
OutPacket(packet, ThrottleOutPacketType.Task); OutPacket(packet, ThrottleOutPacketType.Task);
} }
public void SendChangeUserRights(UUID friendID, int rights)
{
ChangeUserRightsPacket packet = (ChangeUserRightsPacket)PacketPool.Instance.GetPacket(PacketType.ChangeUserRights);
packet.AgentData = new ChangeUserRightsPacket.AgentDataBlock();
packet.AgentData.AgentID = AgentId;
packet.Rights = new ChangeUserRightsPacket.RightsBlock[1];
packet.Rights[0] = new ChangeUserRightsPacket.RightsBlock();
packet.Rights[0].AgentRelated = friendID;
packet.Rights[0].RelatedRights = rights;
OutPacket(packet, ThrottleOutPacketType.Task);
}
} }
} }

View File

@ -1149,5 +1149,9 @@ namespace OpenSim.Region.Examples.SimpleModule
public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights)
{
}
} }
} }

View File

@ -1675,5 +1675,9 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights)
{
}
} }
} }

View File

@ -1155,5 +1155,9 @@ namespace OpenSim.Region.OptionalModules.World.NPC
public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights)
{
}
} }
} }

View File

@ -1209,5 +1209,9 @@ namespace OpenSim.Tests.Common.Mock
public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
{ {
} }
public void SendChangeUserRights(UUID friendID, int rights)
{
}
} }
} }