Skip to main content

game_data_dir

Function game_data_dir 

Source
pub fn game_data_dir() -> Option<PathBuf>
Expand description

Returns the path to the game_data/ directory.

Checks WOWS_GAME_DATA env var first, then walks up from the current directory to find the workspace root (identified by game_versions.toml).