Namespace: o2

o2

Members

(static) autoMode :boolean

Type:
  • boolean

(static) backLayers

Properties:
Name Type Description
backLayers Object
Properties
Name Type Description
baseLayer BaseLayer
imageLayers Array.<ImageLayer>
messageLayers Array.<MessageLayer>

(static) bgm :Sound

Type:

(static) clickSkipEnabled :boolean

Type:
  • boolean

(static) currentMessageLayer

Properties:
Type Description
MessageLayer

(static) currentMessageLayerWithBack

Properties:
Type Description
boolean

(static) currentSaveAdapter :Tag.actions.save.Adapter

Type:
  • Tag.actions.save.Adapter

(static, constant) DEBUG_LEVEL_CAUTION

(static, constant) DEBUG_LEVEL_ERROR

(static, constant) DEBUG_LEVEL_LOG

(static, constant) DEBUG_LEVEL_OFF

(static) debugLevel :o2.DEBUG_LEVEL

Type:
  • o2.DEBUG_LEVEL

(static) extraAutoHideLayers :Array.<Layer>

Type:

(static) fontList :object.<string, string>

Type:
  • object.<string, string>

(static) foreLayers

Properties:
Name Type Description
foreLayers Object
Properties
Name Type Description
baseLayer BaseLayer
imageLayers Array.<ImageLayer>
messageLayers Array.<MessageLayer>

(static) glyphLayer :GlyphLayer

Type:

(static) historyLayer :HistoryLayer

Type:

(static) imageList :object.<string, string>

Type:
  • object.<string, string>

(static, nullable) prioritySound :Sound

Type:

(static, constant) SAVE_MODE_KAG3

(static, constant) SAVE_MODE_O2KAG

(static) se :Array.<Sound>

Type:

(static, constant) SERVER_MODE_O2SERVER

(static, constant) SERVER_MODE_STANDALONE

(static, constant) SKIP_MODE_CLICK

(static, constant) SKIP_MODE_FAST_FORWARD

(static, constant) SKIP_MODE_NONE

(static, constant) SKIP_MODE_PAGE

(static, constant) SKIP_MODE_STOP

(static, constant) SKIP_MODE_UNREAD

(static) skipMode :o2.SKIP_MODE

Type:
  • o2.SKIP_MODE

(static) soundList :object.<string, string>

Type:
  • object.<string, string>

(static) videoList :object.<string, string>

Type:
  • object.<string, string>

(static) videos :Array.<Video>

Type:

Methods

(static) allBackLayers() → {Array.<Layer>}

Returns:
All back layers, designed to be overwritten
Type
Array.<Layer>

(static) allForeLayers() → {Array.<Layer>}

Returns:
All fore layers, designed to be overwritten
Type
Array.<Layer>

(static) allLayers() → {Array.<Layer>}

Returns:
All layers.
Type
Array.<Layer>

(static) autoHideLayers()

Returns:
右クリックされた時、どのレイヤを隠すべきなのか

(static) cancelAutoMode()

(static) enterAutoMode()

(static) error()

(static) hideGlyph()

(static) log()

(static) printLog(debugLevel)

Parameters:
Name Type Description
debugLevel o2.DEBUG_LEVEL

(static) refreshRendererLayers()

Sort layers by their index, call this only when you changed layer's index.

(static) reloadDelaySpeed()

(static) resetLayersIndex()

reset layers to default index.

(static) setBgmGVolume(volume)

Set Global volume of BGM
Parameters:
Name Type Description
volume number from 0 to 1

(static) setCursorStyle(style)

Parameters:
Name Type Description
style "pointer" | "waitClick" | "draggable" | "default"

(static) setSeGVolume(volume)

Set Global volume of SE
Parameters:
Name Type Description
volume number from 0 to 1

(static) showGlyph(mode)

Parameters:
Name Type Description
mode "line" | "page"

(static) skipToClick()

(static) skipToPage()

(static) skipToStop()

(static) skipToStopForcibly()

(static) skipWithMode(skipMode)

Parameters:
Name Type Description
skipMode o2.SKIP_MODE

(static) warn()