Beta Documentation - Subject to change.

Initializes a new shortcut.

Syntax

Lua
function Shortcut:Shortcut(type, data);

Parameters

type
Type: ShortcutType
The type of shortcut that will be created.
data
Type: string
the data string associated with this shortcut.

Remarks

Initializes a new shortcut.

See Also