ModInfo
Internal
Name | Type | Info |
---|---|---|
internalName | string | The name the mod is known as internally, also the namespace used by the mod in code. This property has to be unique between all mods.
Don't use any names that might be used in other namespaces, for example:
|
includePDB | bool | Whether the mod packer should create a debug PDB file. The PDB file allows tAPI to display line numbers on which errors happen.
Default: false |
warnOnReload | bool | Determines whether it's unsafe to reload the mod and the game should be restarted instead. Some mods that allow to be used as APIs can cause problems when reloaded. Set this property to mark such mods.
Default: false |
modReferences | string[?] | List of all mod dependencies. All the names are mod
internalName properties. |
dllReferences | string[?] | List of all DLL dependencies. |
Informative
Name | Type | Info |
---|---|---|
displayName | string | The name visible in the mods menu. |
author | string | Mod author. |
version | string int[1-4] | The name the mod is known as internally, also the namespace used by the mod in code. "version": "r1" "version": [1,0,0,0]
Default: [1,0,0,0] |