Options
All
  • Public
  • Public/Protected
  • All
Menu

The Document definition for a Combat. Defines the DataSchema and common behaviors for a Combat which are shared between both client and server.

mixes

CombatData

memberof

documents

param data

Initial data from which to construct the Combat

param context

Construction context options

Hierarchy

Index

Constructors

Properties

Methods

Constructors

Properties

metadata: any = ...

Default metadata which applies to each instance of this Document type.

Methods

  • #canUpdate(user: any, doc: any, data: any): boolean
  • Is a user able to update an existing Combat?

    Parameters

    • user: any
    • doc: any
    • data: any

    Returns boolean