Skip to main content

PlayStatePlayback

Kindclass
Packageplay.helpers
Full nameplay.helpers.PlayStatePlayback
Sourcesource/play/helpers/PlayStatePlayback.hx
Metadata@:access(play.PlayState) @:access(backend.MusicBeatState)

Public methods​

setSongTime​

static function setSongTime(state:PlayState, time:Float)
ParameterTypeDefault
statePlayState—
timeFloat—

View source

startSong​

static function startSong(state:PlayState):Void
ParameterTypeDefault
statePlayState—

View source

lerpSongSpeed​

static function lerpSongSpeed(state:PlayState, num:Float, time:Float):Void
ParameterTypeDefault
statePlayState—
numFloat—
timeFloat—

View source

changeTheSettingsBitch​

static function changeTheSettingsBitch(state:PlayState)
ParameterTypeDefault
statePlayState—

View source

resyncVocals​

static function resyncVocals(state:PlayState):Void
ParameterTypeDefault
statePlayState—

View source

unpauseVocals​

static function unpauseVocals(state:PlayState)
ParameterTypeDefault
statePlayState—

View source

pauseVocals​

static function pauseVocals(state:PlayState)
ParameterTypeDefault
statePlayState—

View source

setVocalsTime​

static function setVocalsTime(state:PlayState, time:Float)
ParameterTypeDefault
statePlayState—
timeFloat—

View source

finishSong​

static function finishSong(state:PlayState, ignoreNoteOffset:Bool = false):Void
ParameterTypeDefault
statePlayState—
ignoreNoteOffset (optional)Boolfalse

View source

loopSongLol​

static function loopSongLol(state:PlayState)
ParameterTypeDefault
statePlayState—

View source

calculateTrollModeStuff​

static function calculateTrollModeStuff(state:PlayState, pb:Float):Float
ParameterTypeDefault
statePlayState—
pbFloat—

View source

calculateResetTime​

static function calculateResetTime(state:PlayState):Float
ParameterTypeDefault
statePlayState—

View source

loopCallback​

static function loopCallback(state:PlayState, startingPoint:Float = 0)
ParameterTypeDefault
statePlayState—
startingPoint (optional)Float0

View source

endSong​

static function endSong(state:PlayState):Void
ParameterTypeDefault
statePlayState—

View source

restartSong​

static function restartSong(state:PlayState, noTrans:Bool = true)

Only compiled when #if DISCORD_ALLOWED DiscordClient.resetClientID(); #end + #if DISCORD_ALLOWED DiscordClient.resetClientID(); #end.

ParameterTypeDefault
statePlayState—
noTrans (optional)Booltrue

View source