The PartResourceLibrary lets you retrieve information about a resource type, given its name or integer id.
More...
The PartResourceLibrary lets you retrieve information about a resource type, given its name or integer id.
PartResourceLibrary.PartResourceLibrary |
( |
| ) |
|
Gets information about a resource, specified by its integer ID.
- Parameters
-
id | The integer ID of the resource |
- Returns
- A PartResourceDefinition, which contains all the information about the resource
Gets information about a resource, specified by its name as a string.
- Parameters
-
name | The name of the resource, e.g. "ElectricCharge" |
- Returns
- A PartResourceDefinition, which contains all the information about the resource
PartResourceDefinitionList PartResourceLibrary.resourceDefinitions |
string PartResourceLibrary.resourceExtension |
string PartResourceLibrary.resourcePath |
Use this instance to access the methods of this class
The documentation for this class was generated from the following file: