BaseActor

documents. BaseActor

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

Constructor

new BaseActor()

Properties:
Name Type Description
data data.ActorData

The constructed data object for the document.

Extends

  • Document

Members

(static) metadata

(static) schema

effects

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

items

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

type :string

The sub-type of Actor.

Type:
  • string

Methods

(async) _preCreate()

(async) _preUpdate()