Function add_data_file_requirement

Source
pub fn add_data_file_requirement(data_filename: &str, checksum_string: &str)
Expand description

Add a data file and a corresponding CRC32 checksum to the data file loadout
that connecting clients need to match.

It can be used multiple times to set multiple checksums for the same data file.

Note: If an empty string is provided for the checksum, a checksum will not be
required for that data file.

data_filename The filename of the data file.
checksum_string A string with the CRC32 checksum required.