UNPKG

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.

28 lines (23 loc) 1.04 kB
/** @noSelfInFile */ import type { Section } from 'anomaly-packer' declare global { namespace ph_appforce { export function add_to_binder(npc: CGameObject, ini: system_ini, scheme: string, section: Section.Item, storage: AnyTable): void export function set_scheme(npc: CGameObject, ini: system_ini, scheme: string, section: Section.Item, gulag_name: string): void } /** @customConstructor ph_force */ class ph_force { object: TODO // @generated field — refine type process: boolean // @generated field — refine type st: TODO // @generated field — refine type time: TODO // @generated field — refine type constructor(obj: CGameObject, storage: AnyTable) reset_scheme(): void update(delta: number): void } namespace ph_appforce { /** Anomaly `class "ph_force"` is also reachable on the `ph_appforce` script namespace; typed as * the instance so its methods can be captured/overridden (`ph_appforce.ph_force.Method = ...`). */ export const ph_force: ph_force } }