AddResourceMap: Difference between revisions
Jump to navigation
Jump to search
(New page: {{Server function}} __NOTOC__ This function retrieves a table of all the resources that exist on the server. ==Syntax== <syntaxhighlight lang="lua"> xmlnode addResourceMap ( resource, name, [ dimension...) |
No edit summary |
||
Line 7: | Line 7: | ||
xmlnode addResourceMap ( resource, name, [ dimension = 0 ] ) | xmlnode addResourceMap ( resource, name, [ dimension = 0 ] ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | |||
<!-- List each argument one per line. This should be the argument's name as in the argument list above, NOT the argument's data type --> | |||
*'''argumentName:''' description | |||
<!-- Only include this section below if there are optional arguments --> | |||
===Optional Arguments=== | |||
{{OptionalArg}} | |||
*'''argumentName2:''' description | |||
*'''argumentName3:''' description | |||
===Returns=== | ===Returns=== |
Revision as of 13:56, 19 October 2007
This function retrieves a table of all the resources that exist on the server.
Syntax
xmlnode addResourceMap ( resource, name, [ dimension = 0 ] )
Required Arguments
- argumentName: description
Optional Arguments
NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.
- argumentName2: description
- argumentName3: description
Returns
Returns a table of resources.
Example
This function lists all loaded resources in the console.
function blabla () --this does blabla end
See Also
- abortRemoteRequest
- call
- fetchRemote
- getResourceConfig
- getResourceDynamicElementRoot
- getResourceExportedFunctions
- getResourceFromName
- getResourceName
- getResourceRootElement
- getResourceState
- getThisResource
- getRemoteRequests
- getRemoteRequestInfo