Hierarchy

Constructors

Properties

Accessors

Methods

getAllowedStates getArrayBuffer getDebugInfo getIndexSize getInitialBufferSize getRegistrarId getSynchronizationCheckData getType isAllowedWhenPaused isSyncCheckEnabled preProcess preReadData preWriteData process processAndSend processSerializedData readBool readContainer readCorpse readCreature readData readDoodad readEntity readFloat32 readFloat64 readHuman readIndexedBool readIndexedCorpse readIndexedCreature readIndexedDoodad readIndexedEntity readIndexedFloat64 readIndexedHuman readIndexedInt8 readIndexedItem readIndexedItems readIndexedMovementIntent readIndexedNPC readIndexedObject readIndexedPlayer readIndexedString readIndexedStringArray readIndexedTileEvent readIndexedUint16 readIndexedUint16Array readIndexedUint32 readIndexedUint32NumberArray readIndexedUint8 readIndexedUint8Array readIndexedVector2 readIndexedVector2Array readIndexedVector3 readInt16 readInt32 readInt8 readIsland readItem readItems readMovementIntent readNPC readObject readOptionalBool readOptionalDoodad readOptionalInt16 readOptionalItem readOptionalItems readOptionalString readOptionalTile readOptionalUint8 readOptionalVector3 readPlayer readString readStringArray readTile readTileArray readTileEvent readTruthiness readUint16 readUint16Array readUint32 readUint32NumberArray readUint8 readUint8Array readVector2 readVector2Array readVector3 resetIndexes send sendTo serializeData writeBool writeContainer writeCorpse writeCreature writeData writeDoodad writeEntity writeFloat32 writeFloat64 writeHuman writeIndexedBool writeIndexedCorpse writeIndexedCreature writeIndexedDoodad writeIndexedEntity writeIndexedFloat64 writeIndexedHuman writeIndexedInt8 writeIndexedItem writeIndexedItems writeIndexedMovementIntent writeIndexedNPC writeIndexedObject writeIndexedPlayer writeIndexedString writeIndexedStringArray writeIndexedTileEvent writeIndexedUint16 writeIndexedUint16Array writeIndexedUint32 writeIndexedUint32NumberArray writeIndexedUint8 writeIndexedUint8Array writeIndexedVector2 writeIndexedVector2Array writeIndexedVector3 writeInt16 writeInt32 writeInt8 writeIsland writeItem writeItems writeMovementIntent writeNPC writeObject writeOptionalBool writeOptionalDoodad writeOptionalInt16 writeOptionalItem writeOptionalItems writeOptionalString writeOptionalTile writeOptionalUint8 writeOptionalVector3 writePlayer writeString writeStringArray writeTile writeTileArray writeTileEvent writeTruthiness writeUint16 writeUint16Array writeUint32 writeUint32NumberArray writeUint8 writeUint8Array writeVector2 writeVector2Array writeVector3 getRegistrarId setRegistrarId

Constructors

Properties

bufferSize: number
byteArray: Uint8Array
byteOffset: number
connection: IConnection
dataView: DataView
pauseSource: PauseSource
paused: boolean
synchronizationCheckData: ISynchronizationCheckData = {}
registrarId: number

Accessors

  • get constructorFunction(): typeof default
  • Returns typeof default

Methods

  • Parameters

    • Optional id: number

    Returns ArrayBuffer

  • Returns string

  • Returns number

  • Returns number

  • Returns number

  • Returns boolean

  • Returns boolean

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Parameters

    • dataView: DataView

    Returns void

  • Returns boolean

  • Returns void

  • Returns number

  • Returns number

  • Returns undefined | boolean

  • Returns undefined | number

  • Returns undefined | number

  • Returns unknown

  • Returns undefined | string

  • Returns undefined | string[]

  • Returns undefined | number

  • Returns undefined | Uint16Array

  • Returns undefined | number

  • Returns undefined | number[]

  • Returns undefined | number

  • Returns undefined | Uint8Array

  • Returns number

  • Returns number

  • Returns number

  • Returns undefined | default

  • Returns unknown

  • Returns undefined | boolean

  • Returns undefined | number

  • Returns undefined | string

  • Returns undefined | number

  • Returns string

  • Returns string[]

  • Returns undefined | true

  • Returns number

  • Returns Uint16Array

  • Returns number

  • Returns number[]

  • Returns number

  • Returns Uint8Array

  • Parameters

    • write: boolean

    Returns void

  • Parameters

    Returns void

  • Returns number

  • Parameters

    • value: boolean

    Returns boolean

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Returns void

  • Parameters

    Returns void

  • Parameters

    • value: number

    Returns void

  • Parameters

    • value: number

    Returns void

  • Parameters

    • Optional value: boolean

    Returns void

  • Parameters

    • Optional value: number

    Returns void

  • Parameters

    • Optional value: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • Optional value: unknown

    Returns void

  • Parameters

    • Optional value: string

    Returns void

  • Parameters

    • Optional value: string[]

    Returns void

  • Parameters

    • Optional value: number

    Returns void

  • Parameters

    • Optional value: Uint16Array

    Returns void

  • Parameters

    • Optional value: number

    Returns void

  • Parameters

    • Optional value: number[]

    Returns void

  • Parameters

    • Optional value: number

    Returns void

  • Parameters

    • Optional value: Uint8Array

    Returns void

  • Parameters

    • value: number

    Returns void

  • Parameters

    • value: number

    Returns void

  • Parameters

    • value: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • value: unknown

    Returns void

  • Parameters

    • Optional value: boolean

    Returns void

  • Parameters

    • Optional value: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • Optional value: string

    Returns void

  • Parameters

    • Optional value: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • value: string

    Returns void

  • Parameters

    • value: string[]

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Writes & returns a boolean of whether the given value is truthy

    Type Parameters

    • T

    Parameters

    • Optional value: T

    Returns value is Exclude<T, undefined | null | false | "" | 0>

  • Parameters

    • value: number

    Returns void

  • Parameters

    • value: Uint16Array

    Returns void

  • Parameters

    • value: number

    Returns void

  • Parameters

    • value: number[]

    Returns void

  • Parameters

    • value: number

    Returns void

  • Parameters

    • value: Uint8Array

    Returns void

  • Returns number

  • Parameters

    • id: number

    Returns void

Generated using TypeDoc