Static

Part of openmw.types

Usage:

local Static = require('openmw.types').Static

Type types

types.Static

Functions for #Static objects

Type Static

Static.objectIsInstance(object)

Whether the object is a Static.

Static.record(objectOrRecordId)

Returns the read-only #StaticRecord of a Static

Static.records

A read-only list of all #StaticRecords in the world database.

Type StaticRecord

StaticRecord.id

Record id

StaticRecord.model

VFS path to the model

Type types

Field(s)

#Static types.Static

Functions for #Static objects

Type Static

Static functions

Field(s)

Static.objectIsInstance(object)

Whether the object is a Static.

Parameter

Return value

#boolean:

Static.record(objectOrRecordId)

Returns the read-only #StaticRecord of a Static

Parameter

  • #any objectOrRecordId :

Return value

#StaticRecord:

#list<#StaticRecord> Static.records

A read-only list of all #StaticRecords in the world database.

Type StaticRecord

Field(s)

#string StaticRecord.id

Record id

#string StaticRecord.model

VFS path to the model