Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • JSONTemplate
    • GlobalContext

Implements

  • IGlobalContext

Index

Constructors

constructor

Properties

Private chest_flags_addr

chest_flags_addr: number = 0x001d38

Private collectable_flag_addr

collectable_flag_addr: number = 0x01d44

Private continue_state_addr

continue_state_addr: number = 0x98

Private current_room_addr

current_room_addr: number = 0x011cbc

Private current_scene_addr

current_scene_addr: number = 0x0000a4

Private emulator

emulator: IMemory

Private frame_count_addr

frame_count_addr: number = 0x011de4

jsonFields

jsonFields: string[] = ...

Private room_clear_flags_addr

room_clear_flags_addr: number = 0x001d3c

Private scene_frame_count_addr

scene_frame_count_addr: number = 0x9c

Private switch_flags_addr

switch_flags_addr: number = 0x001d28

Private temp_switch_flags_addr

temp_switch_flags_addr: number = 0x001d2c

viewStruct

viewStruct: IViewStruct

Accessors

continue_state

  • get continue_state(): boolean

fogColor

  • get fogColor(): number
  • set fogColor(color: number): void

fogDistance

  • get fogDistance(): number
  • set fogDistance(fog: number): void

framecount

  • get framecount(): number

lastOrCurrentEntrance

  • get lastOrCurrentEntrance(): number

liveSceneData_chests

  • get liveSceneData_chests(): Buffer
  • set liveSceneData_chests(buf: Buffer): void

liveSceneData_clear

  • get liveSceneData_clear(): Buffer
  • set liveSceneData_clear(buf: Buffer): void

liveSceneData_collectable

  • get liveSceneData_collectable(): Buffer
  • set liveSceneData_collectable(buf: Buffer): void

liveSceneData_switch

  • get liveSceneData_switch(): Buffer
  • set liveSceneData_switch(buf: Buffer): void

liveSceneData_temp

  • get liveSceneData_temp(): Buffer
  • set liveSceneData_temp(buf: Buffer): void

room

  • get room(): number

scene

  • get scene(): number

scene_framecount

  • get scene_framecount(): number

Methods

getSaveDataForCurrentScene

  • getSaveDataForCurrentScene(): Buffer

toJSON

  • toJSON(): any
  • Returns any

writeSaveDataForCurrentScene

  • writeSaveDataForCurrentScene(buf: Buffer): void

Generated using TypeDoc