Type Alias: SkinIniDocument
SkinIniDocument =
object
Defined in: src/skin/skin-ini.ts:140
Lossless parsed skin.ini document with typed projections for known settings.
ts
import { parseSkinIni } from 'osu-files'
return parseSkinIni(skinIniSource)Properties
Methods
delete()
delete(
section,key):boolean
Defined in: src/skin/skin-ini.ts:153
Parameters
| Parameter | Type |
|---|---|
section | string |
key | string |
Returns
boolean
This example requires Node.js.
ts
import { SkinIniDocument } from 'osu-files'
return undefinedget()
get(
section,key):string|undefined
Defined in: src/skin/skin-ini.ts:151
Parameters
| Parameter | Type |
|---|---|
section | string |
key | string |
Returns
string | undefined
This example requires Node.js.
ts
import { SkinIniDocument } from 'osu-files'
return undefinedhas()
has(
section,key):boolean
Defined in: src/skin/skin-ini.ts:154
Parameters
| Parameter | Type |
|---|---|
section | string |
key | string |
Returns
boolean
This example requires Node.js.
ts
import { SkinIniDocument } from 'osu-files'
return undefinedset()
set(
section,key,value):void
Defined in: src/skin/skin-ini.ts:152
Parameters
| Parameter | Type |
|---|---|
section | string |
key | string |
value | SkinIniValue |
Returns
void
This example requires Node.js.
ts
import { SkinIniDocument } from 'osu-files'
return undefined