Search
Preparing search index...
The search index is not available
小游戏框架
Options
All
Public
Public/Protected
All
Inherited
Menu
小游戏框架
ObjReader
Class ObjReader
Hierarchy
Reader
ObjReader
Index
Constructors
constructor
Properties
base
Offset
is
Reader
offset
size
type
Methods
array
get
obj
set
set
Data
union
create
Constructors
constructor
new
Obj
Reader
(
schema
:
ObjSchema
, offset
:
number
)
:
ObjReader
Parameters
schema:
ObjSchema
offset:
number
Returns
ObjReader
Properties
base
Offset
base
Offset
:
number
= 0
is
Reader
is
Reader
:
boolean
= true
offset
offset
:
number
= 0
size
size
:
number
= 0
type
type
:
number
= 0
Methods
array
array
(
n
:
string
)
:
ArrayReader
Parameters
n:
string
Returns
ArrayReader
get
get
(
n
:
string
)
:
number
Parameters
n:
string
Returns
number
obj
obj
(
n
:
string
)
:
ObjReader
Parameters
n:
string
Returns
ObjReader
set
set
(
n
:
string
, v
:
number
)
:
void
Parameters
n:
string
v:
number
Returns
void
set
Data
set
Data
(
data
:
ArrayBuffer
, reader
?:
DataView
)
:
void
override
Parameters
data:
ArrayBuffer
Optional
reader:
DataView
Returns
void
union
union
(
n
:
string
)
:
UnionReader
Parameters
n:
string
Returns
UnionReader
Static
create
create
(
schema
:
Base
, offset
?:
number
)
:
Reader
Parameters
schema:
Base
offset:
number
= 0
Returns
Reader
Exports
Obj
Reader
constructor
base
Offset
is
Reader
offset
size
type
array
get
obj
set
set
Data
union
create
Generated using
TypeDoc