Skip to content

Commit

Permalink
Fix plugin:OpenScript type
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyMorganz committed Sep 4, 2023
1 parent 339b835 commit 7c1982e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions scripts/dumpRobloxTypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"GetPlayerFromCharacter",
],
"ContextActionService": ["BindAction", "BindActionAtPriority"],
"Plugin": ["OpenScript"],
"PluginToolbar": [
"CreateButton",
],
Expand Down Expand Up @@ -335,6 +336,9 @@
"function BindAction(self, actionName: string, functionToBind: (actionName: string, inputState: EnumUserInputState, inputObject: InputObject) -> EnumContextActionResult?, createTouchButton: boolean, ...: EnumUserInputType | EnumKeyCode): ()",
"function BindActionAtPriority(self, actionName: string, functionToBind: (actionName: string, inputState: EnumUserInputState, inputObject: InputObject) -> EnumContextActionResult?, createTouchButton: boolean, priorityLevel: number, ...: EnumUserInputType | EnumKeyCode): ()",
],
"Plugin": [
"function OpenScript(self, script: LuaSourceContainer, lineNumber: number?): nil"
],
"PluginToolbar": [
"function CreateButton(self, id: string, toolTip: string, iconAsset: string, text: string?): PluginToolbarButton",
],
Expand Down
2 changes: 1 addition & 1 deletion scripts/globalTypes.d.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7c1982e

Please sign in to comment.