Options
All
  • Public
  • Public/Protected
  • All
Menu

Asphyxia CORE Module API

Index

Type aliases

Helper type for typing your custom route.

EamusePluginRoute: (req: EamuseInfo, data: any, send: EamuseSend) => Promise<any>

Type declaration

KAttrMap: {}

Attribute object

Type declaration

  • [key: string]: string
KBigIntGroupType: "2s64" | "2u64" | "3s64" | "3u64" | "4s64" | "4u64" | "vs8" | "vu8" | "vs16" | "vu16"
KBigIntType: "s64" | "u64"
KEncoding: "shift_jis" | "utf8" | "euc-jp" | "ascii" | "iso-8859-1"

Supported response encoding

KNumberGroupType: "2s8" | "2u8" | "2s16" | "2u16" | "2s32" | "2u32" | "2f" | "2d" | "3s8" | "3u8" | "3s16" | "3u16" | "3s32" | "3u32" | "3f" | "3d" | "4s8" | "4u8" | "4s16" | "4u16" | "4s32" | "4u32" | "4f" | "4d" | "2b" | "3b" | "4b" | "vb"
KNumberType: "s8" | "u8" | "s16" | "u16" | "s32" | "u32" | "time" | "ip4" | "float" | "double" | "bool"
WebUIEventHandler: (data: any, send?: WebUISend) => Promise<void>

Type declaration

    • Helper type for typing your WebUIEvent.

      If you don't need to send anything. You can ignore send parameter. By default, if the handler don't send anything manually, it will send a redirect response to refresh the page when using form.

      Parameters

      Returns Promise<void>

Variables

CORE_VERSION: string

Version string of Asphyxia CORE, for example "v1.19"

CORE_VERSION_MAJOR: number

Major version of Asphyxia CORE, for version v1.19, this number is 1.

CORE_VERSION_MINOR: number

Minor version of Asphyxia CORE, for version v1.19, this number is 19.

Functions

Generated using TypeDoc