MCPcopy
hub / github.com/iChochy/NCE / loadPlayTime

Method loadPlayTime

js/ReadingSystem.js:674–679  ·  view source on GitHub ↗

* 加载播放进度

()

Source from the content-addressed store, hash-verified

672 * 加载播放进度
673 */
674 loadPlayTime() {
675 const time = getPlayTime(this.state.bookPath, this.state.currentUnitIndex);
676 if (time > 0) {
677 this.state.savedPlayTime = time;
678 }
679 }
680
681 /**
682 * 加载保存的播放速度

Callers 1

loadUnitByIndexMethod · 0.95

Calls 1

getPlayTimeFunction · 0.90

Tested by

no test coverage detected