mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.
* All thanks to unimplemented packet listing :D
This commit is contained in:
@@ -84,6 +84,7 @@ namespace OpenSim.Region.ClientStack
|
||||
public event TeleportLocationRequest OnTeleportLocationRequest;
|
||||
public event DisconnectUser OnDisconnectUser;
|
||||
public event RequestAvatarProperties OnRequestAvatarProperties;
|
||||
public event SetAlwaysRun OnSetAlwaysRun;
|
||||
|
||||
public event CreateNewInventoryItem OnCreateNewInventoryItem;
|
||||
public event CreateInventoryFolder OnCreateNewInventoryFolder;
|
||||
|
||||
@@ -168,6 +168,13 @@ namespace OpenSim.Region.ClientStack
|
||||
{
|
||||
OnSetAppearance(appear.ObjectData.TextureEntry, appear.VisualParam);
|
||||
}
|
||||
break;
|
||||
case PacketType.SetAlwaysRun:
|
||||
SetAlwaysRunPacket run = (SetAlwaysRunPacket)Pack;
|
||||
|
||||
if (OnSetAlwaysRun != null)
|
||||
OnSetAlwaysRun(this,run.AgentData.AlwaysRun);
|
||||
|
||||
break;
|
||||
case PacketType.CompleteAgentMovement:
|
||||
if (OnCompleteMovementToRegion != null)
|
||||
|
||||
Reference in New Issue
Block a user