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/Undefined Expected SHA1 of the file. If the actual one does not match with this, then the resource will not be loaded.

Returns

Struct.BBMOD_Resource Returns self.

Throws

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.