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.
30 lines (25 loc) • 946 B
TypeScript
/** @noSelfInFile */
import type { Section } from 'anomaly-packer'
declare global {
namespace bind_level_changer {
export function bind(obj: CGameObject): void
}
/** @customConstructor lchanger_binder */
class lchanger_binder extends object_binder {
st: TODO // @generated field — refine type
constructor(obj: CGameObject)
update(delta: number): void
reload(section: Section.Item): void
reinit(): void
net_spawn(se_abstract: CseAbstract): boolean
net_destroy(): void
net_save_relevant(): boolean
save(package: net_packet): void
load(reader: net_packet): void
}
namespace bind_level_changer {
/** Anomaly `class "lchanger_binder"` is also reachable on the `bind_level_changer` script namespace; typed as
* the instance so its methods can be captured/overridden (`bind_level_changer.lchanger_binder.Method = ...`). */
export const lchanger_binder: lchanger_binder
}
}