diff options
author | SignpostMarv | 2012-10-18 10:22:41 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-19 02:48:59 +0100 |
commit | af5383e479e264f2c257ff802f258bd03550e4b4 (patch) | |
tree | c0ad3129f49ae42da2eb450f9454c3021ed9b0ac | |
parent | since llGetLinkName has a "simplest case", it should be the first check made. (diff) | |
download | opensim-SC-af5383e479e264f2c257ff802f258bd03550e4b4.zip opensim-SC-af5383e479e264f2c257ff802f258bd03550e4b4.tar.gz opensim-SC-af5383e479e264f2c257ff802f258bd03550e4b4.tar.bz2 opensim-SC-af5383e479e264f2c257ff802f258bd03550e4b4.tar.xz |
altering documentation for llGetLinkName, as the current documentation is rather lengthy for a "summary".
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index e8bf5cf..cf801ba 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3773,6 +3773,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3773 | } | 3773 | } |
3774 | 3774 | ||
3775 | /// <summary> | 3775 | /// <summary> |
3776 | /// Returns the name of the child prim or seated avatar matching the | ||
3777 | /// specified link number. | ||
3778 | /// </summary> | ||
3779 | /// <param name="linknum"> | ||
3780 | /// The number of a link in the linkset or a link-related constant. | ||
3781 | /// </param> | ||
3782 | /// <returns> | ||
3783 | /// The name determined to match the specified link number. | ||
3784 | /// </returns> | ||
3785 | /// <remarks> | ||
3776 | /// The rules governing the returned name are not simple. The only | 3786 | /// The rules governing the returned name are not simple. The only |
3777 | /// time a blank name is returned is if the target prim has a blank | 3787 | /// time a blank name is returned is if the target prim has a blank |
3778 | /// name. If no prim with the given link number can be found then | 3788 | /// name. If no prim with the given link number can be found then |
@@ -3800,7 +3810,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3800 | /// Mentions NULL_KEY being returned | 3810 | /// Mentions NULL_KEY being returned |
3801 | /// http://wiki.secondlife.com/wiki/LlGetLinkName | 3811 | /// http://wiki.secondlife.com/wiki/LlGetLinkName |
3802 | /// Mentions using the LINK_* constants, some of which are negative | 3812 | /// Mentions using the LINK_* constants, some of which are negative |
3803 | /// </summary> | 3813 | /// </remarks> |
3804 | public LSL_String llGetLinkName(int linknum) | 3814 | public LSL_String llGetLinkName(int linknum) |
3805 | { | 3815 | { |
3806 | m_host.AddScriptLPS(1); | 3816 | m_host.AddScriptLPS(1); |