Skip to content

@dice-roller/rpg-dice-roller / HistoryData

Interface: HistoryData ​

Defined in: src/serialization/formats.ts:33

A roll history.

Properties ​

rolls ​

readonly rolls: readonly RollData[]

Defined in: src/serialization/formats.ts:36


total ​

readonly total: number

Defined in: src/serialization/formats.ts:38

Can be NaN, e.g. for a history of 1/0 and -1/0.


type ​

readonly type: "history"

Defined in: src/serialization/formats.ts:34


version ​

readonly version: 1

Defined in: src/serialization/formats.ts:35

MIT Licensed · Credits