diff options
author | lbsa71 | 2007-11-05 14:38:58 +0000 |
---|---|---|
committer | lbsa71 | 2007-11-05 14:38:58 +0000 |
commit | f6c8c10d3fce8eb279608cdeb9d8154fbca3852c (patch) | |
tree | e694744ba737b671cf77407c210263244b6b65ca /OpenSim/Region/ClientStack | |
parent | add a fixup for linux building (diff) | |
download | opensim-SC_OLD-f6c8c10d3fce8eb279608cdeb9d8154fbca3852c.zip opensim-SC_OLD-f6c8c10d3fce8eb279608cdeb9d8154fbca3852c.tar.gz opensim-SC_OLD-f6c8c10d3fce8eb279608cdeb9d8154fbca3852c.tar.bz2 opensim-SC_OLD-f6c8c10d3fce8eb279608cdeb9d8154fbca3852c.tar.xz |
* Substituted som 'GenericCall' with Action<>
* OnRequestWearables does no longer accept 'Client' as param, since it's always on the current client
* Fixed SendOwnWearables to always operate on self, as that's what it does
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 8 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index b02fcf6..1ffcd5e 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -48,15 +48,15 @@ namespace OpenSim.Region.ClientStack | |||
48 | public event RezObject OnRezObject; | 48 | public event RezObject OnRezObject; |
49 | public event GenericCall4 OnDeRezObject; | 49 | public event GenericCall4 OnDeRezObject; |
50 | public event ModifyTerrain OnModifyTerrain; | 50 | public event ModifyTerrain OnModifyTerrain; |
51 | public event GenericCall OnRegionHandShakeReply; | 51 | public event Action<IClientAPI> OnRegionHandShakeReply; |
52 | public event GenericCall OnRequestWearables; | 52 | public event GenericCall2 OnRequestWearables; |
53 | public event SetAppearance OnSetAppearance; | 53 | public event SetAppearance OnSetAppearance; |
54 | public event GenericCall2 OnCompleteMovementToRegion; | 54 | public event GenericCall2 OnCompleteMovementToRegion; |
55 | public event UpdateAgent OnAgentUpdate; | 55 | public event UpdateAgent OnAgentUpdate; |
56 | public event AgentRequestSit OnAgentRequestSit; | 56 | public event AgentRequestSit OnAgentRequestSit; |
57 | public event AgentSit OnAgentSit; | 57 | public event AgentSit OnAgentSit; |
58 | public event StartAnim OnStartAnim; | 58 | public event StartAnim OnStartAnim; |
59 | public event GenericCall OnRequestAvatarsData; | 59 | public event Action<IClientAPI> OnRequestAvatarsData; |
60 | public event LinkObjects OnLinkObjects; | 60 | public event LinkObjects OnLinkObjects; |
61 | public event UpdateVector OnGrabObject; | 61 | public event UpdateVector OnGrabObject; |
62 | public event ObjectSelect OnDeGrabObject; | 62 | public event ObjectSelect OnDeGrabObject; |
@@ -79,7 +79,7 @@ namespace OpenSim.Region.ClientStack | |||
79 | public event UpdateVector OnUpdatePrimScale; | 79 | public event UpdateVector OnUpdatePrimScale; |
80 | public event StatusChange OnChildAgentStatus; | 80 | public event StatusChange OnChildAgentStatus; |
81 | public event GenericCall2 OnStopMovement; | 81 | public event GenericCall2 OnStopMovement; |
82 | public event GenericCall6 OnRemoveAvatar; | 82 | public event Action<LLUUID> OnRemoveAvatar; |
83 | public event RequestMapBlocks OnRequestMapBlocks; | 83 | public event RequestMapBlocks OnRequestMapBlocks; |
84 | public event TeleportLocationRequest OnTeleportLocationRequest; | 84 | public event TeleportLocationRequest OnTeleportLocationRequest; |
85 | public event DisconnectUser OnDisconnectUser; | 85 | public event DisconnectUser OnDisconnectUser; |
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 7c1a663..7a778e8 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -158,7 +158,7 @@ namespace OpenSim.Region.ClientStack | |||
158 | case PacketType.AgentWearablesRequest: | 158 | case PacketType.AgentWearablesRequest: |
159 | if (OnRequestWearables != null) | 159 | if (OnRequestWearables != null) |
160 | { | 160 | { |
161 | OnRequestWearables(this); | 161 | OnRequestWearables( ); |
162 | } | 162 | } |
163 | if (OnRequestAvatarsData != null) | 163 | if (OnRequestAvatarsData != null) |
164 | { | 164 | { |