Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • JSONTemplate
    • ActorBase

Implements

  • IActor

Index

Constructors

constructor

  • new ActorBase(emulator: IMemory, pointer: number): ActorBase

Properties

actorUUID

actorUUID: string = ''

Private Readonly emulator

emulator: IMemory

exists

exists: boolean = true

instance

instance: number

isTransitionActor

isTransitionActor: boolean = false

jsonFields

jsonFields: string[] = ...

position

position: IPosition

rotation

rotation: IRotation

Accessors

actorID

  • get actorID(): number

actorType

  • get actorType(): ActorCategory

health

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

objectTableIndex

  • get objectTableIndex(): number

redeadFreeze

  • get redeadFreeze(): number
  • set redeadFreeze(f: number): void

renderingFlags

  • get renderingFlags(): number
  • set renderingFlags(flags: number): void

room

  • get room(): number
  • set room(r: number): void

soundEffect

  • get soundEffect(): number
  • set soundEffect(s: number): void

variable

  • get variable(): number

Methods

bitCount16

  • bitCount16(value: number): number

bitCount32

  • bitCount32(value: number): number

bitCount8

  • bitCount8(value: number): number

bitCountBuffer

  • bitCountBuffer(buf: Buffer, off: number, len: number): number

dereferencePointer

  • dereferencePointer(addr: number): number

destroy

  • destroy(): void

getRdramBuffer

  • getRdramBuffer(): ArrayBuffer

invalidateCachedCode

  • invalidateCachedCode(): void

memoryDebugLogger

  • memoryDebugLogger(bool: boolean): void

rdramRead16

  • rdramRead16(addr: number): number

rdramRead32

  • rdramRead32(addr: number): number

rdramRead8

  • rdramRead8(addr: number): number

rdramReadBit8

  • rdramReadBit8(addr: number, bitoffset: number): boolean

rdramReadBits8

  • rdramReadBits8(addr: number): Buffer

rdramReadBitsBuffer

  • rdramReadBitsBuffer(addr: number, bytes: number): Buffer

rdramReadBuffer

  • rdramReadBuffer(addr: number, size: number): Buffer

rdramReadF32

  • rdramReadF32(addr: number): number

rdramReadPtr16

  • rdramReadPtr16(addr: number, offset: number): number

rdramReadPtr32

  • rdramReadPtr32(addr: number, offset: number): number

rdramReadPtr8

  • rdramReadPtr8(addr: number, offset: number): number

rdramReadPtrBit8

  • rdramReadPtrBit8(addr: number, offset: number, bitoffset: number): boolean

rdramReadPtrBits8

  • rdramReadPtrBits8(addr: number, offset: number): Buffer

rdramReadPtrBitsBuffer

  • rdramReadPtrBitsBuffer(addr: number, offset: number, bytes: number): Buffer

rdramReadPtrBuffer

  • rdramReadPtrBuffer(addr: number, offset: number, size: number): Buffer

rdramReadPtrF32

  • rdramReadPtrF32(addr: number, offset: number): number

rdramReadPtrS16

  • rdramReadPtrS16(addr: number, offset: number): number

rdramReadPtrS32

  • rdramReadPtrS32(addr: number, offset: number): number

rdramReadPtrS8

  • rdramReadPtrS8(addr: number, offset: number): number

rdramReadS16

  • rdramReadS16(addr: number): number

rdramReadS32

  • rdramReadS32(addr: number): number

rdramReadS8

  • rdramReadS8(addr: number): number

rdramWrite16

  • rdramWrite16(addr: number, value: number): void

rdramWrite32

  • rdramWrite32(addr: number, value: number): void

rdramWrite8

  • rdramWrite8(addr: number, value: number): void

rdramWriteBit8

  • rdramWriteBit8(addr: number, bitoffset: number, bit: boolean): void

rdramWriteBits8

  • rdramWriteBits8(addr: number, buf: Buffer): void

rdramWriteBitsBuffer

  • rdramWriteBitsBuffer(addr: number, buf: Buffer): void

rdramWriteBuffer

  • rdramWriteBuffer(addr: number, buf: Buffer): void

rdramWriteF32

  • rdramWriteF32(addr: number, value: number): void

rdramWritePtr16

  • rdramWritePtr16(addr: number, offset: number, value: number): void

rdramWritePtr32

  • rdramWritePtr32(addr: number, offset: number, value: number): void

rdramWritePtr8

  • rdramWritePtr8(addr: number, offset: number, value: number): void

rdramWritePtrBit8

  • rdramWritePtrBit8(addr: number, offset: number, bitoffset: number, bit: boolean): void

rdramWritePtrBits8

  • rdramWritePtrBits8(addr: number, offset: number, buf: Buffer): void

rdramWritePtrBitsBuffer

  • rdramWritePtrBitsBuffer(addr: number, offset: number, buf: Buffer): void

rdramWritePtrBuffer

  • rdramWritePtrBuffer(addr: number, offset: number, buf: Buffer): void

rdramWritePtrF32

  • rdramWritePtrF32(addr: number, offset: number, value: number): void

toJSON

  • toJSON(): any
  • Returns any

Generated using TypeDoc