@vttforge/types / CombatConfig
Interface: CombatConfig ​
What every CONFIG.<Document> entry carries.
Extends ​
Properties ​
collection? ​
optionalcollection?:AnyClass
Inherited from ​
compendiumIndexFields? ​
optionalcompendiumIndexFields?:string[]
Inherited from ​
DocumentConfig.compendiumIndexFields
dataModels ​
dataModels:
Record<string,AnyClass>
Inherited from ​
initiative ​
initiative:
object
decimals? ​
optionaldecimals?:number
formula ​
formula:
string|null
sheetClasses? ​
optionalsheetClasses?:Record<string,Record<string,unknown>>
Inherited from ​
sidebar? ​
optionalsidebar?:object
applicationClass? ​
optionalapplicationClass?:AnyClass
order? ​
optionalorder?:number
Inherited from ​
typeIcons? ​
optionaltypeIcons?:Record<string,string>
Icon per subtype, shown in the sidebar and on creation dialogs.
Inherited from ​
typeLabels? ​
optionaltypeLabels?:Record<string,string>
Inherited from ​
Accessors ​
documentClass ​
Get Signature ​
get documentClass():
TClass
Reading gives the document statics, so CONFIG.Item.documentClass.create() compiles. Writing takes any class, because a system replacing the class rarely declares those statics on its own subclass.
Returns ​
TClass
Set Signature ​
set documentClass(
value):void
Parameters ​
value ​
Returns ​
void