Preparing search index...
The search index is not available
@xverse/core
@xverse/core
Keyboards
Class Keyboards
Hierarchy
BaseKeyBoard
Keyboards
Index
Constructors
constructor
Properties
topics
Accessors
move
Player
Methods
destroy
disable
dispose
enable
init
off
on
once
Constructors
constructor
new
Keyboards
(
world
)
:
Keyboards
Parameters
world
:
World
Returns
Keyboards
Properties
topics
topics
:
Record
<
keyof
IKeyboardEvent
,
ITopic
<
any
>
[]
>
= ...
Accessors
move
Player
get
movePlayer
(
)
:
boolean
Returns
boolean
set
movePlayer
(
value
)
:
void
Parameters
value
:
boolean
Returns
void
Methods
destroy
destroy
(
)
:
void
Returns
void
disable
disable
(
)
:
void
Returns
void
dispose
dispose
(
)
:
void
移除所有的监听事件
Returns
void
enable
enable
(
)
:
void
Returns
void
init
init
(
options
?
)
:
void
Parameters
Optional
options
:
IKeyBoardOptions
Returns
void
off
off
<
K
>
(
topic
,
listener
?
)
:
void
移除监听事件
Type Parameters
K
extends
keyof
IKeyboardEvent
Parameters
topic
:
K
Optional
listener
:
IListener
<
IKeyboardEvent
[
K
]
>
Returns
void
on
on
<
K
>
(
topic
,
listener
,
order
?
)
:
{
unsub
:
(
(
)
=>
void
)
;
}
添加事件监听器
Type Parameters
K
extends
keyof
IKeyboardEvent
Parameters
topic
:
K
listener
:
IListener
<
IKeyboardEvent
[
K
]
>
Optional
order
:
number
Returns
{
unsub
:
(
(
)
=>
void
)
;
}
unsub
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
once
once
<
K
>
(
topic
,
listener
,
order
?
)
:
{
unsub
:
(
(
)
=>
void
)
;
}
添加事件监听器,单个 listener 只执行1次
Type Parameters
K
extends
keyof
IKeyboardEvent
Parameters
topic
:
K
listener
:
IListener
<
IKeyboardEvent
[
K
]
>
Optional
order
:
number
Returns
{
unsub
:
(
(
)
=>
void
)
;
}
unsub
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
topics
move
Player
destroy
disable
dispose
enable
init
off
on
once
@xverse/core
Color3
Color4
Vector3
EApplyType
EApprovalType
EAuthCheckResType
EAuthType
EAvatarComponentType
EAvatarSkinType
EBroadcastLevel
EChatMsgType
ECodes
EFPSStatus
EFolloweTypeV2
EGroupStatus
EGroupStatusV2
EGroupTypeV2
ELoggerLevels
EMediaSourceType
ENetworkDetector
ENetworkDetectorType
Loading...
Generated using
TypeDoc
移除所有的监听事件