Implements llGetInventoryType()
parent
3423ed4739
commit
8a39d04f6d
|
@ -4190,8 +4190,14 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
public int llGetInventoryType(string name)
|
public int llGetInventoryType(string name)
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
NotImplemented("llGetInventoryType");
|
foreach (KeyValuePair<LLUUID, TaskInventoryItem> inv in m_host.TaskInventory)
|
||||||
return 0;
|
{
|
||||||
|
if (inv.Value.Name == name)
|
||||||
|
{
|
||||||
|
return inv.Value.InvType;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons)
|
public void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons)
|
||||||
|
|
Loading…
Reference in New Issue