Skip to content

Commit 24ea6ab

Browse files
Add Patch 1.0.234 API
1 parent 07be490 commit 24ea6ab

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/EmmyLua/core-games-api.def.lua

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,11 @@ function CoreObjectInstance:SetCustomProperty(propertyName, propertyValue) end
963963
--- @return boolean
964964
function CoreObjectInstance:SetNetworkedCustomProperty(propertyName, propertyValue) end
965965

966+
--- Returns `true` if the named custom property exists and is marked as dynamic. Otherwise, returns `false`.
967+
--- @param propertyName string
968+
--- @return boolean
969+
function CoreObjectInstance:IsCustomPropertyDynamic(propertyName) end
970+
966971
--- @param typeName string
967972
--- @return boolean
968973
function CoreObjectInstance:IsA(typeName) end
@@ -1703,6 +1708,11 @@ function InventoryItemInstance:GetCustomProperty(propertyName) end
17031708
--- @return table
17041709
function InventoryItemInstance:GetCustomProperties() end
17051710

1711+
--- Returns `true` if the named custom property exists and is marked as dynamic. Otherwise, returns `false`.
1712+
--- @param propertyName string
1713+
--- @return boolean
1714+
function InventoryItemInstance:IsCustomPropertyDynamic(propertyName) end
1715+
17061716
--- @param typeName string
17071717
--- @return boolean
17081718
function InventoryItemInstance:IsA(typeName) end
@@ -4125,6 +4135,19 @@ function Input.IsInputTypeEnabled(inputType) end
41254135
--- @return table<number, string>
41264136
function Input.GetActions() end
41274137

4138+
--- Enables the specified action, if the action exists.
4139+
--- @param action string
4140+
function Input.EnableAction(action) end
4141+
4142+
--- Disables the specified action, if the action exists. If the action is currently held, this will also release the action.
4143+
--- @param action string
4144+
function Input.DisableAction(action) end
4145+
4146+
--- Returns `true` if the specified action is enabled. Returns `false` if the action is disabled or does not exist.
4147+
--- @param action string
4148+
--- @return boolean
4149+
function Input.IsActionEnabled(action) end
4150+
41284151
--- @class Leaderboards
41294152
local LeaderboardsInstance = {}
41304153
--- @class GlobalLeaderboards

0 commit comments

Comments
 (0)