Namespace WitShells.MapView
Classes
- ConcurrentLoggerBehaviour
ConcurrentLoggerBehaviour receives log messages from any thread via the static Enqueue method and flushes them to the Unity Console inside Update on the main thread. It is created automatically on first use and marked DontDestroyOnLoad.
- DatabaseUtils
Centralized utility for creating and ensuring proper database schema. All code should use EnsureDatabaseWithSchema instead of ad-hoc CreateTable calls.
- DatabaseWriter
Thread-safe database writer that ensures serialized write operations to SQLite databases. Manages one dedicated worker thread per database file to prevent write conflicts and ensure data integrity. Uses the singleton pattern to maintain one worker instance per database path.
- DbQuery
Helper to run read-only database queries on ThreadManager and return results on the main thread.