@occultus/hidden-years - v3.1.0-alpha.4
Preparing search index...
core/Toast
NowPlayingToast
Class NowPlayingToast
Hierarchy
Toast
NowPlayingToast
Index
Constructors
constructor
Properties
author
content
icon
Path
name
Methods
send
send
To
World
Constructors
constructor
new
NowPlayingToast
(
name
:
string
,
author
:
string
,
iconPath
:
string
,
)
:
NowPlayingToast
Parameters
name
:
string
author
:
string
iconPath
:
string
Returns
NowPlayingToast
Properties
Readonly
author
author
:
string
Readonly
content
content
:
TextProvider
通知消息,推荐不超过两行
icon
Path
iconPath
:
string
Readonly
name
name
:
string
Methods
send
send
(
player
:
Player
)
:
void
向玩家发送吐司通知
Parameters
player
:
Player
Returns
void
send
To
World
sendToWorld
()
:
void
向所有玩家发送吐司通知
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
author
content
icon
Path
name
Methods
send
send
To
World
@occultus/hidden-years - v3.1.0-alpha.4
Loading...
通知消息,推荐不超过两行