Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • JSONTemplate
    • SaveContext

Implements

  • ISaveContext

Index

Constructors

constructor

  • new SaveContext(emu: IMemory, log: ILogger): SaveContext

Properties

Private age_addr

age_addr: number = ...

boots

Private checksum_addr

checksum_addr: number = ...

Private cutscene_number_addr

cutscene_number_addr: number = ...

Private dd_flag_addr

dd_flag_addr: number = ...

Private death_addr

death_addr: number = ...

Private double_defense_addr_1

double_defense_addr_1: number = ...

Private double_defense_addr_2

double_defense_addr_2: number = ...

dungeonItemManager

dungeonItemManager: IDungeonItemManager

Private emulator

emulator: IMemory

Private entrance_index_addr

entrance_index_addr: number = ...

Private event_data_addr

event_data_addr: number = ...

Private health_addr

health_addr: number = ...

Private heart_container_addr

heart_container_addr: number = ...

Private inf_table_addr

inf_table_addr: number = ...

Private instance

instance: number = ...

inventory

inventory: Inventory

Private item_flag_addr

item_flag_addr: number = ...

jsonFields

jsonFields: string[] = ...

keyManager

keyManager: IKeyManager

Private magic_beans_addr

magic_beans_addr: number = ...

Private magic_current_addr

magic_current_addr: number = ...

Private magic_flag_1_addr

magic_flag_1_addr: number = ...

Private magic_flag_2_addr

magic_flag_2_addr: number = ...

Private magic_limit_addr

magic_limit_addr: number = ...

Private magic_meter_size_addr

magic_meter_size_addr: number = ...

Private navi_timer_addr

navi_timer_addr: number = ...

Private player_name_addr

player_name_addr: number = ...

questStatus

questStatus: IQuestStatus

Private rupees_address

rupees_address: number = ...

Private scene_data_addr

scene_data_addr: number = ...

shields

Private skulltula_table_addr

skulltula_table_addr: number = ...

swords

tunics

Private world_night_addr

world_night_addr: number = ...

Private world_time_addr

world_time_addr: number = ...

Private zeldaz_addr

zeldaz_addr: number = ...

Accessors

age

  • get age(): Age
  • set age(age: Age): void

checksum

  • get checksum(): number

cutscene_number

  • get cutscene_number(): number
  • set cutscene_number(index: number): void

dd_flag

  • get dd_flag(): boolean
  • set dd_flag(bool: boolean): void

death_counter

  • get death_counter(): number
  • set death_counter(deaths: number): void

double_defense

  • get double_defense(): number
  • set double_defense(n: number): void

entrance_index

  • get entrance_index(): number
  • set entrance_index(index: number): void

eventFlags

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

health

  • get health(): number
  • set health(hearts: number): void

heart_containers

  • get heart_containers(): number
  • set heart_containers(num: number): void

infTable

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

itemFlags

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

magic_beans_purchased

  • get magic_beans_purchased(): number
  • set magic_beans_purchased(amt: number): void

magic_current

  • get magic_current(): number
  • set magic_current(amount: number): void

magic_meter_size

  • get magic_meter_size(): Magic
  • set magic_meter_size(size: Magic): void

navi_timer

  • get navi_timer(): number
  • set navi_timer(time: number): void

permSceneData

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

player_name

  • get player_name(): string

rupee_count

  • get rupee_count(): number
  • set rupee_count(dosh: number): void

skulltulaFlags

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

world_night_flag

  • get world_night_flag(): boolean
  • set world_night_flag(bool: boolean): void

world_time

  • get world_time(): number
  • set world_time(time: number): void

zeldaz_string

  • get zeldaz_string(): string

Methods

toJSON

  • toJSON(): any
  • Returns any

Generated using TypeDoc