mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-26 19:15:23 +09:00
Fix LuaObject inheritance from userdata
This commit is contained in:
@@ -29,7 +29,11 @@ script = {
|
||||
---
|
||||
--- Type patched in 2.0.28: [Bug Report](https://forums.factorio.com/viewtopic.php?f=233&t=125062)
|
||||
--- Changed "event" from "string | integer" to "LuaEventType"
|
||||
--- Resolved in 2.0.29, this patch will be removed was version is stable
|
||||
---@param event LuaEventType ID or name of the event to raise.
|
||||
---@param data table Table with extra data that will be passed to the event handler. Any invalid LuaObjects will silently stop the event from being raised.
|
||||
raise_event = function(event, data) end;
|
||||
}
|
||||
|
||||
---@class LuaObject:userdata
|
||||
--https://github.com/justarandomgeek/vscode-factoriomod-debug/issues/165
|
||||
|
||||
Reference in New Issue
Block a user