LUADOC - Farming Simulator 22

DigitalDisplay

Functions

registerXMLPaths

Description
Definition
registerXMLPaths()
Code
37function DigitalDisplay.registerXMLPaths(schema, basePath)
38 schema:register(XMLValueType.NODE_INDEX, basePath .. "#baseNode", "Base node", false)
39 schema:register(XMLValueType.INT, basePath .. "#precision", "Precision", 0)
40 schema:register(XMLValueType.BOOL, basePath .. "#showZero", "Show zeros or hide them", true)
41end