Expand description
Fallback retrieval and warning filtering (config.py:21-40).
A binding shares one warning state across call sites, and supplies its warning
emitter. Retrieval does not validate version syntax; parsing happens later.
Structs§
- Fallback
Warnings - The
oncefilter’s keys: one per distinct fallback message, across call sites. - Filtered
Warnings - One
onceregistry shared across files and call sites. The callback runs after releasing the registry lock, so reentrant warning handlers are safe. - Runtime
Config - Binding settings captured before entering a load. Existing files retain their parsed versions and tree flags when a subsequent load updates these.
- Unity
Version Fallback Warning - UnityPy’s warning category and message, borrowed without allocating.
Enums§
- Unity
Version Fallback Error - A missing string fallback or a refusal to retain the warning’s once key.
Traits§
- Decrypt
KeySource - A binding resolves its mutable global only when an encrypted bundle needs it.
- Fallback
Warning Sink - Warning delivery for version resolution. A Python binding installs its warning emitter here; native callers can collect or display the same warning.
Functions§
- get_
fallback_ version - Return any configured string and emit its warning once.
Nonerepresents any non-string config value, as UnityPy’sisinstance(value, str)does.