@duplicis/types - v1.0.0
Preparing search index...
Duplicis
Client
Interface Client
Duplicis client singleton.
interface
Client
{
app
?:
App
;
canvas
:
HTMLCanvasElement
;
constructor
:
unknown
;
game
?:
Game
;
i18n
:
TranslationFunctions
;
sidebar
:
ClientSidebar
;
login
(
username
?:
string
|
null
,
password
?:
string
|
null
,
profile
?:
string
|
null
,
)
:
void
;
logout
()
:
void
;
reload
(
username
?:
string
|
null
,
password
?:
string
|
null
,
profile
?:
string
|
null
,
)
:
Promise
<
void
>
;
}
Hierarchy (
View Summary
)
ClientPrototype
Client
Index
Properties
app?
canvas
constructor
game?
i18n
sidebar
Methods
login
logout
reload
Properties
Optional
Readonly
app
app
?:
App
Readonly
canvas
canvas
:
HTMLCanvasElement
Readonly
constructor
constructor
:
unknown
Optional
Readonly
game
game
?:
Game
Readonly
i18n
i18n
:
TranslationFunctions
Readonly
sidebar
sidebar
:
ClientSidebar
Methods
login
login
(
username
?:
string
|
null
,
password
?:
string
|
null
,
profile
?:
string
|
null
,
)
:
void
Parameters
Optional
username
:
string
|
null
Optional
password
:
string
|
null
Optional
profile
:
string
|
null
Returns
void
logout
logout
()
:
void
Returns
void
reload
reload
(
username
?:
string
|
null
,
password
?:
string
|
null
,
profile
?:
string
|
null
,
)
:
Promise
<
void
>
Parameters
Optional
username
:
string
|
null
Optional
password
:
string
|
null
Optional
profile
:
string
|
null
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
app
canvas
constructor
game
i18n
sidebar
Methods
login
logout
reload
@duplicis/types - v1.0.0
Loading...
Duplicis client singleton.