Engine.UpdateResources

From Tomb Raider Mod Launcher Wiki
Revision as of 06:56, 12 August 2014 by Jack9267 (talk | contribs)
Jump to navigation Jump to search

Function

function Engine.UpdateResources();

Arguments

There are no arguments to this function.

Description

This function will update the resource cache.

Returns

This function doesn't return any arguments.

Example

Engine.AddCommandHandler("refresh",function(player, commandLine, command, arguments){
	Engine.UpdateResources();
});

Notes

The resource cache contains a list of all the resources that can be started or stopped. If you modify the resources folder you will need to call this function to update the resource cache accordingly.