Events: remove ProcessingStationEvents

This commit is contained in:
Van
2026-06-08 22:13:00 +03:00
parent 90cf189b1a
commit ae20c94d91

View File

@@ -1,22 +0,0 @@
---@alias Events.ProcessingStationEvents.EventName 'on_push_container'
---@alias Events.ProcessingStationEvents.Callback fun(eventName:Events.ProcessingStationEvents.EventName, ...)
---@class Events.ProcessingStationEvents : Events
---@field subscribe fun(self:Events.ProcessingStationEvents,eventName:Events.ProcessingStationEvents.EventName, callback:Events.ProcessingStationEvents.Callback)
---@field call fun(self:Events.ProcessingStationEvents,eventName:Events.ProcessingStationEvents.EventName, ...)
local ProcessingStationEvents = Events:extend()
---@param callback fun(eventName:Events.ProcessingStationEvents.EventName, pos:MapVector, fuelGroup:string, remainingFuel:number)
function ProcessingStationEvents:subscribeOnPushContainer(callback)
self:subscribe('on_push_container', callback)
end
---@param pos MapVector
---@param fuelGroup string
---@param remainingFuel number
function ProcessingStationEvents:callOnPushContainer(pos, fuelGroup, remainingFuel)
self:call('on_push_container', pos, fuelGroup, remainingFuel)
end
return ProcessingStationEvents