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

Constructors

new
Watermark(
logger: ILogger,
configServer: ConfigServer,
localisationService: LocalisationService,
watermarkLocale?: WatermarkLocale,
)

Properties

protected
akiConfig: ICoreConfig
protected
configServer: ConfigServer
protected
localisationService: LocalisationService
protected
logger: ILogger
protected
text: string[]
protected
versionLabel: string
protected
optional
watermarkLocale: WatermarkLocale

Methods

protected
draw(): void

Draw the watermark

protected
resetCursor(): void

Reset console cursor to top

protected
setTitle(): void

Set window title

Handle singleplayer/settings/version Get text shown in game on screen, can't be translated as it breaks bsgs client when certian characters are used

getVersionTag(withEftVersion?: boolean): string

Get a version string (x.x.x) or (x.x.x-BLEEDINGEDGE) OR (X.X.X (18xxx))

initialize(): void