SaveGame.GetDirectories

Description

Retrieves the directories from the specified identifier.

Check out DirectoryInfo for more information.

Parameters

Name Type Description Required
identifier string The identifier required
path SaveGamePath The path to save optional

Returns

Returns the directories information if the specified path exists.

Examples

Retrieving Directories from Main Directory

DirectoryInfo[] directories = SaveGame.GetDirectories ();

Retrieving Directories from a Directory

DirectoryInfo[] directories = SaveGame.GetDirectories ( "myFolder" );