Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
class BundleLoader
Re-export
import { BundleLoader } from "https://deno.land/x/sptaki@1.2.0/loaders/mod.ts";

Constructors

new
BundleLoader(
httpServerHelper: HttpServerHelper,
vfs: VFS,
jsonUtil: JsonUtil,
bundleHashCacheService: BundleHashCacheService,
)

Properties

protected
bundleHashCacheService: BundleHashCacheService
protected
bundles: Record<string, BundleInfo>
protected
httpServerHelper: HttpServerHelper
protected
jsonUtil: JsonUtil
protected
vfs: VFS

Methods

addBundle(key: string, b: BundleInfo): void
addBundles(modpath: string): void
getBundle(key: string): BundleInfo

Handle singleplayer/bundles