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.