Module Euro-Truck-Simulator-2-Lane-Assist.src

This folder contains the helpers functions all plugins will use. This includes files to manage the settings and easy access to the settings api.

Expand source code
"""This folder contains the helpers functions all plugins will use.
This includes files to manage the settings and easy access to the settings api.
"""

Sub-modules

Euro-Truck-Simulator-2-Lane-Assist.src.controls

Input manager for other plugins. This plugin will handle all the inputs and provide a way for other plugins to use them …

Euro-Truck-Simulator-2-Lane-Assist.src.helpers

Provides helper functions for plugins, mainly to create consistent UI.

Euro-Truck-Simulator-2-Lane-Assist.src.loading

Provides a loading window with a progress bar and a text label …

Euro-Truck-Simulator-2-Lane-Assist.src.logger

Logger, will replace the default "print" command with a custom one that will also log to a file …

Euro-Truck-Simulator-2-Lane-Assist.src.mainUI

This file contains the main UI for the program. It is responsible for creating the window and setting up the main UI elements …

Euro-Truck-Simulator-2-Lane-Assist.src.scsLogReader

This module is used to listen to the log file from ETS2 / ATS, it will then return the data to the main program.

Euro-Truck-Simulator-2-Lane-Assist.src.server

This file is used to communicate with the main app server. The file will not be used without consent from the user.

Euro-Truck-Simulator-2-Lane-Assist.src.settings

Provides an interface to read and write settings from the main JSON file. Ideally all settings should be stored using this interface …

Euro-Truck-Simulator-2-Lane-Assist.src.sounds

Provides an easy to use interface to play sounds from local paths …

Euro-Truck-Simulator-2-Lane-Assist.src.translator

Provides a standard translation interface. All helper functions already use this interface by default …

Euro-Truck-Simulator-2-Lane-Assist.src.variables

Stores all global variables for the program.