save.c
object_data_directory
Synopsis
Parameters
object ob
- The object to get the data directory for.
Returns
string
- The data directory path for the object.
Description
Returns the data directory path for the specified object.
object_data_file
Synopsis
Parameters
object ob
- The object to get the data file for.
Returns
string
- The data file path for the object.
Description
Returns the data file path for the specified object.
assure_object_data_dir
Synopsis
Parameters
object ob
- The object to ensure the data directory for.
Returns
string
- The data directory path for the object, or 0 if creation failed.
Description
Ensures the data directory for the specified object exists, creating it if necessary.