APIDump: Documented the cJukeboxEntity.
This commit is contained in:
parent
4f2645d0e5
commit
194aa1decb
@ -1464,6 +1464,22 @@ end
|
||||
},
|
||||
}, -- cItems
|
||||
|
||||
cJukeboxEntity =
|
||||
{
|
||||
Desc = [[
|
||||
This class represents a jukebox in the world. It can play the records, either when the
|
||||
{{cPlayer|player}} uses the record on the jukebox, or when a plugin instructs it to play.
|
||||
]],
|
||||
Inherits = "cBlockEntity",
|
||||
Functions =
|
||||
{
|
||||
EjectRecord = { Params = "", Return = "", Notes = "Ejects the current record as a {{cPickup|pickup}}. No action if there's no current record. To remove record without generating the pickup, use SetRecord(0)" },
|
||||
GetRecord = { Params = "", Return = "number", Notes = "Returns the record currently present. Zero for no record, E_ITEM_*_DISC for records." },
|
||||
PlayRecord = { Params = "", Return = "", Notes = "Plays the currently present record. No action if there's no current record." },
|
||||
SetRecord = { Params = "number", Return = "", Notes = "Sets the currently present record. Use zero for no record, or E_ITEM_*_DISC for records." },
|
||||
},
|
||||
}, -- cJukeboxEntity
|
||||
|
||||
cLineBlockTracer =
|
||||
{
|
||||
Desc = [[Objects of this class provide an easy-to-use interface to tracing lines through individual
|
||||
|
Loading…
Reference in New Issue
Block a user