Skip to content

host ​

INFO

Başvuru metni WIT dosyalarından otomatik üretildiği için İngilizce.

Facts about the running host and the calling mod.

Package blockheads:api@0.3.1 · Lua table bh.host · WIT source

Uses: types.{side}

Functions ​

api-version function ​

txt
api-version: func() -> string;

The blockheads:api version the host implements, as semver text (for example 0.1.0).

mod-id function ​

txt
mod-id: func() -> string;

The id of the calling mod (see types.mod-id).

mod-version function ​

txt
mod-version: func() -> string;

The version of the calling mod, from its mod.toml.

current-side function ​

txt
current-side: func() -> side;

Which side this code runs on.

host-name function ​

txt
host-name: func() -> string;

A short host name and version, for logs only (for example blockheads-server 0.2.0).

Resmî olmayan topluluk projesi. Majic Jungle Software veya Noodlecake ile bağlantısı yoktur. Oyun dosyası içermez.