26 lines
479 B
Lua
26 lines
479 B
Lua
---@alias KPTLWirePortType
|
|
---| "number"
|
|
---| "normal"
|
|
---| "string"
|
|
---| "entity"
|
|
|
|
---@class KPTLWireComponent
|
|
---@field wireInputs { [string]: KPTLWirePortType }
|
|
---@field wireOutputs { [string]: KPTLWirePortType }
|
|
local WireComponent = class('WireComponent')
|
|
|
|
---@return nil
|
|
function WireComponent:initialize()
|
|
if CLIENT then
|
|
return
|
|
end
|
|
|
|
self.wireInputs = {}
|
|
self.wireOutputs = {}
|
|
end
|
|
|
|
---@return nil
|
|
function WireComponent:updateWireOutputs() end
|
|
|
|
return WireComponent
|