Updated Perl API (markdown)

Chris Miles
2018-07-01 20:28:28 -05:00
parent f9c20f7f81
commit 6f19eb2bba
+24 -15
@@ -1322,35 +1322,44 @@ $object->SetLocation(x, y, z);
```perl
$object->ClearUser()
$object->Close()
$object->Delete(reset_state)
$object->DeleteItem(index)
$object->Delete([bool reset_state = false])
$object->DeleteItem(uint8 index)
$object->Depop()
$object->EntityVariableExists(id)
$object->EntityVariableExists(string key)
$object->GetDBID()
$object->GetEntityVariable(id)
$object->GetEntityVariable(string key)
$object->GetHeading()
$object->GetID()
$object->GetIcon()
$object->GetItemID()
$object->GetModelName()
$object->GetSize()
$object->GetSize()
$object->GetSize()
$object->GetSolidType()
$object->GetType()
$object->GetX()
$object->GetY()
$object->GetZ()
$object->IsGroundSpawn()
$object->IsObject()
$object->Repop()
$object->Save()
$object->SetEntityVariable(id, var)
$object->SetHeading(heading)
$object->SetID(set_id)
$object->SetIcon(icon)
$object->SetItemID(itemid)
$object->SetLocation(x, y, z)
$object->SetModelName(name)
$object->SetType(type)
$object->SetX(XPos)
$object->SetY(YPos)
$object->SetZ(ZPos)
$object->SetEntityVariable(string key, string var)
$object->SetHeading(float heading)
$object->SetID(uint16 id)
$object->SetIcon(uint32 icon)
$object->SetItemID(uint32 item_id)
$object->SetLocation(float x, float y, float z)
$object->SetModelName(string name)
$object->SetSize(float size)
$object->SetSolidType(uint16 type)
$object->SetTiltX(float tilt_x)
$object->SetTiltY(float tilt_y)
$object->SetType(uint32 type)
$object->SetX(float x)
$object->SetY(float y)
$object->SetZ(float z)
$object->StartDecay()
$object->VarSave()
```