1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-25 10:41:34 +00:00

Document the records function for all record types

This commit is contained in:
Mitten.O 2023-04-09 15:01:44 +03:00
parent 85dc0ec481
commit d1fd6d77ca

View file

@ -466,6 +466,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #CreatureRecord -- @return #CreatureRecord
---
-- Returns a read-only list of all @{#CreatureRecord}s in the world database.
-- @function [parent=#Creature] records
-- @return #list<#CreatureRecord>
--- ---
-- @type CreatureRecord -- @type CreatureRecord
-- @field #string name -- @field #string name
@ -502,6 +507,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #NpcRecord -- @return #NpcRecord
---
-- Returns a read-only list of all @{#NpcRecord}s in the world database.
-- @function [parent=#Npc] records
-- @return #list<#NpcRecord>
--- ---
-- @type NpcRecord -- @type NpcRecord
-- @field #string name -- @field #string name
@ -564,6 +574,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #ArmorRecord -- @return #ArmorRecord
---
-- Returns a read-only list of all @{#ArmorRecord}s in the world database.
-- @function [parent=#Armor] records
-- @return #list<#ArmorRecord>
--- ---
-- @type ArmorRecord -- @type ArmorRecord
-- @field #string id Record id -- @field #string id Record id
@ -634,6 +649,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #BookRecord -- @return #BookRecord
---
-- Returns a read-only list of all @{#BookRecord}s in the world database.
-- @function [parent=#Book] records
-- @return #list<#BookRecord>
--- ---
-- @type BookRecord -- @type BookRecord
-- @field #string id The record ID of the book -- @field #string id The record ID of the book
@ -687,6 +707,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #ClothingRecord -- @return #ClothingRecord
---
-- Returns a read-only list of all @{#ClothingRecord}s in the world database.
-- @function [parent=#Clothing] records
-- @return #list<#ClothingRecord>
--- ---
-- @type ClothingRecord -- @type ClothingRecord
-- @field #string id Record id -- @field #string id Record id
@ -723,6 +748,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #IngredientRecord -- @return #IngredientRecord
---
-- Returns a read-only list of all @{#IngredientRecord}s in the world database.
-- @function [parent=#Ingredient] records
-- @return #list<#IngredientRecord>
--- ---
-- @type IngredientRecord -- @type IngredientRecord
-- @field #string id Record id -- @field #string id Record id
@ -755,6 +785,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #LightRecord -- @return #LightRecord
---
-- Returns a read-only list of all @{#LightRecord}s in the world database.
-- @function [parent=#Light] records
-- @return #list<#LightRecord>
--- ---
-- @type LightRecord -- @type LightRecord
-- @field #string id Record id -- @field #string id Record id
@ -792,6 +827,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #MiscellaneousRecord -- @return #MiscellaneousRecord
---
-- Returns a read-only list of all @{#MiscellaneousRecord}s in the world database.
-- @function [parent=#Miscellaneous] records
-- @return #list<#MiscellaneousRecord>
--- ---
-- @type MiscellaneousRecord -- @type MiscellaneousRecord
-- @field #string id The record ID of the miscellaneous item -- @field #string id The record ID of the miscellaneous item
@ -887,6 +927,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #WeaponRecord -- @return #WeaponRecord
---
-- Returns a read-only list of all @{#WeaponRecord}s in the world database.
-- @function [parent=#Weapon] records
-- @return #list<#WeaponRecord>
--- ---
-- @type WeaponRecord -- @type WeaponRecord
-- @field #string id Record id -- @field #string id Record id
@ -943,6 +988,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #ApparatusRecord -- @return #ApparatusRecord
---
-- Returns a read-only list of all @{#ApparatusRecord}s in the world database.
-- @function [parent=#Apparatus] records
-- @return #list<#ApparatusRecord>
--- ---
-- @type ApparatusRecord -- @type ApparatusRecord
-- @field #string id The record ID of the apparatus -- @field #string id The record ID of the apparatus
@ -975,6 +1025,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #LockpickRecord -- @return #LockpickRecord
---
-- Returns a read-only list of all @{#LockpickRecord}s in the world database.
-- @function [parent=#Lockpick] records
-- @return #list<#LockpickRecord>
--- ---
-- @type LockpickRecord -- @type LockpickRecord
-- @field #string id The record ID of the lockpick -- @field #string id The record ID of the lockpick
@ -1007,6 +1062,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #ProbeRecord -- @return #ProbeRecord
---
-- Returns a read-only list of all @{#ProbeRecord}s in the world database.
-- @function [parent=#Probe] records
-- @return #list<#ProbeRecord>
--- ---
-- @type ProbeRecord -- @type ProbeRecord
-- @field #string id The record ID of the probe -- @field #string id The record ID of the probe
@ -1039,6 +1099,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #RepairRecord -- @return #RepairRecord
---
-- Returns a read-only list of all @{#RepairRecord}s in the world database.
-- @function [parent=#Repair] records
-- @return #list<#RepairRecord>
--- ---
-- @type RepairRecord -- @type RepairRecord
-- @field #string id The record ID of the repair tool -- @field #string id The record ID of the repair tool
@ -1069,6 +1134,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #ActivatorRecord -- @return #ActivatorRecord
---
-- Returns a read-only list of all @{#ActivatorRecord}s in the world database.
-- @function [parent=#Activator] records
-- @return #list<#ActivatorRecord>
--- ---
-- @type ActivatorRecord -- @type ActivatorRecord
-- @field #string id Record id -- @field #string id Record id
@ -1112,6 +1182,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #ContainerRecord -- @return #ContainerRecord
---
-- Returns a read-only list of all @{#ContainerRecord}s in the world database.
-- @function [parent=#Container] records
-- @return #list<#ContainerRecord>
--- ---
-- @type ContainerRecord -- @type ContainerRecord
-- @field #string id Record id -- @field #string id Record id
@ -1162,6 +1237,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #DoorRecord -- @return #DoorRecord
---
-- Returns a read-only list of all @{#DoorRecord}s in the world database.
-- @function [parent=#Door] records
-- @return #list<#DoorRecord>
--- ---
-- @type DoorRecord -- @type DoorRecord
-- @field #string id Record id -- @field #string id Record id
@ -1191,6 +1271,11 @@
-- @param #any objectOrRecordId -- @param #any objectOrRecordId
-- @return #StaticRecord -- @return #StaticRecord
---
-- Returns a read-only list of all @{#StaticRecord}s in the world database.
-- @function [parent=#Static] records
-- @return #list<#StaticRecord>
--- ---
-- @type StaticRecord -- @type StaticRecord
-- @field #string id Record id -- @field #string id Record id