Class Resource
Package: @altmp/altv-types
Syntax
Properties
|
Improve this Doc
View Source
isStarted
Declaration
public readonly isStarted: boolean
Property Value
|
Improve this Doc
View Source
type
Declaration
public readonly type: string
Property Value
|
Improve this Doc
View Source
name
Declaration
public readonly name: string
Property Value
|
Improve this Doc
View Source
main
Declaration
public readonly main: string
Property Value
|
Improve this Doc
View Source
exports
Declaration
public readonly exports: Record<string, any>
Property Value
Type |
Description |
Record<string, any> |
|
|
Improve this Doc
View Source
dependencies
Declaration
public readonly dependencies: readonly string[]
Property Value
Type |
Description |
readonly string[] |
|
|
Improve this Doc
View Source
dependants
Declaration
public readonly dependants: readonly string[]
Property Value
Type |
Description |
readonly string[] |
|
|
Improve this Doc
View Source
requiredPermissions
Declaration
public readonly requiredPermissions: readonly Permission[]
Property Value
|
Improve this Doc
View Source
optionalPermissions
Declaration
public readonly optionalPermissions: readonly Permission[]
Property Value
|
Improve this Doc
View Source
valid
Declaration
public readonly valid: boolean
Property Value
|
Improve this Doc
View Source
config
Declaration
public readonly config: IResourceConfig
Property Value
|
Improve this Doc
View Source
all
Declaration
public readonly static all: readonly Resource[]
Property Value
|
Improve this Doc
View Source
current
Declaration
public readonly static current: Resource
Property Value
Methods
|
Improve this Doc
View Source
getByName(string)
Declaration
public static getByName(name: string): null | Resource
Parameters
Type |
Name |
Description |
string |
name |
|
Returns