ObjectReferenceIndex - cwtickle/danoniplus GitHub Wiki
Japanese only
| < ID一覧 | オブジェクト一覧 | オブジェクト構成・ボタン > |
オブジェクトリファレンス
- Base Version: v38.3.0
主要オブジェクト
- g_rootObj :pencil:
- g_presetObj (共通設定ファイル) :pencil:
- g_headerObj :pencil:
- g_keyObj :pencil:
- g_stateObj :pencil:
- g_scoreObj :pencil:
- g_loadObj :pencil:
- g_gaugeOptionObj :pencil:
- g_detailObj :pencil:
- g_wordObj :pencil:
- g_attrObj :pencil:
- g_resultObj :pencil:
- g_resultMsgObj :pencil: - v19.5.2以降廃止
- g_rankObj :pencil:
- g_hidSudObj / g_hidSudFunc :pencil:
- g_lblNameObj / g_lang_lblNameObj :pencil:
- g_msgObj / g_lang_msgObj :pencil:
- g_msgInfoObj :pencil:
- g_errMsgObj :pencil:
- g_btnAddFunc / g_cxtAddFunc :pencil:
- g_btnDeleteFlg / g_cxtDeleteFlg :pencil:
- g_shortcutObj :pencil:
- g_btnWaitFrame :pencil:
- g_btnPatterns :pencil:
- g_scViewObj :pencil:
- g_escapeStr :pencil:
- g_settings :pencil:
- g_keycons
- g_jumpSettingWindow
- g_shuffleFunc
- g_motionFunc
- g_typeLists
- g_graphColorObj
- g_settingBtnObj
- g_judgObj :pencil:
- g_judgPosObj
- g_posObj
- g_diffObj
- g_imgObj
- g_cssObj
- g_windowObj
- g_windowAlign
- g_lblPosObj
- g_workObj :pencil:
- g_customJsObj / g_skinJsObj :pencil:
- g_dfColorObj / g_dfColorBaseObj
画面定義関数
- タイトル前処理
- initialControl ()
- loadLocalStorage ()
- getScoreDetailData (_scoreId)
- storeBaseData (_scoreId, _scoreObj, _keyCtrlPtn)
- calcLevel (_scoreObj)
- storeBaseData (_scoreId, _scoreObj, _keyCtrlPtn)
- loadMultipleFiles2 (_fileData, _loadType) :pencil:
- preheaderConvert (_dosObj)
- updateLocalDesc ()
- headerConvert (_dosObj)
- getDifSelectorUse (_headerFlg, _viewLists)
- initialControl ()
- タイトル表示
- titleInit ()
- getLinkSiz (_name)
- createCreditBtn (_id, _text, _url)
- flowTitleTimeline ()
- titleInit ()
- 設定画面表示
- optionInit ()
- 設定画面(Display)表示
- settingsDisplayInit ()
- キーコンフィグ画面表示
- keyConfigInit ()
- getKeyConfigColor (_j, _colorPos)
- searchPattern (_tempPtn, _sign, _transKeyUse, _keyCheck)
- keyConfigInit ()
- プレイ開始前設定
- loadMusic ()
- setAudio (_url)
- initWebAudioAPIfromBase64 (_url)
- initWebAudioAPIfromURL (_url)
- musicAfterLoaded ()
- loadingScoreInit ()
- setData (_data, _minLength)
- プレイ画面表示
- mainInit ()
- checkMusicSiz (_text, _siz)
- mainKeyDownActFunc[_autoAllFlg] (_keyCode)
- mainKeyUpActFunc[_autoAllFlg] ()
- changeArrowColor (_j, _k, _name)
- changeFrzColor (_j, _k, _name, _state)
- changeColorFunc[_arrow] (_j, _k)
- changeColorFunc[_frz] (_j, _k, _state)
- judgeObjDelete[_arrow] (_j, _deleteObj)
- judgeMotionFunc[_arrow] (_j, _arrow, _cnt)
- judgeMotionFunc[_frz] (_j, _k, _frzRoot, _cnt)
- judgeMotionFunc[_frzKeyUp] (_j, _k, _frzRoot, _cnt, _keyUpFrame)
- judgeNextFunc[_frz] (_j, _k, _cnt)
- checkKeyUpFunc[_frz] (_j)
- makeArrow (_attrs, _arrowCnt, _name, _color, _shadowColor)
- movArrow (_j, _k, _name)
- makeFrzArrow (_attrs, _arrowCnt, _name, _normalColor, _barColor, _shadowColor)
- movFrzArrow (_j, _k, _name)
- flowTimeline ()
- mainInit ()
- 結果画面表示
- resultInit ()
- withOptions (_flg, _defaultSet, _displayText)
- copyResultImageData (_msg)
- resetCommonBtn (_id, _name, _posObj, _func, _cssClass)
- makeLinkButton (_div = divRoot, _param = ``)
- flowResultTimeline ()
- resultInit ()
画面定義関数(補助)
- loadChartFile (_scoreId) :pencil:
- resetColorSetting (_scoreId)
- resetGaugeSetting (_scoreId)
- copySetColor(_baseObj, _scoreId)
- makeWarningWindow (_text, { resetFlg, backBtnUse }) :pencil:
- makeInfoWindow (_text, _animationName, { _backColor, _x, _y } :pencil:
- setWindowStyle (_text, _bkColor, _textColor, _align, { _x, _y }
- setShortcutEvent (_displayName, _func, { displayFlg, dfEvtFlg }) :pencil:
主要関数
汎用
要素・属性
- $id (_id) :pencil:
- multiAppend (_baseObj, ...rest) :pencil:
- setAttrs (_baseObj, { ...rest })
- getNumAttr (_baseObj, _attrkey)
- convertStrToVal (_str)
- trimStr (_str)
- g_btnX (_multi)
- g_btnWidth (_multi)
- isLocalMusicFile (_scoreId)
値や配列のチェック・変換
- hasVal (_data, ...strs) :pencil:
- hasValN (_data, ...strs)
- setVal (_checkStr, _default, _type) :pencil:
- boolToSwitch (_condition)
- wUnit (_val, _unitName)
- setBoolval (_val, _defaultVal)
- setIntVal (_val, _defaultVal)
- toCapitalize (_str) :pencil:
- roundZero (_num, _init = 0) :pencil:
- hasValInArray (_val, _array, _pos)
- addValtoArray (_arr, _target)
- hasArrayList (_data, _length)
- splitLF (_str) :pencil:
- splitLF2 (_str, _delim) :pencil:
- splitComma (_str)
- makeDedupliArray (_array1, ..._arrays)
- copyArray2d (_array2d)
- sumData (_array)
- fillArray (_length, _val)
- makeBaseArray (_array, _minLength, _defaultVal)
- getMaxValIdxs (_array, _num)
- listMatching (_str, _list, { prefix, suffix }) :pencil:
- fuzzyListMatching (_str, _headerList, _footerList) :pencil:
- replaceStr (_str, _pairs) :pencil:
- escapeHtml (_str, _escapeList) :pencil:
- escapeHtmlForEnabledTag (_str) :pencil:
- unEscapeEmoji (_str)
- unEscapeHtml (_str) :pencil:
- escapeHtmlForArray (_array)
- nextPos (_basePos, _num, _length)
キーコード関連
- transCode (_evt)
- blockCode (_setKey)
ファイル・リンク制御
- openLink (_url) :pencil:
- preloadFile (_as, _href, _type, _crossOrigin) :pencil:
- loadScript2 (_url, _requiredFlg, _charset) :pencil:
- importCssFile2 (_href) :pencil:
- getFilePath (_fileName, _directory) :pencil:
- preloadImgFile (_imgPath, { directory = ``, syncBackPath = true }
- getImageUrlPath (_str)
- reviseCssText (_str)
色・グラデーション設定
- checkLightOrDark (_colorStr) :pencil:
- colorToHex (_color) :pencil:
- colorNameToCode (_color) :pencil:
- byteToHex (_num)
- isColorCd (_str)
- hasAnglePointInfo (_str)
- colorCdPadding (_useFlg, _colorStr)
- makeColorGradation (_colorStr, { _defaultColorgrd, _colorCdPaddingUse, _objType, _shadowFlg }) :pencil:
フォント設定
- getBasicFont (_priorityFont) :pencil:
- getFontSize (_str, _maxWidth, _font, _maxFontsize) :pencil:
- getStrWidth (_str, _fontsize, _font)
ラベル・ボタン・オブジェクトの作成
- createDiv (_id, _x, _y, _width, _height, _classes)
- setUserSelect (_style, _value)
- createDivCss2Label (_id, {x, y, w, h, siz, align, ...rest}, ..._classes) :pencil:
- createDescDiv (_id, _str, { altId = _id, siz = g_limitObj.mainSiz })
- createImg (_id, _imgPath, _x, _y, _width, _height)
- createColorObject2 (_id, {x, y, w, h, rotate, styleName, ...rest}, ..._classes) :pencil:
- createEmptySprite (_parentObj, _newObjId, {x, y, w, h, title, ...rest}, ..._classes) :pencil:
- createMultipleSprite(_baseName, _num)
- deleteChildspriteAll (_parentObjName) :pencil:
- deleteDiv (_parentId, _idName)
- createCss2Button (_id, _text, _func, {x, y, w, h, siz, align, title, groupName, initDisabledFlg, resetFunc, cxtFunc, ...rest}, ..._classes) :pencil:
- changeStyle (_id, {x, y, w, h, siz, align, title, ...rest}) :pencil:
- getTitleDivLabel (_id, _titlename, _x, _y)
- makeBgCanvas (_ctx, { w = g_sWidth, h = g_sHeight })
- clearWindow (_redrawFlg, _customDisplayName) :pencil:
- resetKeyControl ()
- drawDefaultBackImage (_key) :pencil: ※clearWindowへ統合済
- checkDuplicatedObjects (_obj) :pencil:
CSSの初期設定
- getCssCustomProperty (_prop, _propData)
- getCssCustomProperties ()
その他の設定
- copyTextToClipboard (_textVal, _msg) :pencil:
- getQueryParamVal (_name) :pencil:
- transFrameToTimer (_frame) :pencil:
- transTimerToFrame (_str) :pencil:
- checkImage (_str) :pencil:
- keyIsDown (_keyCode) :pencil:
- keyIsShift ()
共通(汎用的で無いもの)
- current ()
- updateImgType (_imgType, _initFlg)
- makeSpriteData (_data, _calcFrame)
- makeSpriteImage (_obj)
- makeSpriteText (_obj)
- makeStyleData (_data, _calcFrame)
- makePlayButton(_func)
- drawSpriteData (_frame, _spriteName, _depthName)
- drawMainSpriteData (_frame, _depthName)
- drawStyleData (_frame, _displayName)
- drawMainStyleData (_frame)
- getSpriteJumpFrame (_frames)
- drawTitleResultMotion (_spriteName)
- getShadowColor (_colorPos, _arrowColor)
- getKeyInfo ()
- updateKeyInfo (_header, _keyCtrlPtn)
- changeSetColor()
- resetColorType ({ _from, _to, _fromObj, _toObj })
タイトル画面
- dosConvert (_dos)
- getMusicNameSimple (_musicName)
- getMusicNameMultiLine (_musicName)
- resetBaseColorList (_baseObj, _dosObj, { scoreId })
- setColorList (_data, _colorInit, _colorInitLength,
{ _defaultColorgrd, _colorCdPaddingUse, _defaultFrzColorUse, _objType, _shadowFlg})
- setColorList (_data, _colorInit, _colorInitLength,
- addGaugeFulls (_obj)
- resetCustomGauge (_dosObj, { scoreId })
- getGaugeSetting (_dosObj, _name, _difLength, { scoreId })
- setGaugeDetails (_scoreId, _gaugeDetails)
- getGaugeCalc (_val, _defaultVal)
- getGaugeDetailList (_scoreId, _defaultGaugeList)
- getKeyName (_key)
- getKeyUnitName (_key)
- getKeyCtrlVal (_kCdN)
- keysConvert (_dosObj)
- existParam (_data, _paramName)
- toString (_str)
- toFloat (_num)
- toKeyCtrlArray (_str)
- toSplitArrayStr (_str)
- toOriginalArray (_val, _func)
- toFloatStr (_str)
- toSameValStr (_str)
- getKeyPtnName (_str)
- getKeyPosNum (_num, _divNum)
- expandKeyPtn (_str, _name, _convFunc)
- newKeyMultiParam (_key, _name, _convFunc, { errCd, baseCopyFlg, loopFunc })
- newKeyTripleParam (_key, _name, { errCd })
- newKeySingleParam (_key, _name, _type)
- newKeyPairParam(_key, _name, _pairName, _defaultName, _defaultVal)
設定画面
- commonSettingBtn (_labelName)
- setSpriteList (_settingList)
- createOptionWindow (_sprite)
- createScoreDetail (_name, _graphUseFlg)
- setScoreDetail ()
- resetDifWindow ()
- makeDifList (_difList, _difCover, _targetKey)
- getNextDifficulty (_scoreId, _scrollNum)
- nextDifficulty (_scrollNum)
- makeDifBtn (_scrollNum)
- createDifWindow (_key)
- changeDifficulty (_num)
- getScoreBaseData (_scoreId)
- drawSpeedGraph (_scoreId)
- drawDensityGraph (_scoreId)
- drawBaseLine (_context, { _fixed, _mark, _resolution, _a, _b, _min, _max })
- drawLine (_context, _y, _lineType, { _fixed, _mark, _a, _b })
- updateScoreDetailLabel(_name, _label, _value, _pos, _labelname)
- makeDifInfoLabels (_scoreId)
- makeDifInfo (_scoreId)
- makeHighScore (_scoreId)
- setReverse (_btn)
- setReverseView (_btn)
- setGauge (_scrollNum, _gaugeInitFlg)
- setLife (_baseProperty, _setProperty, _magnification)
- setLifeCategory (_baseObj, { _magInit = 1, _magRcv = 1, _magDmg = 1 }
- changeLifeMode (_baseObj)
- gaugeFormat (_mode, _border, _rcv, _dmg, _init, _lifeValFlg)
- getAccuracy (_border, _rcv, _dmg, _init, _allCnt)
- setDifficulty (_initFlg)
- createGeneralSetting (_obj, _settingName, { unitName, skipTerms, hiddenBtn, addRFunc, addLFunc, settingLabel, displayName, scLabel, roundNum })
- createLblSetting (_settingName, _adjY, _settingLabel)
- setSetting (_scrollNum, _settingName, _unitName, _roundNum, { func } )
- makeDisabledLabel (_id, _heightPos, _defaultStr)
- getKeyReverse (_localStorage, _extraKeyName)
- setReverseDefault ()
- setExcessive (_btn)
- getKeyCtrl (_localStorage, _extraKeyName)
- makeSettingLblCssButton (_id, _name, _heightPos, _func, { x, y, w, h, siz, cxtFunc, ...rest })
- makeDifLblCssButton (_id, _name, _heightPos, _func, { x, w, h, btnStyle })
- makeMiniCssButton (_id, _directionFlg, _heightPos, _func, { dx, dy, dw, dh, dsiz })
- resetGroupList (_type, _keyCtrlPtn)
設定画面(Display)
- createSettingsDisplayWindow (_sprite)
- setLockView (_btn)
- dispAppearanceSlider ()
- makeDisplayButton (_name, _heightPos, _widthPos)
- makeDisabledDisplayLabel (_id, _heightPos, _widthPos, _defaultStr, _flg)
- interlockingButton (_headerObj, _name, _current, _next, _buttonFlg)
キーコンフィグ画面
- getScMsg.Titleback ()
- getScMsg.Retry ()
- adjustScrollPoint (_targetX)
- getKeyConfigColor (_j, _colorPos)
- changeKeyConfigColor (_j, _k, _cssName)
- changeTmpData (_type, _len, _j, _scrollNum)
- changeTmpColor (_j, _scrollNum)
- changeTmpShuffleNum (_j, _scrollNum)
- viewGroup (_type)
- setGroup (_type, _scrollNum)
- makeKCButtonHeader (_id, _name, {x, y, w, h, siz, align, ...rest}, ..._classes)
- makeKCButton (_id, _text, _func, {x, y, w, h, siz, borderStyle, cxtFunc, ...rest}, _mainClass, ..._classes)
- makeMiniKCButton (_id, _directionFlg, _func, { x, y, w, h, siz })
- setShuffleGroup (_scrollNum)
- makeGroupButton (_type, { baseX, cssName })
- setKeyConfigCursor ()
- changeConfigCursor (_nextj)
- getNextNum (_scrollNum, _groupName)
- setConfigType (_scrollNum)
- appearConfigSteps (_num)
- changeColorPicker (_j, _type, _color)
- changeColorPickers ()
- getGroupNum (_j)
- setColorType (_scrollNum)
- setImgType (_scrollNum)
- createColorPickWindow (_j, _type, _func, { x, y }
- searchPattern (_tempPtn, _sign, _transKeyUse)
- changePattern (_sign)
ロード画面
- setScoreIdHeader (_scoreId, _scoreLockFlg)
- setDosIdHeader (_scoreId, _scoreLockFlg)
- applyShuffle (_keyNum, _shuffleGroup, _style)
- applyMirror (_keyNum, _shuffleGroup)
- applyRandom (_keyNum, _shuffleGroup)
- applySRandom (_keyNum, _shuffleGroup, _arrowHeader, _frzHeader)
- scoreConvert (_dosObj, _scoreId, _preblankFrame, _dummyNo, _keyCtrlPtn, _scoreAnalyzeFlg)
- calcFrame (_frame)
- storeArrowData (_data)
- setSpeedData (_header, _scoreNo, _footer)
- mergeColorData (_header =
color
) - setColorData (_header, _scoreNo)
- setColor2Data (_header, _scoreNo)
- setCssMotionData (_header, _scoreNo)
- setScrollchData (_scoreNo)
- getRefData (_header, _dataName)
- getPriorityList (_header, _type, _scoreNo)
- getPriorityHeader (_defaultHeaders = [])
- makeWordData (_scoreNo)
- makeSpriteWordData (_data, _reverseFlg)
- makeBackgroundData (_header, _scoreNo, { resultTypes = [] } = {})
- calcLifeVals (_allArrows)
- calcLifeVal (_val, _allArrows)
- getLastFrame (_dataObj, _keyCtrlPtn)
- getFirstArrowFrame (_dataObj, _keyCtrlPtn)
- getStartFrame (_lastFrame, _fadein, _scoreId)
- setSpeedOnFrame (_speedData, _lastFrame)
- setMotionOnFrame ()
- getBoostTrace (_frms, _spd, _pnFlg)
- getBrakeTrace (_frms)
- getFirstArrivalFrame (_startFrame, _speedOnFrame, motionOnFrame)
- pushArrows (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
- setNotes (_j, _k, _data, _startPoint, _header, _frzFlg, { initY, initBoostY, arrivalFrame, motionFrame })
- calcNotes (_j, _data, _header, _frzFlg)
- getTimingData (_data)
- calcDataTiming (_type, _header, _setFunc, { _term, _colorFlg, _calcFrameFlg } )
- calcAnimationData (_type, _data)
- getArrowStartFrame (_frame, _speedOnFrame, _motionOnFrame)
- getFrzLength (_speedOnFrame, _startFrame, _endFrame)
- convertReplaceNums ()
- pushColors (_header, _frame, _val, _colorCd, _allFlg, _pattern)
- pushCssMotions (_header, _frame, _val, _styleName, _styleNameRev)
- pushScrollchs (_header, _frameArrow, _val, _frameStep, _scrollDir)
- getArrowSettings ()
- setKeyCtrl (_localStorage, _keyNum, _keyCtrlPtn)
メイン画面
- changeAppearanceFilter (_num)
- makeCounterSymbol (_id, _x, _class, _heightPos, _text)
- appearStepZone (_j, _display, _alpha)
- appearKeyTypes (_j, _targets, _alphas)
- changeColors (_mkColor, _mkColorCd, _objType =
arrow
) - changeCssMotions (_mkCssMotion, _mkCssMotionName, _name)
- changeScrollArrowDirs (_frame)
- changeStepY (_frame)
- changeHitFrz (_j, _k, _name, _difFrame)
- changeFailedFrz (_j, _k)
- checkJudgment (_difCnt)
- judgeArrow (_j)
- displayDiff (_difFrame, _fjdg, _justFrames)
- countFastSlow (_difFrame, _justFrames)
- changeLifeColor (_state)
- lifeRecovery ()
- lifeDamage (_excessive)
- updateCombo ()
- judgeRecovery (_name, _difFrame)
- judgeDamage (_name, _difFrame)
- judgeIi (_difFrame)
- judgeShakin (_difFrame)
- judgeMatari (_difFrame)
- judgeShobon (_difFrame)
- judgeUwan (_difFrame)
- judgeKita (_difFrame)
- judgeIknai (_difFrame)
- makeFinishView (_text)
- finishViewing ()
結果画面
- makeResultText (_format, { hashTag, musicTitle, tweetDifData, tuning, rankMark, playStyleData, highscore, tweetExcessive, tweetFrzJdg, tweetMaxCombo, baseTwitUrl } )
- makeCssResultPlayData (_id, _x, _class, _heightPos, _text, _align)
- makeCssResultSymbol (_id, _x, _class, _heightPos, _text, _align)
参考
※以下の情報は古い可能性があります。あくまで参考としてください。
| < ID一覧 | オブジェクト一覧 | オブジェクト構成・ボタン > |