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 ```perl
$object->ClearUser() $object->ClearUser()
$object->Close() $object->Close()
$object->Delete(reset_state) $object->Delete([bool reset_state = false])
$object->DeleteItem(index) $object->DeleteItem(uint8 index)
$object->Depop() $object->Depop()
$object->EntityVariableExists(id) $object->EntityVariableExists(string key)
$object->GetDBID() $object->GetDBID()
$object->GetEntityVariable(id) $object->GetEntityVariable(string key)
$object->GetHeading() $object->GetHeading()
$object->GetID() $object->GetID()
$object->GetIcon() $object->GetIcon()
$object->GetItemID() $object->GetItemID()
$object->GetModelName() $object->GetModelName()
$object->GetSize()
$object->GetSize()
$object->GetSize()
$object->GetSolidType()
$object->GetType() $object->GetType()
$object->GetX() $object->GetX()
$object->GetY() $object->GetY()
$object->GetZ() $object->GetZ()
$object->IsGroundSpawn() $object->IsGroundSpawn()
$object->IsObject()
$object->Repop() $object->Repop()
$object->Save() $object->Save()
$object->SetEntityVariable(id, var) $object->SetEntityVariable(string key, string var)
$object->SetHeading(heading) $object->SetHeading(float heading)
$object->SetID(set_id) $object->SetID(uint16 id)
$object->SetIcon(icon) $object->SetIcon(uint32 icon)
$object->SetItemID(itemid) $object->SetItemID(uint32 item_id)
$object->SetLocation(x, y, z) $object->SetLocation(float x, float y, float z)
$object->SetModelName(name) $object->SetModelName(string name)
$object->SetType(type) $object->SetSize(float size)
$object->SetX(XPos) $object->SetSolidType(uint16 type)
$object->SetY(YPos) $object->SetTiltX(float tilt_x)
$object->SetZ(ZPos) $object->SetTiltY(float tilt_y)
$object->SetType(uint32 type)
$object->SetX(float x)
$object->SetY(float y)
$object->SetZ(float z)
$object->StartDecay() $object->StartDecay()
$object->VarSave() $object->VarSave()
``` ```