1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
---@class VM local mt = {} mt.__index = mt mt.type = 'vm' mt._version = -1 ---@param version integer function mt:setVersion(version) self._version = version end ---@return integer function mt:getVersion() return self._version end return mt