diff options
author | Justin Clark-Casey (justincc) | 2012-03-29 18:31:57 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-29 18:31:57 +0100 |
commit | bf09d6a22be5f8e7a2584eaa11ccbc1c61cc6753 (patch) | |
tree | 3f5c8a55d95c539fc8a4887465a1c601b32a0b44 /OpenSim/Framework | |
parent | Add simple regression test for logging in with offline friends. Don't expect... (diff) | |
download | opensim-SC_OLD-bf09d6a22be5f8e7a2584eaa11ccbc1c61cc6753.zip opensim-SC_OLD-bf09d6a22be5f8e7a2584eaa11ccbc1c61cc6753.tar.gz opensim-SC_OLD-bf09d6a22be5f8e7a2584eaa11ccbc1c61cc6753.tar.bz2 opensim-SC_OLD-bf09d6a22be5f8e7a2584eaa11ccbc1c61cc6753.tar.xz |
refactor: Stop passing both IClientAPI and agentID to friend event listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 1e36b06..869b069 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -296,9 +296,9 @@ namespace OpenSim.Framework | |||
296 | public delegate void ConfirmXfer(IClientAPI remoteClient, ulong xferID, uint packetID); | 296 | public delegate void ConfirmXfer(IClientAPI remoteClient, ulong xferID, uint packetID); |
297 | 297 | ||
298 | public delegate void FriendActionDelegate( | 298 | public delegate void FriendActionDelegate( |
299 | IClientAPI remoteClient, UUID agentID, UUID transactionID, List<UUID> callingCardFolders); | 299 | IClientAPI remoteClient, UUID transactionID, List<UUID> callingCardFolders); |
300 | 300 | ||
301 | public delegate void FriendshipTermination(IClientAPI remoteClient, UUID agentID, UUID ExID); | 301 | public delegate void FriendshipTermination(IClientAPI remoteClient, UUID ExID); |
302 | 302 | ||
303 | public delegate void MoneyTransferRequest( | 303 | public delegate void MoneyTransferRequest( |
304 | UUID sourceID, UUID destID, int amount, int transactionType, string description); | 304 | UUID sourceID, UUID destID, int amount, int transactionType, string description); |
@@ -458,7 +458,7 @@ namespace OpenSim.Framework | |||
458 | public delegate void AvatarNotesUpdate(IClientAPI client, UUID targetID, string notes); | 458 | public delegate void AvatarNotesUpdate(IClientAPI client, UUID targetID, string notes); |
459 | public delegate void MuteListRequest(IClientAPI client, uint muteCRC); | 459 | public delegate void MuteListRequest(IClientAPI client, uint muteCRC); |
460 | public delegate void AvatarInterestUpdate(IClientAPI client, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages); | 460 | public delegate void AvatarInterestUpdate(IClientAPI client, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages); |
461 | public delegate void GrantUserFriendRights(IClientAPI client, UUID requester, UUID target, int rights); | 461 | public delegate void GrantUserFriendRights(IClientAPI client, UUID target, int rights); |
462 | public delegate void PlacesQuery(UUID QueryID, UUID TransactionID, string QueryText, uint QueryFlags, byte Category, string SimName, IClientAPI client); | 462 | public delegate void PlacesQuery(UUID QueryID, UUID TransactionID, string QueryText, uint QueryFlags, byte Category, string SimName, IClientAPI client); |
463 | 463 | ||
464 | public delegate void AgentFOV(IClientAPI client, float verticalAngle); | 464 | public delegate void AgentFOV(IClientAPI client, float verticalAngle); |