Skip to content

INQObject.js

kyleady edited this page Jan 24, 2017 · 2 revisions

Purpose

The base of the INQ Prototypes. It contains basic information and methods that all other prototypes are required to have.

Usage

This prototype should not be used directly. It should only be used as a base prototype for other prototypes.

It comes with the following prototypes

  • ObjType: The type of the Roll20 object that was parsed to make this object.
  • ObjID: The id of the Roll20 object that was parsed to make this object.
  • Name: The name of the Roll20 object that was parsed to make this object.

It comes with the following method

####INQObject.prototype.toLink(quantity)

Outputs an HTML link to the object that was parsed to make this object. May add an additional note of a given quantity as well.

Requirements

-

Clone this wiki locally