BaseItem

documents. BaseItem

The base Item model definition which defines common behavior of an Item document between both client and server.

Constructor

new BaseItem()

Properties:
Name Type Description
data data.ItemData

The constructed data object for the document.

Extends

  • Document

Members

(static) metadata

(static) schema

effects

A reference to the Collection of ActiveEffect instances in the Item document, indexed by _id.

type :string

The sub-type of Item.

Type:
  • string

Methods

canUserModify()

testUserPermission()