HammeriteVersion

Core: files, names and extension. Inherits RefCounted

Which Hammerite this is. The four addons are released together under one version, so a game can ask any of them - and a bug report should say it.

Methods

ReturnsMethod
boolat_least(major: int, minor: int = 0, patch: int = 0) static

Constants

STRING

const STRING = "1.0.0"

Semantic versioning over the supported API (docs/api-stability.md). Kept equal to every addon's plugin.cfg, and to MAJOR, MINOR and PATCH, by a test.

MAJOR

const MAJOR = 1

The major part of STRING: a change here may break what the supported API promised.

MINOR

const MINOR = 0

The minor part of STRING: additions to the supported API, nothing changed.

PATCH

const PATCH = 0

The patch part of STRING: fixes only.

Method descriptions

at_least()

static func at_least(major: int, minor: int = 0, patch: int = 0) -> bool

Whether this Hammerite is major.minor.patch or later, for a game or addon that needs something a release added.

Hammerite 1.0 · built from a6dd634, 2026-10-10