PlayerConfig

PlayerConfig

The Player Configuration application provides a form used to allow the current client to edit preferences and configurations about their own User entity.

Constructor

new PlayerConfig(user, options)

Source:
Parameters:
Name Type Description
user User

The User entity being configured.

options Object

Additional rendering options which modify the behavior of the form.

Members

(static) defaultOptions :Object

Source:

Assign the default options which are supported by the entity edit sheet

Type:
  • Object

Methods

activateListeners(html)

Source:

Activate the default set of listeners for the Entity sheet These listeners handle basic stuff like form submission or updating images

Parameters:
Name Type Description
html JQuery

The rendered template ready to have listeners attached

getData() → {Object}

Source:

Provide data to the form

Returns:

The data provided to the template when rendering the form

Type
Object