BBMOD_Resource.from_file

A function defined in BBMOD_Resource.gml

from_file(_file[, _sha1])

Description

Loads the resource from a file.

Arguments

Name Type Description
_file String The path to the file.
_sha1 String Expected SHA1 of the file. If the actual one does not match with this, then the resource will not be loaded. Use undefined if you do not want to check the SHA1 of the file.

Returns

Struct.BBMOD_Resource Returns self.

Throws

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 16, 2024 using GMDoc.