diff options
author | mingchen | 2007-07-13 21:13:38 +0000 |
---|---|---|
committer | mingchen | 2007-07-13 21:13:38 +0000 |
commit | 862dc9fe975bdaa71116c8449ac27289f860441e (patch) | |
tree | fd90837f60f7bebcca522b4770601795a3c065dc /OpenSim/Region/ClientStack/ClientView.API.cs | |
parent | Chat/Shout/etc should be working again (diff) | |
download | opensim-SC_OLD-862dc9fe975bdaa71116c8449ac27289f860441e.zip opensim-SC_OLD-862dc9fe975bdaa71116c8449ac27289f860441e.tar.gz opensim-SC_OLD-862dc9fe975bdaa71116c8449ac27289f860441e.tar.bz2 opensim-SC_OLD-862dc9fe975bdaa71116c8449ac27289f860441e.tar.xz |
*Reworked parcel joining to work the same way as LL's method.
**Parcels within selection now join and not the two parcels selected at each corner
*Created OnSignificantClientMovement event that is triggered when an avatar moves more than 2 meters.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.API.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index cc4fdbe..df5a853 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -87,6 +87,7 @@ namespace OpenSim.Region.ClientStack | |||
87 | 87 | ||
88 | public event EstateOwnerMessageRequest OnEstateOwnerMessage; | 88 | public event EstateOwnerMessageRequest OnEstateOwnerMessage; |
89 | 89 | ||
90 | public event SignificantClientMovement OnSignificantClientMovement; | ||
90 | 91 | ||
91 | /// <summary> | 92 | /// <summary> |
92 | /// | 93 | /// |
@@ -1177,5 +1178,13 @@ namespace OpenSim.Region.ClientStack | |||
1177 | 1178 | ||
1178 | OutPacket( packet ); | 1179 | OutPacket( packet ); |
1179 | } | 1180 | } |
1181 | |||
1182 | public void TriggerSignificantClientMovement(IClientAPI remote_client) | ||
1183 | { | ||
1184 | if (OnSignificantClientMovement != null) | ||
1185 | { | ||
1186 | OnSignificantClientMovement(remote_client); | ||
1187 | } | ||
1188 | } | ||
1180 | } | 1189 | } |
1181 | } | 1190 | } |