Metatable:House - RodrigoOt/forgottenserver GitHub Wiki

No description available at the moment. ###Available methods: getAccessList(listId)
getBedCount()
getBeds()
getDoorCount()
getDoors()
getExitPosition()
getId()
getName()
getOwnerGuid()
getRent()
getTileCount()
getTiles()
getTown()
[setAccessList(listId, list)](#setAccessList{listId, list})
[setOwnerGuid(guid[, updateDatabase = true])](#setOwnerGuid{guid[, updateDatabase = true]})


###### getAccessList(listId) > **Description:** N/A > **Parameters:**
  • _listId_ - _No description_
> **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getAccessList(GUEST_LIST) ``` > **Added in version:** 1.0
###### getBedCount() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getBedCount() ``` > **Added in version:** 1.0
###### getBeds() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getBeds() ``` > **Added in version:** 1.0
###### getDoorCount() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getDoorCount() ``` > **Added in version:** 1.0
###### getDoors() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getDoors() ``` > **Added in version:** 1.0
###### getExitPosition() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getExitPosition() ``` > **Added in version:** 1.0
###### getId() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getId() ``` > **Added in version:** 1.0
###### getName() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getName() ``` > **Added in version:** 1.0
###### getOwnerGuid() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getOwnerGuid() ``` > **Added in version:** 1.0
###### getRent() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getRent() ``` > **Added in version:** 1.0
###### getTileCount() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getTileCount() ``` > **Added in version:** 1.0
###### getTiles() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getTiles() ``` > **Added in version:** 1.0
###### getTown() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local house = House(...) house:getTown() ``` > **Added in version:** 1.0
###### setAccessList(listId, list) > **Description:** N/A > **Parameters:**
  • _listId_ - _No description_
  • _list_ - _No description_
> **Returns:** N/A > **Example:** ```Lua local house = House(...) house:setAccessList(GUEST_LIST, house_name_list) ``` > **Added in version:** 1.0
###### setOwnerGuid(guid[, updateDatabase = true]) > **Description:** N/A > **Parameters:**
  • _guid_ - _No description_
  • _updateDatabase_ - _(optional, default: true)_
> **Returns:** N/A > **Example:** ```Lua local house = House(...) house:setOwnerGuid(unknown, true) ``` > **Added in version:** 1.0
⚠️ **GitHub.com Fallback** ⚠️