from_file

function

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 © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.