diff options
author | Justin Clarke Casey | 2008-10-28 17:35:36 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-28 17:35:36 +0000 |
commit | 247b806134819f3806c078ca891791b718ff8984 (patch) | |
tree | 71b36f876c2b78426e76bb9c80bf1ee984da95d3 /OpenSim/Framework | |
parent | * Eliminate an extra unnecessary appearance fetch on login (diff) | |
download | opensim-SC_OLD-247b806134819f3806c078ca891791b718ff8984.zip opensim-SC_OLD-247b806134819f3806c078ca891791b718ff8984.tar.gz opensim-SC_OLD-247b806134819f3806c078ca891791b718ff8984.tar.bz2 opensim-SC_OLD-247b806134819f3806c078ca891791b718ff8984.tar.xz |
* minor: Add documentation to some of the appearance methods, change some logging messages
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/AvatarWearable.cs | 6 | ||||
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Framework/AvatarWearable.cs b/OpenSim/Framework/AvatarWearable.cs index 59e6a1b..62971ea 100644 --- a/OpenSim/Framework/AvatarWearable.cs +++ b/OpenSim/Framework/AvatarWearable.cs | |||
@@ -71,17 +71,23 @@ namespace OpenSim.Framework | |||
71 | { | 71 | { |
72 | defaultWearables[i] = new AvatarWearable(); | 72 | defaultWearables[i] = new AvatarWearable(); |
73 | } | 73 | } |
74 | |||
75 | // Body | ||
74 | defaultWearables[0].AssetID = new UUID("66c41e39-38f9-f75a-024e-585989bfab73"); | 76 | defaultWearables[0].AssetID = new UUID("66c41e39-38f9-f75a-024e-585989bfab73"); |
75 | defaultWearables[0].ItemID = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9"); | 77 | defaultWearables[0].ItemID = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9"); |
76 | 78 | ||
79 | // Skin | ||
77 | defaultWearables[1].ItemID = new UUID("77c41e39-38f9-f75a-024e-585989bfabc9"); | 80 | defaultWearables[1].ItemID = new UUID("77c41e39-38f9-f75a-024e-585989bfabc9"); |
78 | defaultWearables[1].AssetID = new UUID("77c41e39-38f9-f75a-024e-585989bbabbb"); | 81 | defaultWearables[1].AssetID = new UUID("77c41e39-38f9-f75a-024e-585989bbabbb"); |
79 | 82 | ||
83 | // Shirt | ||
80 | defaultWearables[4].ItemID = new UUID("77c41e39-38f9-f75a-0000-585989bf0000"); | 84 | defaultWearables[4].ItemID = new UUID("77c41e39-38f9-f75a-0000-585989bf0000"); |
81 | defaultWearables[4].AssetID = new UUID("00000000-38f9-1111-024e-222222111110"); | 85 | defaultWearables[4].AssetID = new UUID("00000000-38f9-1111-024e-222222111110"); |
82 | 86 | ||
87 | // Pants | ||
83 | defaultWearables[5].ItemID = new UUID("77c41e39-38f9-f75a-0000-5859892f1111"); | 88 | defaultWearables[5].ItemID = new UUID("77c41e39-38f9-f75a-0000-5859892f1111"); |
84 | defaultWearables[5].AssetID = new UUID("00000000-38f9-1111-024e-222222111120"); | 89 | defaultWearables[5].AssetID = new UUID("00000000-38f9-1111-024e-222222111120"); |
90 | |||
85 | return defaultWearables; | 91 | return defaultWearables; |
86 | } | 92 | } |
87 | } | 93 | } |
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 46615cc..c8a54a7 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -635,8 +635,20 @@ namespace OpenSim.Framework | |||
635 | 635 | ||
636 | // void ActivateGesture(UUID assetId, UUID gestureId); | 636 | // void ActivateGesture(UUID assetId, UUID gestureId); |
637 | 637 | ||
638 | /// <summary> | ||
639 | /// Tell this client what items it should be wearing now | ||
640 | /// </summary> | ||
641 | /// <param name="wearables"></param> | ||
638 | void SendWearables(AvatarWearable[] wearables, int serial); | 642 | void SendWearables(AvatarWearable[] wearables, int serial); |
643 | |||
644 | /// <summary> | ||
645 | /// Send information about the given agent's appearance to another client. | ||
646 | /// </summary> | ||
647 | /// <param name="agentID">The id of the agent associated with the appearance</param> | ||
648 | /// <param name="visualParams"></param> | ||
649 | /// <param name="textureEntry"></param> | ||
639 | void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry); | 650 | void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry); |
651 | |||
640 | void SendStartPingCheck(byte seq); | 652 | void SendStartPingCheck(byte seq); |
641 | 653 | ||
642 | /// <summary> | 654 | /// <summary> |