/
PluginAction.yaml
125 lines (122 loc) · 3.45 KB
/
PluginAction.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
name: PluginAction
type: class
category: Plugins
memory_category: Instances
summary: ''
description: |
PluginAction is an object that represents a generic performable action in
Roblox Studio, with no directly associated `Toolbar` or `Enum.Button`. In
Roblox Studio, they can be assigned a keyboard shortcut under
`File → Advanced → Customize Shortcuts...`, and they can also be added to the
Quick Access Toolbar.
PluginActions must be created using the `Class.Plugin:CreatePluginAction()`
function in order to work as expected.
code_samples:
inherits:
- Instance
tags:
- NotReplicated
deprecation_message: ''
properties:
- name: PluginAction.ActionId
summary: |
A string that uniquely identifies this action.
description: |
A string that uniquely identifies this action. This string is the key used
when saving and loading the action's state in Roblox Studio.
code_samples:
type: string
tags:
- ReadOnly
- NotReplicated
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: false
can_save: false
- name: PluginAction.AllowBinding
summary: |
Whether the `Class.PluginAction` will be hidden from Studio's shortcuts
view.
description: |
This property determines whether the `Class.PluginAction` will be hidden
from Studio's shortcuts view. Useful for contextual actions. It defaults
to true.
See also:
- `Class.Plugin.CreatePluginAction`, creates a PluginAction
code_samples:
type: bool
tags:
- ReadOnly
- NotReplicated
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: false
can_save: false
- name: PluginAction.StatusTip
summary: |
The description of the action, when viewing it from the keyboard shortcuts
window in Roblox Studio.
description: |
The description of the action, when viewing it from the keyboard shortcuts
window in Roblox Studio.
code_samples:
type: string
tags:
- ReadOnly
- NotReplicated
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: false
can_save: false
- name: PluginAction.Text
summary: |
The text that is displayed when viewing this action in Roblox Studio.
description: |
The text that is displayed when viewing this action in Roblox Studio.
code_samples:
type: string
tags:
- ReadOnly
- NotReplicated
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: false
can_save: false
methods: []
events:
- name: PluginAction.Triggered
summary: |
Fires when the action is triggered. This can be done by either activating
the action from the Quick Access Toolbar, or by using the keyboard
shortcut that was bound to it.
description: |
Fires when the action is triggered. This can be done by either activating
the action from the Quick Access Toolbar, or by using the keyboard
shortcut that was bound to it.
code_samples:
parameters: []
tags: []
deprecation_message: ''
security: PluginSecurity
thread_safety: Unsafe
callbacks: []