Class: Trait

RPG.Trait()

new Trait()

The JSON data structure of a trait.
Properties:
Name Type Description
code Number The trait code.
dataId Number The ID of the data (such as elements or states) according to the type of the trait.
value Number The value set according to the type of the trait.
expanded Boolean The map tree expansion flag, which is used internally.
scrollX Number The x-axis scroll position, which is used internally.
scrollY Number The y-axis scroll position, which is used internally.