Class Resource
Inheritance
Resource
Resource
Inherited Members
shared.Resource.constructor
shared.Resource.isStarted
shared.Resource.type
shared.Resource.name
shared.Resource.main
shared.Resource.exports
shared.Resource.dependencies
shared.Resource.dependants
shared.Resource.requiredPermissions
shared.Resource.optionalPermissions
shared.Resource.valid
shared.Resource.config
Module: alt-server
Package: @altmp/altv-types
Syntax
class Resource extends Resource
Properties
| Improve this Doc View Sourcepath
Declaration
public readonly path: string
Property Value
Type | Description |
---|---|
string |
all
Declaration
public readonly static all: readonly Resource[]
Property Value
Type | Description |
---|---|
readonly Resource[] |
current
Declaration
public readonly static current: Resource
Property Value
Type | Description |
---|---|
Resource |
Methods
| Improve this Doc View SourcegetByName(string)
Declaration
public static getByName(name: string): null | Resource
Parameters
Type | Name | Description |
---|---|---|
string | name |
Returns
Type | Description |
---|---|
null | Resource |