Skip to content

@vttforge/core / PostableRoll

Interface: PostableRoll ​

The parts of foundry.dice.Roll that postRoll reads.

Properties ​

_evaluated? ​

readonly optional _evaluated?: boolean


dice? ​

readonly optional dice?: readonly object[]


total? ​

readonly optional total?: number

Methods ​

evaluate() ​

evaluate(options?): Promise<unknown>

Parameters ​

options? ​

Record<string, unknown>

Returns ​

Promise<unknown>


render() ​

render(options?): Promise<string>

Parameters ​

options? ​
flavor? ​

string

isPrivate? ​

boolean

Returns ​

Promise<string>

MIT licensed.