discord-mcbe
Preparing search index...
@discord-mcbe/client
bds
BaseClient
Class BaseClient<T>
Abstract
Type Parameters
T
extends
IBridgeClient
=
IBridgeClient
Hierarchy (
View Summary
)
BaseClient
BridgeClient
BridgeClient
Index
Constructors
constructor
Properties
bridge
logger
type
Methods
get
World
Name
is
BDS
is
Local
set
World
Name
Constructors
constructor
new
BaseClient
<
T
extends
IBridgeClient
=
IBridgeClient
>
(
bridge
:
T
,
defaultWorldName
?:
string
|
(
()
=>
string
|
undefined
)
,
)
:
BaseClient
<
T
>
Type Parameters
T
extends
IBridgeClient
=
IBridgeClient
Parameters
bridge
:
T
Optional
defaultWorldName
:
string
|
(
()
=>
string
|
undefined
)
Returns
BaseClient
<
T
>
Properties
Readonly
bridge
bridge
:
T
Readonly
logger
logger
:
Logger
= ...
Abstract
Readonly
type
type
:
ClientType
Methods
get
World
Name
getWorldName
()
:
string
|
undefined
Returns
string
|
undefined
is
BDS
isBDS
()
:
this
is
BaseClient
<
ServerNetBridgeClient
>
Returns
this
is
BaseClient
<
ServerNetBridgeClient
>
is
Local
isLocal
()
:
this
is
BaseClient
<
WebSocketBridgeClient
>
Returns
this
is
BaseClient
<
WebSocketBridgeClient
>
set
World
Name
setWorldName
(
worldName
:
string
)
:
void
Parameters
worldName
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
bridge
logger
type
Methods
get
World
Name
is
BDS
is
Local
set
World
Name
discord-mcbe
Loading...