Static
defaultAssign the default options which are supported by the entity edit sheet.
The default options for this FormApplication class
Static
orderOrder of coin types, descending in value
This method is called upon form submission after form data is validated
The initial triggering submission event
The object of validated form data with which to update the object
A Promise which resolves once the update operation has completed
Static
_directoryStatic
_failedStatic
convertConvert totalAmount to a currency object containing
currency object containing max number of coins. Falsey values will assume infinity
currency as gold pieces. If provided as a currency object, will convert to gold
false if failed, currency object containing new amounts on conversion success
Static
transferTransfer an amount of currency to a valid document
ActorPF or ItemPF with currency
ActorPF or ItemPF with currency
currency object containing transferred amount. Undefined keys will be assumed to be zero. Providing just a number will assume just gold
Use alt currency on source
Use alt currency on destination
Optional
allowConversion: number = falseAttempts to make change with sourceDoc's currency limit
false if failed, object containing amount transferred on success
An Application window should define its own title definition logic which may be dynamic depending on its data