Module

x/v0rt4c_otbm/mod.ts>OTBMNode

This is a library that can read/write tibia .OTBM files.
Latest
class OTBMNode
Abstract
import { OTBMNode } from "https://dotland.deno.dev/x/v0rt4c_otbm@0.2.0/mod.ts";

Properties

protected
_attributes: IOTBMNodeAttributes
protected
_children: OTBMNode[]
protected
_nextSibling: OTBMNode | null
protected
_parent: OTBMNode | null
protected
_prevSibling: OTBMNode | null
protected
abstract
_type: OTBM_NODE_TYPE
readonly
children: OTBMNode[]
readonly
firstChild: OTBMNode | null
readonly
lastChild: OTBMNode | null
nextSibling: OTBMNode | null
parent: OTBMNode | null
prevSibling: OTBMNode | null

Methods

asRawObject(getFullBranch?): IRawOTBMNode
getFullBranch(asRawObject?)
isItem(): boolean
removeChildOTBMNode(OTBMNode: OTBMNode): boolean
setAttributes(otbmBuffer: Byt3s, OTBMNodeEndPos: number)