byond - Modules - TypesVar Details - Proc Details

asset_cache_item

An internal datum containing info on items in the asset cache. Mainly used to cache md5 info for speed.

Vars

keep_local_nameTRUE for keeping local asset names when browse_rsc backend is used
legacyShould this file also be sent via the legacy browse_rsc system when cdn transports are enabled?
namespaceUsed by the cdn system to keep legacy css assets with their parent css file. (css files resolve urls relative to the css file, so the legacy system can't be used if the css file itself could go out over the cdn)
namespace_parentTrue if this is the parent css or html file for an asset's namespace

Procs

Newpass in a valid file_hash if you have one to save it from needing to do it again. pass in a valid dmi file path string e.g. "icons/path/to/dmi_file.dmi" to make generating the hash less expensive

Var Details

keep_local_name

TRUE for keeping local asset names when browse_rsc backend is used

legacy

Should this file also be sent via the legacy browse_rsc system when cdn transports are enabled?

namespace

Used by the cdn system to keep legacy css assets with their parent css file. (css files resolve urls relative to the css file, so the legacy system can't be used if the css file itself could go out over the cdn)

namespace_parent

True if this is the parent css or html file for an asset's namespace

Proc Details

New

pass in a valid file_hash if you have one to save it from needing to do it again. pass in a valid dmi file path string e.g. "icons/path/to/dmi_file.dmi" to make generating the hash less expensive