mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Implements llGetInventoryType()
This commit is contained in:
@@ -4190,8 +4190,14 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
public int llGetInventoryType(string name)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llGetInventoryType");
|
||||
return 0;
|
||||
foreach (KeyValuePair<LLUUID, TaskInventoryItem> inv in m_host.TaskInventory)
|
||||
{
|
||||
if (inv.Value.Name == name)
|
||||
{
|
||||
return inv.Value.InvType;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
public void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons)
|
||||
|
||||
Reference in New Issue
Block a user