Add llGetLinkNumberOfSides to LSL_Stub and ILSL_Api

It already existed in LSL_Api but it also needs to exist in these two other places for a script to be able to see it.
Hopefully resolves http://opensimulator.org/mantis/view.php?id=5489
iar_mods
Justin Clark-Casey (justincc) 2012-02-02 22:48:36 +00:00
parent 17df4185ce
commit 264c83aec4
2 changed files with 7 additions and 1 deletions

View File

@ -138,6 +138,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
LSL_Key llGetLinkKey(int linknum); LSL_Key llGetLinkKey(int linknum);
LSL_String llGetLinkName(int linknum); LSL_String llGetLinkName(int linknum);
LSL_Integer llGetLinkNumber(); LSL_Integer llGetLinkNumber();
LSL_Integer llGetLinkNumberOfSides(int link);
LSL_List llGetLinkPrimitiveParams(int linknum, LSL_List rules); LSL_List llGetLinkPrimitiveParams(int linknum, LSL_List rules);
LSL_Integer llGetListEntryType(LSL_List src, int index); LSL_Integer llGetListEntryType(LSL_List src, int index);
LSL_Integer llGetListLength(LSL_List src); LSL_Integer llGetListLength(LSL_List src);

View File

@ -539,6 +539,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
return m_LSL_Functions.llGetLinkNumber(); return m_LSL_Functions.llGetLinkNumber();
} }
public LSL_Integer llGetLinkNumberOfSides(int link)
{
return m_LSL_Functions.llGetLinkNumber();
}
public LSL_Integer llGetListEntryType(LSL_List src, int index) public LSL_Integer llGetListEntryType(LSL_List src, int index)
{ {
return m_LSL_Functions.llGetListEntryType(src, index); return m_LSL_Functions.llGetListEntryType(src, index);