(A) The provisions of this subchapter and of the regulatory codes herein adopted shall apply to the following:
(1) The location, design, materials, equipment, construction, reconstruction, alteration, repair, maintenance, moving, demolition, removal, use and occupancy of every building or structure or any appurtenances connected or attached to the building or structure;
(2) The installation, erection, alternation, repair, use and maintenance of plumbing systems consisting of house sewers, building drains, waste and vent systems, hot and cold water supply systems and all fixtures and appurtenances thereof;
(3) The installation, erection, alteration, repair, use and maintenance of mechanical systems consisting of heating ventilating, air conditioning and refrigeration systems, fuel-burning equipment and appurtenances thereof; and
(4) The installation, erection, alteration, repair, use and maintenance of electrical systems and appurtenances thereof.
(B) The adoption of this subchapter and the codes herein adopted by reference shall constitute a resolution within the meaning of G.S. § 143-138(e), making the regulatory codes herein adopted applicable to dwellings and outbuildings used in connection therewith, to apartment buildings used exclusively as a residence for not more than two families and to temporary buildings or sheds used exclusively for construction purposes, not exceeding 12 feet in any direction and not used for living quarters.