resource.isReady
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
Method Client Only 
 
 
 ![]()
Online and Offline
Available since Client 1.0.0
bool resource.isReady(void)
The resource.isReady method is used to check if all of a resource's files are downloaded.
Parameters
| void | This method doesn't take any parameters. | 
Return
| bool | bool true if all resource files are downloaded, or bool false if not.
 | 
Types
Shared Resource
Notes
- This does NOT include <script> entries in the resource's meta.xml! It only applies to <file> entries.
 - This is also related to the OnResourceReady event, which is called once all the file's for a resource are downloaded.
 
Examples
There aren't any examples for this method.
Compatibility
There isn't any compatibility information for this method.
Related
Client Related
 
 
 
 findResourceByName
 
 
 
 getResources
 
 
 
 thisResource
 
 
 
 resource.exports
 
 
 
 resource.getExport
 
 
 
 resource.isReady
 
 
 
 resource.isStarted
 
 
 
 resource.isStarting
 
 
 
 resource.name
 
 
 
 resource.restart
 
 
 
 resource.start
 
 
 
 resource.stop