-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Metatable:House
dalkon edited this page Oct 4, 2014
·
7 revisions
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_
###### 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_
###### setOwnerGuid(guid[, updateDatabase = true]) > **Description:** N/A > **Parameters:**
- _guid_ - _No description_
- _updateDatabase_ - _(optional, default: true)_