@kismet.ts/shared / Exports / RemoteKismet
Class: RemoteKismet
Small class wrapper around remote kismet assets.
Table of contents
Constructors
Methods
Constructors
constructor
• new RemoteKismet()
Methods
createUrl
▸ Static
Protected
createUrl(type
, version
): string
Parameters
Name | Type |
---|---|
type | RemoteKismetAssetType |
version | string |
Returns
string
Defined in
fetchAsset
▸ Static
fetchAsset(type
, options
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
type | RemoteKismetAssetType |
options | RemoteKismetAssetFetchOptions |
Returns
Promise
<unknown
>
Defined in
fetchDummyAsset
▸ Static
Private
fetchDummyAsset(name
): Promise
<string
>
Parameters
Name | Type |
---|---|
name | string |
Returns
Promise
<string
>