anomaly-packer
Version:
Anomaly Packer is a utility package for STALKER Anomaly creators to help them develop addons at speed with TypeScript's type-safety and game-oriented build tools.
26 lines (23 loc) • 1.32 kB
TypeScript
/** @noSelfInFile */
import type { Section } from 'anomaly-packer'
declare global {
namespace ui_item {
export function build_desc_footer(obj: CGameObject, sec: Section.Item, str: string): string
export function build_desc_header(obj: CGameObject, sec: Section.Item, str: string): string
export function build_name_first(obj: CGameObject, sec: Section.Item, str: string): string
export function build_name_last(obj: CGameObject, sec: Section.Item, str: string): string
export function build_short_name_first(obj: CGameObject, sec: Section.Item, str: string): string
export function get_list_highlight(): number
export function get_obj_desc(obj: CGameObject): string
export function get_obj_name(obj: CGameObject): string
export function get_obj_short_name(obj: CGameObject): string
export function get_sec_desc(sec: Section.Item): string
export function get_sec_name(sec: Section.Item): string
export function get_sec_short_name(sec: Section.Item): string
export function item_description(obj: CGameObject, str: string): string
export function item_name(obj: CGameObject, str: string): string
export function item_short_name(obj: CGameObject, str: string): string
export function on_game_start(): void
export function refresh_strings(): void
}
}