commit d01b2f9a665ab40cfd428c19d1788bdfd172eb26 Author: Freddie Date: Wed May 27 18:25:07 2020 +0100 webui release diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..cdcca9e --- /dev/null +++ b/_config.yml @@ -0,0 +1,12 @@ +theme: jekyll-theme-minimal +title: Asphyxia +logo: https://raw.githubusercontent.com/TsFreddie/asphyxia/master/docs/img/core-logo.png +description: | + +include: + - typedoc + - _.html diff --git a/_typedoc.md b/_typedoc.md new file mode 100644 index 0000000..57faeae --- /dev/null +++ b/_typedoc.md @@ -0,0 +1,3 @@ +#### Asphyxia CORE + +Quick Start guide coming soon. diff --git a/img/core-logo.png b/img/core-logo.png new file mode 100644 index 0000000..4b76f02 Binary files /dev/null and b/img/core-logo.png differ diff --git a/index.md b/index.md new file mode 100644 index 0000000..9499483 --- /dev/null +++ b/index.md @@ -0,0 +1 @@ +## Asphyxia diff --git a/typedoc/assets/css/main.css b/typedoc/assets/css/main.css new file mode 100644 index 0000000..959edd7 --- /dev/null +++ b/typedoc/assets/css/main.css @@ -0,0 +1,2679 @@ +/*! normalize.css v1.1.3 | MIT License | git.io/normalize */ +/* ========================================================================== + * * HTML5 display definitions + * * ========================================================================== */ +/** + * * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. */ +article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { + display: block; +} + +/** + * * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. */ +audio, canvas, video { + display: inline-block; + *display: inline; + *zoom: 1; +} + +/** + * * Prevent modern browsers from displaying `audio` without controls. + * * Remove excess height in iOS 5 devices. */ +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4. + * * Known issue: no IE 6 support. */ +[hidden] { + display: none; +} + +/* ========================================================================== + * * Base + * * ========================================================================== */ +/** + * * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using + * * `em` units. + * * 2. Prevent iOS text size adjust after orientation change, without disabling + * * user zoom. */ +html { + font-size: 100%; + /* 1 */ + -ms-text-size-adjust: 100%; + /* 2 */ + -webkit-text-size-adjust: 100%; + /* 2 */ + font-family: sans-serif; +} + +/** + * * Address `font-family` inconsistency between `textarea` and other form + * * elements. */ +button, input, select, textarea { + font-family: sans-serif; +} + +/** + * * Address margins handled incorrectly in IE 6/7. */ +body { + margin: 0; +} + +/* ========================================================================== + * * Links + * * ========================================================================== */ +/** + * * Address `outline` inconsistency between Chrome and other browsers. */ +a:focus { + outline: thin dotted; +} +a:active, a:hover { + outline: 0; +} + +/** + * * Improve readability when focused and also mouse hovered in all browsers. */ +/* ========================================================================== + * * Typography + * * ========================================================================== */ +/** + * * Address font sizes and margins set differently in IE 6/7. + * * Address font sizes within `section` and `article` in Firefox 4+, Safari 5, + * * and Chrome. */ +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +h2 { + font-size: 1.5em; + margin: 0.83em 0; +} + +h3 { + font-size: 1.17em; + margin: 1em 0; +} + +h4, .tsd-index-panel h3 { + font-size: 1em; + margin: 1.33em 0; +} + +h5 { + font-size: 0.83em; + margin: 1.67em 0; +} + +h6 { + font-size: 0.67em; + margin: 2.33em 0; +} + +/** + * * Address styling not present in IE 7/8/9, Safari 5, and Chrome. */ +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. */ +b, strong { + font-weight: bold; +} + +blockquote { + margin: 1em 40px; +} + +/** + * * Address styling not present in Safari 5 and Chrome. */ +dfn { + font-style: italic; +} + +/** + * * Address differences between Firefox and other browsers. + * * Known issue: no IE 6/7 normalization. */ +hr { + box-sizing: content-box; + height: 0; +} + +/** + * * Address styling not present in IE 6/7/8/9. */ +mark { + background: #ff0; + color: #000; +} + +/** + * * Address margins set differently in IE 6/7. */ +p, pre { + margin: 1em 0; +} + +/** + * * Correct font family set oddly in IE 6, Safari 4/5, and Chrome. */ +code, kbd, pre, samp { + font-family: monospace, serif; + _font-family: "courier new", monospace; + font-size: 1em; +} + +/** + * * Improve readability of pre-formatted text in all browsers. */ +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +/** + * * Address CSS quotes not supported in IE 6/7. */ +q { + quotes: none; +} +q:before, q:after { + content: ""; + content: none; +} + +/** + * * Address `quotes` property not supported in Safari 4. */ +/** + * * Address inconsistent and variable font size in all browsers. */ +small { + font-size: 80%; +} + +/** + * * Prevent `sub` and `sup` affecting `line-height` in all browsers. */ +sub { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* ========================================================================== + * * Lists + * * ========================================================================== */ +/** + * * Address margins set differently in IE 6/7. */ +dl, menu, ol, ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +/** + * * Address paddings set differently in IE 6/7. */ +menu, ol, ul { + padding: 0 0 0 40px; +} + +/** + * * Correct list images handled incorrectly in IE 7. */ +nav ul, nav ol { + list-style: none; + list-style-image: none; +} + +/* ========================================================================== + * * Embedded content + * * ========================================================================== */ +/** + * * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3. + * * 2. Improve image quality when scaled in IE 7. */ +img { + border: 0; + /* 1 */ + -ms-interpolation-mode: bicubic; +} + +/* 2 */ +/** + * * Correct overflow displayed oddly in IE 9. */ +svg:not(:root) { + overflow: hidden; +} + +/* ========================================================================== + * * Figures + * * ========================================================================== */ +/** + * * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11. */ +figure, form { + margin: 0; +} + +/* ========================================================================== + * * Forms + * * ========================================================================== */ +/** + * * Correct margin displayed oddly in IE 6/7. */ +/** + * * Define consistent border, margin, and padding. */ +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * * 1. Correct color not being inherited in IE 6/7/8/9. + * * 2. Correct text not wrapping in Firefox 3. + * * 3. Correct alignment displayed oddly in IE 6/7. */ +legend { + border: 0; + /* 1 */ + padding: 0; + white-space: normal; + /* 2 */ + *margin-left: -7px; +} + +/* 3 */ +/** + * * 1. Correct font size not being inherited in all browsers. + * * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5, + * * and Chrome. + * * 3. Improve appearance and consistency in all browsers. */ +button, input, select, textarea { + font-size: 100%; + /* 1 */ + margin: 0; + /* 2 */ + vertical-align: baseline; + /* 3 */ + *vertical-align: middle; +} + +/* 3 */ +/** + * * Address Firefox 3+ setting `line-height` on `input` using `!important` in + * * the UA stylesheet. */ +button, input { + line-height: normal; +} + +/** + * * Address inconsistent `text-transform` inheritance for `button` and `select`. + * * All other form control elements do not inherit `text-transform` values. + * * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+. + * * Correct `select` style inheritance in Firefox 4+ and Opera. */ +button, select { + text-transform: none; +} + +/** + * * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * * and `video` controls. + * * 2. Correct inability to style clickable `input` types in iOS. + * * 3. Improve usability and consistency of cursor style between image-type + * * `input` and others. + * * 4. Remove inner spacing in IE 7 without affecting normal text inputs. + * * Known issue: inner spacing remains in IE 6. */ +button, html input[type=button] { + -webkit-appearance: button; + /* 2 */ + cursor: pointer; + /* 3 */ + *overflow: visible; +} + +/* 4 */ +input[type=reset], input[type=submit] { + -webkit-appearance: button; + /* 2 */ + cursor: pointer; + /* 3 */ + *overflow: visible; +} + +/* 4 */ +/** + * * Re-set default cursor for disabled elements. */ +button[disabled], html input[disabled] { + cursor: default; +} + +/** + * * 1. Address box sizing set to content-box in IE 8/9. + * * 2. Remove excess padding in IE 8/9. + * * 3. Remove excess padding in IE 7. + * * Known issue: excess padding remains in IE 6. */ +input { + /* 3 */ +} +input[type=checkbox], input[type=radio] { + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ + *height: 13px; + /* 3 */ + *width: 13px; +} +input[type=search] { + -webkit-appearance: textfield; + /* 1 */ + /* 2 */ + box-sizing: content-box; +} +input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. + * * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * * (include `-moz` to future-proof). */ +/** + * * Remove inner padding and search cancel button in Safari 5 and Chrome + * * on OS X. */ +/** + * * Remove inner padding and border in Firefox 3+. */ +button::-moz-focus-inner, input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * * 1. Remove default vertical scrollbar in IE 6/7/8/9. + * * 2. Improve readability and alignment in all browsers. */ +textarea { + overflow: auto; + /* 1 */ + vertical-align: top; +} + +/* 2 */ +/* ========================================================================== + * * Tables + * * ========================================================================== */ +/** + * * Remove most spacing between table cells. */ +table { + border-collapse: collapse; + border-spacing: 0; +} + +/* * + * *Visual Studio-like style based on original C# coloring by Jason Diamond */ +.hljs { + display: inline-block; + padding: 0.5em; + background: white; + color: black; +} + +.hljs-comment, .hljs-annotation, .hljs-template_comment, .diff .hljs-header, .hljs-chunk, .apache .hljs-cbracket { + color: #008000; +} + +.hljs-keyword, .hljs-id, .hljs-built_in, .css .smalltalk .hljs-class, .hljs-winutils, .bash .hljs-variable, .tex .hljs-command, .hljs-request, .hljs-status, .nginx .hljs-title { + color: #00f; +} + +.xml .hljs-tag { + color: #00f; +} +.xml .hljs-tag .hljs-value { + color: #00f; +} + +.hljs-string, .hljs-title, .hljs-parent, .hljs-tag .hljs-value, .hljs-rules .hljs-value { + color: #a31515; +} + +.ruby .hljs-symbol { + color: #a31515; +} +.ruby .hljs-symbol .hljs-string { + color: #a31515; +} + +.hljs-template_tag, .django .hljs-variable, .hljs-addition, .hljs-flow, .hljs-stream, .apache .hljs-tag, .hljs-date, .tex .hljs-formula, .coffeescript .hljs-attribute { + color: #a31515; +} + +.ruby .hljs-string, .hljs-decorator, .hljs-filter .hljs-argument, .hljs-localvars, .hljs-array, .hljs-attr_selector, .hljs-pseudo, .hljs-pi, .hljs-doctype, .hljs-deletion, .hljs-envvar, .hljs-shebang, .hljs-preprocessor, .hljs-pragma, .userType, .apache .hljs-sqbracket, .nginx .hljs-built_in, .tex .hljs-special, .hljs-prompt { + color: #2b91af; +} + +.hljs-phpdoc, .hljs-javadoc, .hljs-xmlDocTag { + color: #808080; +} + +.vhdl .hljs-typename { + font-weight: bold; +} +.vhdl .hljs-string { + color: #666666; +} +.vhdl .hljs-literal { + color: #a31515; +} +.vhdl .hljs-attribute { + color: #00b0e8; +} + +.xml .hljs-attribute { + color: #f00; +} + +ul.tsd-descriptions > li > :first-child, .tsd-panel > :first-child, .col > :first-child, .col-11 > :first-child, .col-10 > :first-child, .col-9 > :first-child, .col-8 > :first-child, .col-7 > :first-child, .col-6 > :first-child, .col-5 > :first-child, .col-4 > :first-child, .col-3 > :first-child, .col-2 > :first-child, .col-1 > :first-child, +ul.tsd-descriptions > li > :first-child > :first-child, +.tsd-panel > :first-child > :first-child, +.col > :first-child > :first-child, +.col-11 > :first-child > :first-child, +.col-10 > :first-child > :first-child, +.col-9 > :first-child > :first-child, +.col-8 > :first-child > :first-child, +.col-7 > :first-child > :first-child, +.col-6 > :first-child > :first-child, +.col-5 > :first-child > :first-child, +.col-4 > :first-child > :first-child, +.col-3 > :first-child > :first-child, +.col-2 > :first-child > :first-child, +.col-1 > :first-child > :first-child, +ul.tsd-descriptions > li > :first-child > :first-child > :first-child, +.tsd-panel > :first-child > :first-child > :first-child, +.col > :first-child > :first-child > :first-child, +.col-11 > :first-child > :first-child > :first-child, +.col-10 > :first-child > :first-child > :first-child, +.col-9 > :first-child > :first-child > :first-child, +.col-8 > :first-child > :first-child > :first-child, +.col-7 > :first-child > :first-child > :first-child, +.col-6 > :first-child > :first-child > :first-child, +.col-5 > :first-child > :first-child > :first-child, +.col-4 > :first-child > :first-child > :first-child, +.col-3 > :first-child > :first-child > :first-child, +.col-2 > :first-child > :first-child > :first-child, +.col-1 > :first-child > :first-child > :first-child { + margin-top: 0; +} +ul.tsd-descriptions > li > :last-child, .tsd-panel > :last-child, .col > :last-child, .col-11 > :last-child, .col-10 > :last-child, .col-9 > :last-child, .col-8 > :last-child, .col-7 > :last-child, .col-6 > :last-child, .col-5 > :last-child, .col-4 > :last-child, .col-3 > :last-child, .col-2 > :last-child, .col-1 > :last-child, +ul.tsd-descriptions > li > :last-child > :last-child, +.tsd-panel > :last-child > :last-child, +.col > :last-child > :last-child, +.col-11 > :last-child > :last-child, +.col-10 > :last-child > :last-child, +.col-9 > :last-child > :last-child, +.col-8 > :last-child > :last-child, +.col-7 > :last-child > :last-child, +.col-6 > :last-child > :last-child, +.col-5 > :last-child > :last-child, +.col-4 > :last-child > :last-child, +.col-3 > :last-child > :last-child, +.col-2 > :last-child > :last-child, +.col-1 > :last-child > :last-child, +ul.tsd-descriptions > li > :last-child > :last-child > :last-child, +.tsd-panel > :last-child > :last-child > :last-child, +.col > :last-child > :last-child > :last-child, +.col-11 > :last-child > :last-child > :last-child, +.col-10 > :last-child > :last-child > :last-child, +.col-9 > :last-child > :last-child > :last-child, +.col-8 > :last-child > :last-child > :last-child, +.col-7 > :last-child > :last-child > :last-child, +.col-6 > :last-child > :last-child > :last-child, +.col-5 > :last-child > :last-child > :last-child, +.col-4 > :last-child > :last-child > :last-child, +.col-3 > :last-child > :last-child > :last-child, +.col-2 > :last-child > :last-child > :last-child, +.col-1 > :last-child > :last-child > :last-child { + margin-bottom: 0; +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 0 40px; +} +@media (max-width: 640px) { + .container { + padding: 0 20px; + } +} + +.container-main { + padding-bottom: 200px; +} + +.row { + display: -ms-flexbox; + display: flex; + position: relative; + margin: 0 -10px; +} +.row:after { + visibility: hidden; + display: block; + content: ""; + clear: both; + height: 0; +} + +.col, .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 { + box-sizing: border-box; + float: left; + padding: 0 10px; +} + +.col-1 { + width: 8.3333333333%; +} + +.offset-1 { + margin-left: 8.3333333333%; +} + +.col-2 { + width: 16.6666666667%; +} + +.offset-2 { + margin-left: 16.6666666667%; +} + +.col-3 { + width: 25%; +} + +.offset-3 { + margin-left: 25%; +} + +.col-4 { + width: 33.3333333333%; +} + +.offset-4 { + margin-left: 33.3333333333%; +} + +.col-5 { + width: 41.6666666667%; +} + +.offset-5 { + margin-left: 41.6666666667%; +} + +.col-6 { + width: 50%; +} + +.offset-6 { + margin-left: 50%; +} + +.col-7 { + width: 58.3333333333%; +} + +.offset-7 { + margin-left: 58.3333333333%; +} + +.col-8 { + width: 66.6666666667%; +} + +.offset-8 { + margin-left: 66.6666666667%; +} + +.col-9 { + width: 75%; +} + +.offset-9 { + margin-left: 75%; +} + +.col-10 { + width: 83.3333333333%; +} + +.offset-10 { + margin-left: 83.3333333333%; +} + +.col-11 { + width: 91.6666666667%; +} + +.offset-11 { + margin-left: 91.6666666667%; +} + +.tsd-kind-icon { + display: block; + position: relative; + padding-left: 20px; + text-indent: -20px; +} +.tsd-kind-icon:before { + content: ""; + display: inline-block; + vertical-align: middle; + width: 17px; + height: 17px; + margin: 0 3px 2px 0; + background-image: url(../images/icons.png); +} +@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { + .tsd-kind-icon:before { + background-image: url(../images/icons@2x.png); + background-size: 238px 204px; + } +} + +.tsd-signature.tsd-kind-icon:before { + background-position: 0 -153px; +} + +.tsd-kind-object-literal > .tsd-kind-icon:before { + background-position: 0px -17px; +} +.tsd-kind-object-literal.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -17px; +} +.tsd-kind-object-literal.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -17px; +} + +.tsd-kind-class > .tsd-kind-icon:before { + background-position: 0px -34px; +} +.tsd-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -34px; +} +.tsd-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -34px; +} + +.tsd-kind-class.tsd-has-type-parameter > .tsd-kind-icon:before { + background-position: 0px -51px; +} +.tsd-kind-class.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -51px; +} +.tsd-kind-class.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -51px; +} + +.tsd-kind-interface > .tsd-kind-icon:before { + background-position: 0px -68px; +} +.tsd-kind-interface.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -68px; +} +.tsd-kind-interface.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -68px; +} + +.tsd-kind-interface.tsd-has-type-parameter > .tsd-kind-icon:before { + background-position: 0px -85px; +} +.tsd-kind-interface.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -85px; +} +.tsd-kind-interface.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -85px; +} + +.tsd-kind-namespace > .tsd-kind-icon:before { + background-position: 0px -102px; +} +.tsd-kind-namespace.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -102px; +} +.tsd-kind-namespace.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -102px; +} + +.tsd-kind-module > .tsd-kind-icon:before { + background-position: 0px -102px; +} +.tsd-kind-module.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -102px; +} +.tsd-kind-module.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -102px; +} + +.tsd-kind-enum > .tsd-kind-icon:before { + background-position: 0px -119px; +} +.tsd-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -119px; +} +.tsd-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -119px; +} + +.tsd-kind-enum-member > .tsd-kind-icon:before { + background-position: 0px -136px; +} +.tsd-kind-enum-member.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -136px; +} +.tsd-kind-enum-member.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -136px; +} + +.tsd-kind-signature > .tsd-kind-icon:before { + background-position: 0px -153px; +} +.tsd-kind-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -153px; +} +.tsd-kind-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -153px; +} + +.tsd-kind-type-alias > .tsd-kind-icon:before { + background-position: 0px -170px; +} +.tsd-kind-type-alias.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -170px; +} +.tsd-kind-type-alias.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -170px; +} + +.tsd-kind-type-alias.tsd-has-type-parameter > .tsd-kind-icon:before { + background-position: 0px -187px; +} +.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before { + background-position: -17px -187px; +} +.tsd-kind-type-alias.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { + background-position: -34px -187px; +} + +.tsd-kind-variable > .tsd-kind-icon:before { + background-position: -136px -0px; +} +.tsd-kind-variable.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -0px; +} +.tsd-kind-variable.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-variable.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -0px; +} +.tsd-kind-variable.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -0px; +} +.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -0px; +} +.tsd-kind-variable.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -0px; +} +.tsd-kind-variable.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-variable.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -0px; +} +.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -0px; +} +.tsd-kind-variable.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-variable.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -0px; +} +.tsd-kind-variable.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -0px; +} + +.tsd-kind-property > .tsd-kind-icon:before { + background-position: -136px -0px; +} +.tsd-kind-property.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -0px; +} +.tsd-kind-property.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-property.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -0px; +} +.tsd-kind-property.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -0px; +} +.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -0px; +} +.tsd-kind-property.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -0px; +} +.tsd-kind-property.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-property.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -0px; +} +.tsd-kind-property.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -0px; +} +.tsd-kind-property.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -0px; +} +.tsd-kind-property.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -0px; +} +.tsd-kind-property.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -0px; +} + +.tsd-kind-get-signature > .tsd-kind-icon:before { + background-position: -136px -17px; +} +.tsd-kind-get-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -17px; +} +.tsd-kind-get-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -17px; +} +.tsd-kind-get-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -17px; +} + +.tsd-kind-set-signature > .tsd-kind-icon:before { + background-position: -136px -34px; +} +.tsd-kind-set-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -34px; +} +.tsd-kind-set-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -34px; +} +.tsd-kind-set-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -34px; +} + +.tsd-kind-accessor > .tsd-kind-icon:before { + background-position: -136px -51px; +} +.tsd-kind-accessor.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -51px; +} +.tsd-kind-accessor.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -51px; +} +.tsd-kind-accessor.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -51px; +} + +.tsd-kind-function > .tsd-kind-icon:before { + background-position: -136px -68px; +} +.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -68px; +} +.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -68px; +} +.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -68px; +} +.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -68px; +} +.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -68px; +} +.tsd-kind-function.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -68px; +} +.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -68px; +} +.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-function.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -68px; +} +.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -68px; +} + +.tsd-kind-method > .tsd-kind-icon:before { + background-position: -136px -68px; +} +.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -68px; +} +.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -68px; +} +.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -68px; +} +.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -68px; +} +.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -68px; +} +.tsd-kind-method.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -68px; +} +.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -68px; +} +.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-method.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -68px; +} +.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -68px; +} + +.tsd-kind-call-signature > .tsd-kind-icon:before { + background-position: -136px -68px; +} +.tsd-kind-call-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -68px; +} +.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -68px; +} +.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -68px; +} + +.tsd-kind-function.tsd-has-type-parameter > .tsd-kind-icon:before { + background-position: -136px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -85px; +} +.tsd-kind-function.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -85px; +} + +.tsd-kind-method.tsd-has-type-parameter > .tsd-kind-icon:before { + background-position: -136px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -85px; +} +.tsd-kind-method.tsd-has-type-parameter.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -85px; +} + +.tsd-kind-constructor > .tsd-kind-icon:before { + background-position: -136px -102px; +} +.tsd-kind-constructor.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -102px; +} +.tsd-kind-constructor.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -102px; +} +.tsd-kind-constructor.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -102px; +} + +.tsd-kind-constructor-signature > .tsd-kind-icon:before { + background-position: -136px -102px; +} +.tsd-kind-constructor-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -102px; +} +.tsd-kind-constructor-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -102px; +} +.tsd-kind-constructor-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -102px; +} + +.tsd-kind-index-signature > .tsd-kind-icon:before { + background-position: -136px -119px; +} +.tsd-kind-index-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -119px; +} +.tsd-kind-index-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -119px; +} +.tsd-kind-index-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -119px; +} + +.tsd-kind-event > .tsd-kind-icon:before { + background-position: -136px -136px; +} +.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -136px; +} +.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -136px; +} +.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -136px; +} +.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -136px; +} +.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -136px; +} +.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -136px; +} +.tsd-kind-event.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -136px; +} +.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -136px; +} +.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -136px; +} +.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -136px; +} +.tsd-kind-event.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -136px; +} +.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -136px; +} + +.tsd-is-static > .tsd-kind-icon:before { + background-position: -136px -153px; +} +.tsd-is-static.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -153px; +} +.tsd-is-static.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -153px; +} +.tsd-is-static.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -153px; +} +.tsd-is-static.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -153px; +} +.tsd-is-static.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -153px; +} +.tsd-is-static.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -153px; +} +.tsd-is-static.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -153px; +} +.tsd-is-static.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -153px; +} +.tsd-is-static.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -153px; +} +.tsd-is-static.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -153px; +} +.tsd-is-static.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -153px; +} +.tsd-is-static.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -153px; +} + +.tsd-is-static.tsd-kind-function > .tsd-kind-icon:before { + background-position: -136px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -170px; +} +.tsd-is-static.tsd-kind-function.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -170px; +} + +.tsd-is-static.tsd-kind-method > .tsd-kind-icon:before { + background-position: -136px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -170px; +} +.tsd-is-static.tsd-kind-method.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -170px; +} + +.tsd-is-static.tsd-kind-call-signature > .tsd-kind-icon:before { + background-position: -136px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -170px; +} +.tsd-is-static.tsd-kind-call-signature.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -170px; +} + +.tsd-is-static.tsd-kind-event > .tsd-kind-icon:before { + background-position: -136px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-is-protected > .tsd-kind-icon:before { + background-position: -153px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-class > .tsd-kind-icon:before { + background-position: -51px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -68px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected > .tsd-kind-icon:before { + background-position: -85px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-protected.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -102px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-class.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum > .tsd-kind-icon:before { + background-position: -170px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-protected > .tsd-kind-icon:before { + background-position: -187px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-enum.tsd-is-private > .tsd-kind-icon:before { + background-position: -119px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface > .tsd-kind-icon:before { + background-position: -204px -187px; +} +.tsd-is-static.tsd-kind-event.tsd-parent-kind-interface.tsd-is-inherited > .tsd-kind-icon:before { + background-position: -221px -187px; +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes shift-to-left { + from { + transform: translate(0, 0); + } + to { + transform: translate(-25%, 0); + } +} +@keyframes unshift-to-left { + from { + transform: translate(-25%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: #fdfdfd; + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: #222; +} + +a { + color: #4da6ff; + text-decoration: none; +} +a:hover { + text-decoration: underline; +} + +code, pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 14px; + background-color: rgba(0, 0, 0, 0.04); +} + +pre { + padding: 10px; +} +pre code { + padding: 0; + font-size: 100%; + background-color: transparent; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography h4, .tsd-typography .tsd-index-panel h3, .tsd-index-panel .tsd-typography h3, .tsd-typography h5, .tsd-typography h6 { + font-size: 1em; + margin: 0; +} +.tsd-typography h5, .tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, .tsd-typography ul, .tsd-typography ol { + margin: 1em 0; +} + +@media (min-width: 901px) and (max-width: 1024px) { + html.default .col-content { + width: 72%; + } + html.default .col-menu { + width: 28%; + } + html.default .tsd-navigation { + padding-left: 10px; + } +} +@media (max-width: 900px) { + html.default .col-content { + float: none; + width: 100%; + } + html.default .col-menu { + position: fixed !important; + overflow: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + width: 100%; + padding: 20px 20px 0 0; + max-width: 450px; + visibility: hidden; + background-color: #fff; + transform: translate(100%, 0); + } + html.default .col-menu > *:last-child { + padding-bottom: 20px; + } + html.default .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + html.default.to-has-menu .overlay { + animation: fade-in 0.4s; + } + html.default.to-has-menu header, +html.default.to-has-menu footer, +html.default.to-has-menu .col-content { + animation: shift-to-left 0.4s; + } + html.default.to-has-menu .col-menu { + animation: pop-in-from-right 0.4s; + } + html.default.from-has-menu .overlay { + animation: fade-out 0.4s; + } + html.default.from-has-menu header, +html.default.from-has-menu footer, +html.default.from-has-menu .col-content { + animation: unshift-to-left 0.4s; + } + html.default.from-has-menu .col-menu { + animation: pop-out-to-right 0.4s; + } + html.default.has-menu body { + overflow: hidden; + } + html.default.has-menu .overlay { + visibility: visible; + } + html.default.has-menu header, +html.default.has-menu footer, +html.default.has-menu .col-content { + transform: translate(-25%, 0); + } + html.default.has-menu .col-menu { + visibility: visible; + transform: translate(0, 0); + } +} + +.tsd-page-title { + padding: 70px 0 20px 0; + margin: 0 0 40px 0; + background: #fff; + box-shadow: 0 0 5px rgba(0, 0, 0, 0.35); +} +.tsd-page-title h1 { + margin: 0; +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: #808080; +} +.tsd-breadcrumb a { + color: #808080; + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +html.minimal .container { + margin: 0; +} +html.minimal .container-main { + padding-top: 50px; + padding-bottom: 0; +} +html.minimal .content-wrap { + padding-left: 300px; +} +html.minimal .tsd-navigation { + position: fixed !important; + overflow: auto; + -webkit-overflow-scrolling: touch; + box-sizing: border-box; + z-index: 1; + left: 0; + top: 40px; + bottom: 0; + width: 300px; + padding: 20px; + margin: 0; +} +html.minimal .tsd-member .tsd-member { + margin-left: 0; +} +html.minimal .tsd-page-toolbar { + position: fixed; + z-index: 2; +} +html.minimal #tsd-filter .tsd-filter-group { + right: 0; + transform: none; +} +html.minimal footer { + background-color: transparent; +} +html.minimal footer .container { + padding: 0; +} +html.minimal .tsd-generator { + padding: 0; +} +@media (max-width: 900px) { + html.minimal .tsd-navigation { + display: none; + } + html.minimal .content-wrap { + padding-left: 0; + } +} + +dl.tsd-comment-tags { + overflow: hidden; +} +dl.tsd-comment-tags dt { + float: left; + padding: 1px 5px; + margin: 0 10px 0 0; + border-radius: 4px; + border: 1px solid #808080; + color: #808080; + font-size: 0.8em; + font-weight: normal; +} +dl.tsd-comment-tags dd { + margin: 0 0 10px 0; +} +dl.tsd-comment-tags dd:before, dl.tsd-comment-tags dd:after { + display: table; + content: " "; +} +dl.tsd-comment-tags dd pre, dl.tsd-comment-tags dd:after { + clear: both; +} +dl.tsd-comment-tags p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.toggle-protected .tsd-is-private { + display: none; +} + +.toggle-public .tsd-is-private, +.toggle-public .tsd-is-protected, +.toggle-public .tsd-is-private-protected { + display: none; +} + +.toggle-inherited .tsd-is-inherited { + display: none; +} + +.toggle-only-exported .tsd-is-not-exported { + display: none; +} + +.toggle-externals .tsd-is-external { + display: none; +} + +#tsd-filter { + position: relative; + display: inline-block; + height: 40px; + vertical-align: bottom; +} +.no-filter #tsd-filter { + display: none; +} +#tsd-filter .tsd-filter-group { + display: inline-block; + height: 40px; + vertical-align: bottom; + white-space: nowrap; +} +#tsd-filter input { + display: none; +} +@media (max-width: 900px) { + #tsd-filter .tsd-filter-group { + display: block; + position: absolute; + top: 40px; + right: 20px; + height: auto; + background-color: #fff; + visibility: hidden; + transform: translate(50%, 0); + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); + } + .has-options #tsd-filter .tsd-filter-group { + visibility: visible; + } + .to-has-options #tsd-filter .tsd-filter-group { + animation: fade-in 0.2s; + } + .from-has-options #tsd-filter .tsd-filter-group { + animation: fade-out 0.2s; + } + #tsd-filter label, +#tsd-filter .tsd-select { + display: block; + padding-right: 20px; + } +} + +footer { + border-top: 1px solid #eee; + background-color: #fff; +} +footer.with-border-bottom { + border-bottom: 1px solid #eee; +} +footer .tsd-legend-group { + font-size: 0; +} +footer .tsd-legend { + display: inline-block; + width: 25%; + padding: 0; + font-size: 16px; + list-style: none; + line-height: 1.333em; + vertical-align: top; +} +@media (max-width: 900px) { + footer .tsd-legend { + width: 50%; + } +} + +.tsd-hierarchy { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-index-panel .tsd-index-content { + margin-bottom: -30px !important; +} +.tsd-index-panel .tsd-index-section { + margin-bottom: 30px !important; +} +.tsd-index-panel h3 { + margin: 0 -20px 10px -20px; + padding: 0 20px 10px 20px; + border-bottom: 1px solid #eee; +} +.tsd-index-panel ul.tsd-index-list { + -moz-column-count: 3; + -ms-column-count: 3; + -o-column-count: 3; + column-count: 3; + -moz-column-gap: 20px; + -ms-column-gap: 20px; + -o-column-gap: 20px; + column-gap: 20px; + padding: 0; + list-style: none; + line-height: 1.333em; +} +@media (max-width: 900px) { + .tsd-index-panel ul.tsd-index-list { + -moz-column-count: 1; + -ms-column-count: 1; + -o-column-count: 1; + column-count: 1; + } +} +@media (min-width: 901px) and (max-width: 1024px) { + .tsd-index-panel ul.tsd-index-list { + -moz-column-count: 2; + -ms-column-count: 2; + -o-column-count: 2; + column-count: 2; + } +} +.tsd-index-panel ul.tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} +.tsd-index-panel a, +.tsd-index-panel .tsd-parent-kind-module a { + color: #9600ff; +} +.tsd-index-panel .tsd-parent-kind-interface a { + color: #7da01f; +} +.tsd-index-panel .tsd-parent-kind-enum a { + color: #cc9900; +} +.tsd-index-panel .tsd-parent-kind-class a { + color: #4da6ff; +} +.tsd-index-panel .tsd-kind-module a { + color: #9600ff; +} +.tsd-index-panel .tsd-kind-interface a { + color: #7da01f; +} +.tsd-index-panel .tsd-kind-enum a { + color: #cc9900; +} +.tsd-index-panel .tsd-kind-class a { + color: #4da6ff; +} +.tsd-index-panel .tsd-is-private a { + color: #808080; +} + +.tsd-flag { + display: inline-block; + padding: 1px 5px; + border-radius: 4px; + color: #fff; + background-color: #808080; + text-indent: 0; + font-size: 14px; + font-weight: normal; +} + +.tsd-anchor { + position: absolute; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation { + margin: 0 0 0 40px; +} +.tsd-navigation a { + display: block; + padding-top: 2px; + padding-bottom: 2px; + border-left: 2px solid transparent; + color: #222; + text-decoration: none; + transition: border-left-color 0.1s; +} +.tsd-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul { + margin: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li { + padding: 0; +} + +.tsd-navigation.primary { + padding-bottom: 40px; +} +.tsd-navigation.primary a { + display: block; + padding-top: 6px; + padding-bottom: 6px; +} +.tsd-navigation.primary ul li a { + padding-left: 5px; +} +.tsd-navigation.primary ul li li a { + padding-left: 25px; +} +.tsd-navigation.primary ul li li li a { + padding-left: 45px; +} +.tsd-navigation.primary ul li li li li a { + padding-left: 65px; +} +.tsd-navigation.primary ul li li li li li a { + padding-left: 85px; +} +.tsd-navigation.primary ul li li li li li li a { + padding-left: 105px; +} +.tsd-navigation.primary > ul { + border-bottom: 1px solid #eee; +} +.tsd-navigation.primary li { + border-top: 1px solid #eee; +} +.tsd-navigation.primary li.current > a { + font-weight: bold; +} +.tsd-navigation.primary li.label span { + display: block; + padding: 20px 0 6px 5px; + color: #808080; +} +.tsd-navigation.primary li.globals + li > span, .tsd-navigation.primary li.globals + li > a { + padding-top: 20px; +} + +.tsd-navigation.secondary { + max-height: calc(100vh - 1rem - 40px); + overflow: auto; + position: -webkit-sticky; + position: sticky; + top: calc(.5rem + 40px); + transition: 0.3s; +} +.tsd-navigation.secondary.tsd-navigation--toolbar-hide { + max-height: calc(100vh - 1rem); + top: 0.5rem; +} +.tsd-navigation.secondary ul { + transition: opacity 0.2s; +} +.tsd-navigation.secondary ul li a { + padding-left: 25px; +} +.tsd-navigation.secondary ul li li a { + padding-left: 45px; +} +.tsd-navigation.secondary ul li li li a { + padding-left: 65px; +} +.tsd-navigation.secondary ul li li li li a { + padding-left: 85px; +} +.tsd-navigation.secondary ul li li li li li a { + padding-left: 105px; +} +.tsd-navigation.secondary ul li li li li li li a { + padding-left: 125px; +} +.tsd-navigation.secondary ul.current a { + border-left-color: #eee; +} +.tsd-navigation.secondary li.focus > a, +.tsd-navigation.secondary ul.current li.focus > a { + border-left-color: #000; +} +.tsd-navigation.secondary li.current { + margin-top: 20px; + margin-bottom: 20px; + border-left-color: #eee; +} +.tsd-navigation.secondary li.current > a { + font-weight: bold; +} + +@media (min-width: 901px) { + .menu-sticky-wrap { + position: static; + } +} + +.tsd-panel { + margin: 20px 0; + padding: 20px; + background-color: #fff; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, .tsd-panel > h2, .tsd-panel > h3 { + margin: 1.5em -20px 10px -20px; + padding: 0 20px 10px 20px; + border-bottom: 1px solid #eee; +} +.tsd-panel > h1.tsd-before-signature, .tsd-panel > h2.tsd-before-signature, .tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: 0; +} +.tsd-panel table { + display: block; + width: 100%; + overflow: auto; + margin-top: 10px; + word-break: normal; + word-break: keep-all; +} +.tsd-panel table th { + font-weight: bold; +} +.tsd-panel table th, .tsd-panel table td { + padding: 6px 13px; + border: 1px solid #ddd; +} +.tsd-panel table tr { + background-color: #fff; + border-top: 1px solid #ccc; +} +.tsd-panel table tr:nth-child(2n) { + background-color: #f8f8f8; +} + +.tsd-panel-group { + margin: 60px 0; +} +.tsd-panel-group > h1, .tsd-panel-group > h2, .tsd-panel-group > h3 { + padding-left: 20px; + padding-right: 20px; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 40px; + height: 40px; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: #222; +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: #fdfdfd; +} +#tsd-search .results li:nth-child(even) { + background-color: #fff; +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current, +#tsd-search .results li:hover { + background-color: #eee; +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: #808080; + font-weight: normal; +} +#tsd-search.has-focus { + background-color: #eee; +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +.tsd-signature { + margin: 0 0 1em 0; + padding: 10px; + border: 1px solid #eee; + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} +.tsd-signature.tsd-kind-icon { + padding-left: 30px; +} +.tsd-signature.tsd-kind-icon:before { + top: 10px; + left: 10px; +} +.tsd-panel > .tsd-signature { + margin-left: -20px; + margin-right: -20px; + border-width: 1px 0; +} +.tsd-panel > .tsd-signature.tsd-kind-icon { + padding-left: 40px; +} +.tsd-panel > .tsd-signature.tsd-kind-icon:before { + left: 20px; +} + +.tsd-signature-symbol { + color: #808080; + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + border: 1px solid #eee; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-width: 1px 0 0 0; + transition: background-color 0.1s; +} +.tsd-signatures .tsd-signature:first-child { + border-top-width: 0; +} +.tsd-signatures .tsd-signature.current { + background-color: #eee; +} +.tsd-signatures.active > .tsd-signature { + cursor: pointer; +} +.tsd-panel > .tsd-signatures { + margin-left: -20px; + margin-right: -20px; + border-width: 1px 0; +} +.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon { + padding-left: 40px; +} +.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon:before { + left: 20px; +} +.tsd-panel > a.anchor + .tsd-signatures { + border-top-width: 0; + margin-top: -20px; +} + +ul.tsd-descriptions { + position: relative; + overflow: hidden; + padding: 0; + list-style: none; +} +ul.tsd-descriptions.active > .tsd-description { + display: none; +} +ul.tsd-descriptions.active > .tsd-description.current { + display: block; +} +ul.tsd-descriptions.active > .tsd-description.fade-in { + animation: fade-in-delayed 0.3s; +} +ul.tsd-descriptions.active > .tsd-description.fade-out { + animation: fade-out-delayed 0.3s; + position: absolute; + display: block; + top: 0; + left: 0; + right: 0; + opacity: 0; + visibility: hidden; +} +ul.tsd-descriptions h4, ul.tsd-descriptions .tsd-index-panel h3, .tsd-index-panel ul.tsd-descriptions h3 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} + +ul.tsd-parameters, +ul.tsd-type-parameters { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameters > li.tsd-parameter-signature, +ul.tsd-type-parameters > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameters h5, +ul.tsd-type-parameters h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +ul.tsd-parameters .tsd-comment, +ul.tsd-type-parameters .tsd-comment { + margin-top: -0.5em; +} + +.tsd-sources { + font-size: 14px; + color: #808080; + margin: 0 0 1em 0; +} +.tsd-sources a { + color: #808080; + text-decoration: underline; +} +.tsd-sources ul, .tsd-sources p { + margin: 0 !important; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: fixed; + z-index: 1; + top: 0; + left: 0; + width: 100%; + height: 40px; + color: #333; + background: #fff; + border-bottom: 1px solid #eee; + transition: transform 0.3s linear; +} +.tsd-page-toolbar a { + color: #333; + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .table-wrap { + display: table; + width: 100%; + height: 40px; +} +.tsd-page-toolbar .table-cell { + display: table-cell; + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} + +.tsd-page-toolbar--hide { + transform: translateY(-100%); +} + +.tsd-select .tsd-select-list li:before, .tsd-select .tsd-select-label:before, .tsd-widget:before { + content: ""; + display: inline-block; + width: 40px; + height: 40px; + margin: 0 -8px 0 0; + background-image: url(../images/widgets.png); + background-repeat: no-repeat; + text-indent: -1024px; + vertical-align: bottom; +} +@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { + .tsd-select .tsd-select-list li:before, .tsd-select .tsd-select-label:before, .tsd-widget:before { + background-image: url(../images/widgets@2x.png); + background-size: 320px 40px; + } +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.6; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.8; +} +.tsd-widget.active { + opacity: 1; + background-color: #eee; +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} +.tsd-widget.search:before { + background-position: 0 0; +} +.tsd-widget.menu:before { + background-position: -40px 0; +} +.tsd-widget.options:before { + background-position: -80px 0; +} +.tsd-widget.options, .tsd-widget.menu { + display: none; +} +@media (max-width: 900px) { + .tsd-widget.options, .tsd-widget.menu { + display: inline-block; + } +} +input[type=checkbox] + .tsd-widget:before { + background-position: -120px 0; +} +input[type=checkbox]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +.tsd-select { + position: relative; + display: inline-block; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-select .tsd-select-label { + opacity: 0.6; + transition: opacity 0.2s; +} +.tsd-select .tsd-select-label:before { + background-position: -240px 0; +} +.tsd-select.active .tsd-select-label { + opacity: 0.8; +} +.tsd-select.active .tsd-select-list { + visibility: visible; + opacity: 1; + transition-delay: 0s; +} +.tsd-select .tsd-select-list { + position: absolute; + visibility: hidden; + top: 40px; + left: 0; + margin: 0; + padding: 0; + opacity: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); + transition: visibility 0s 0.2s, opacity 0.2s; +} +.tsd-select .tsd-select-list li { + padding: 0 20px 0 0; + background-color: #fdfdfd; +} +.tsd-select .tsd-select-list li:before { + background-position: 40px 0; +} +.tsd-select .tsd-select-list li:nth-child(even) { + background-color: #fff; +} +.tsd-select .tsd-select-list li:hover { + background-color: #eee; +} +.tsd-select .tsd-select-list li.selected:before { + background-position: -200px 0; +} +@media (max-width: 900px) { + .tsd-select .tsd-select-list { + top: 0; + left: auto; + right: 100%; + margin-right: -5px; + } + .tsd-select .tsd-select-label:before { + background-position: -280px 0; + } +} + +img { + max-width: 100%; +} \ No newline at end of file diff --git a/typedoc/assets/images/icons.png b/typedoc/assets/images/icons.png new file mode 100644 index 0000000..3836d5f Binary files /dev/null and b/typedoc/assets/images/icons.png differ diff --git a/typedoc/assets/images/icons@2x.png b/typedoc/assets/images/icons@2x.png new file mode 100644 index 0000000..5a209e2 Binary files /dev/null and b/typedoc/assets/images/icons@2x.png differ diff --git a/typedoc/assets/images/widgets.png b/typedoc/assets/images/widgets.png new file mode 100644 index 0000000..c738053 Binary files /dev/null and b/typedoc/assets/images/widgets.png differ diff --git a/typedoc/assets/images/widgets@2x.png b/typedoc/assets/images/widgets@2x.png new file mode 100644 index 0000000..4bbbd57 Binary files /dev/null and b/typedoc/assets/images/widgets@2x.png differ diff --git a/typedoc/assets/js/main.js b/typedoc/assets/js/main.js new file mode 100644 index 0000000..fe9fac3 --- /dev/null +++ b/typedoc/assets/js/main.js @@ -0,0 +1 @@ +!function(){var e=function(t){var r=new e.Builder;return r.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),r.searchPipeline.add(e.stemmer),t.call(r,r),r.build()};e.version="2.3.7",e.utils={},e.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),e.utils.asString=function(e){return null==e?"":e.toString()},e.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),r=Object.keys(e),i=0;i=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){for(var t,r;47<(r=(t=this.next()).charCodeAt(0))&&r<58;);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos=this.scrollTop||0===this.scrollTop,isShown!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.secondaryNav.classList.toggle("tsd-navigation--toolbar-hide")),this.lastY=this.scrollTop},Viewport}(typedoc.EventTarget);typedoc.Viewport=Viewport,typedoc.registerService(Viewport,"viewport")}(typedoc||(typedoc={})),function(typedoc){function Component(options){this.el=options.el}typedoc.Component=Component}(typedoc||(typedoc={})),function(typedoc){typedoc.pointerDown="mousedown",typedoc.pointerMove="mousemove",typedoc.pointerUp="mouseup",typedoc.pointerDownPosition={x:0,y:0},typedoc.preventNextClick=!1,typedoc.isPointerDown=!1,typedoc.isPointerTouch=!1,typedoc.hasPointerMoved=!1,typedoc.isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),document.documentElement.classList.add(typedoc.isMobile?"is-mobile":"not-mobile"),typedoc.isMobile&&"ontouchstart"in document.documentElement&&(typedoc.isPointerTouch=!0,typedoc.pointerDown="touchstart",typedoc.pointerMove="touchmove",typedoc.pointerUp="touchend"),document.addEventListener(typedoc.pointerDown,function(e){typedoc.isPointerDown=!0,typedoc.hasPointerMoved=!1;var t="touchstart"==typedoc.pointerDown?e.targetTouches[0]:e;typedoc.pointerDownPosition.y=t.pageY||0,typedoc.pointerDownPosition.x=t.pageX||0}),document.addEventListener(typedoc.pointerMove,function(e){if(typedoc.isPointerDown&&!typedoc.hasPointerMoved){var t="touchstart"==typedoc.pointerDown?e.targetTouches[0]:e,x=typedoc.pointerDownPosition.x-(t.pageX||0),y=typedoc.pointerDownPosition.y-(t.pageY||0);typedoc.hasPointerMoved=10scrollTop;)index-=1;for(;index"+match+""}),parent=row.parent||"";(parent=parent.replace(new RegExp(this.query,"i"),function(match){return""+match+""}))&&(name=''+parent+"."+name);var item=document.createElement("li");item.classList.value=row.classes,item.innerHTML='\n '+name+"'\n ",this.results.appendChild(item)}}},Search.prototype.setLoadingState=function(value){this.loadingState!=value&&(this.el.classList.remove(SearchLoadingState[this.loadingState].toLowerCase()),this.loadingState=value,this.el.classList.add(SearchLoadingState[this.loadingState].toLowerCase()),this.updateResults())},Search.prototype.setHasFocus=function(value){this.hasFocus!=value&&(this.hasFocus=value,this.el.classList.toggle("has-focus"),value?(this.setQuery(""),this.field.value=""):this.field.value=this.query)},Search.prototype.setQuery=function(value){this.query=value.trim(),this.updateResults()},Search.prototype.setCurrentResult=function(dir){var current=this.results.querySelector(".current");if(current){var rel=1==dir?current.nextElementSibling:current.previousElementSibling;rel&&(current.classList.remove("current"),rel.classList.add("current"))}else(current=this.results.querySelector(1==dir?"li:first-child":"li:last-child"))&¤t.classList.add("current")},Search.prototype.gotoCurrentResult=function(){var current=this.results.querySelector(".current");if(current||(current=this.results.querySelector("li:first-child")),current){var link=current.querySelector("a");link&&(window.location.href=link.href),this.field.blur()}},Search.prototype.bindEvents=function(){var _this=this;this.results.addEventListener("mousedown",function(){_this.resultClicked=!0}),this.results.addEventListener("mouseup",function(){_this.resultClicked=!1,_this.setHasFocus(!1)}),this.field.addEventListener("focusin",function(){_this.setHasFocus(!0),_this.loadIndex()}),this.field.addEventListener("focusout",function(){_this.resultClicked?_this.resultClicked=!1:setTimeout(function(){return _this.setHasFocus(!1)},100)}),this.field.addEventListener("input",function(){_this.setQuery(_this.field.value)}),this.field.addEventListener("keydown",function(e){13==e.keyCode||27==e.keyCode||38==e.keyCode||40==e.keyCode?(_this.preventPress=!0,e.preventDefault(),13==e.keyCode?_this.gotoCurrentResult():27==e.keyCode?_this.field.blur():38==e.keyCode?_this.setCurrentResult(-1):40==e.keyCode&&_this.setCurrentResult(1)):_this.preventPress=!1}),this.field.addEventListener("keypress",function(e){_this.preventPress&&e.preventDefault()}),document.body.addEventListener("keydown",function(e){e.altKey||e.ctrlKey||e.metaKey||!_this.hasFocus&&47this.groups.length-1&&(index=this.groups.length-1),this.index!=index){var to=this.groups[index];if(-1 + + + + + KDataReader | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Class KDataReader

+
+
+
+
+
+
+
+
+
+

A warpper of javascript object for reading xml-like formatted data.

+
+
+
+
+

Hierarchy

+
    +
  • + KDataReader +
  • +
+
+
+

Index

+
+
+
+

Constructors

+ +
+
+

Properties

+ +
+
+

Methods

+ +
+
+
+
+
+

Constructors

+
+ +

constructor

+ +
    +
  • + +

    Parameters

    +
      +
    • +
      obj: any
      +
    • +
    +

    Returns KDataReader

    +
  • +
+
+
+
+

Properties

+
+ +

obj

+
obj: any
+ +
+
+

Wrapped javascript object

+
+
+
+
+
+

Methods

+
+ +

attr

+ +
    +
  • + +
    +
    +

    Get attrubutes for a tag

    +
    +

    Example:

    +
    <data>
    +  <tag status="1">
    +    <inner __type="s32">1</inner>
    +    <inner __type="s32">2</inner>
    +  </tag>
    +</data>
    +
    const data = {
    +  tag: K.ATTR({ status: "1" }, {
    +    inner: [
    +      K.ITEM("s32", 1),
    +      K.ITEM("s32", 2)
    +    ]
    +  })
    +}
    +

    Evals:

    +
    $(data).attr("tag") // { status: "1" }
    +$(data).element("tag").attr().status // "1"
    +$(data).attr("tag.inner.0").__type // "s32"
    +
    +

    Parameters

    +
      +
    • +
      Optional path: string
      +
    • +
    +

    Returns KAttrMap

    +
  • +
+
+
+ +

bigint

+
    +
  • bigint(path: string, def?: bigint): bigint
  • +
+
    +
  • + +
    +
    +

    Get a bigint value from a tag, convert to bigint if applicable.

    +
    +

    Example:

    +
    <data>
    +  <inner __type="s64">1</inner>
    +  <inner __type="s32">2</inner>
    +  <invalid __type="str">abc</invalid>
    +</data>
    +
    const data = {
    +  inner: [
    +    K.ITEM("s64", 1n),
    +    K.ITEM("s32", 2)
    +  ],
    +  invalid: K.ITEM("str", "abc")
    +}
    +

    Evals:

    +
    $(data).element("inner").bigint() // 1n
    +$(data).bigint("inner.1") // 2n
    +$(data).bigint("invalid", 3n) // 3n
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    • +
      Optional def: bigint
      +
      +

      Default return value when target path does + not exists or is not valid.

      +
      +
    • +
    +

    Returns bigint

    +
  • +
+
+
+ +

bigints

+
    +
  • bigints(path: string, def?: bigint[]): bigint[]
  • +
+
    +
  • + +
    +
    +

    Get a bigint array from a tag. Only returns valid arrays + when target tag has a type of KBigIntType or KBigIntGroupType

    +
    +

    Example:

    +
    <data>
    +  <inner __type="s64" __count="2">1 2</inner>
    +  <invalid __type="s32" __count="2">3 4</invalid>
    +</data>
    +
    const data = {
    +  inner: K.ARRAY("s64", [1n, 2n]),
    +  invalid: K.ARRAY("s32", [3, 4])
    +}
    +

    Evals:

    +
    $(data).bigints("inner") // [1n, 2n]
    +$(data).bigints("invalid") // undefined
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    • +
      Optional def: bigint[]
      +
    • +
    +

    Returns bigint[]

    +
  • +
+
+
+ +

bool

+
    +
  • bool(path: string): boolean
  • +
+
    +
  • + +
    +
    +

    Get a boolean value from a tag, return true only if value in the tag is number and greater than zero

    +
    +

    Example:

    +
    <data>
    +  <inner __type="bool">0</inner>
    +  <inner __type="s32">2</inner>
    +</data>
    +
    const data = {
    +  inner: [
    +    K.ITEM("bool", false),
    +    K.ITEM("s32", 2)
    +  ]
    +}
    +

    Evals:

    +
    $(data).bool("inner.0") // false
    +$(data).bool("inner.1") // true
    +$(data).bool("invalid") // false
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    +

    Returns boolean

    +
  • +
+
+
+ +

buffer

+
    +
  • buffer(path: string, def?: Buffer): Buffer
  • +
+
    +
  • + +
    +
    +

    Get a Buffer object from a tag, Only returns valid Buffer + when target tag has a type of "bin"

    +
    +

    Example:

    +
    <data>
    +  <inner __type="bin">00ff</inner>
    +  <invalid __type="u8" __count="3">1 2 3</invalid>
    +</data>
    +
    const data = {
    +  inner: K.ITEM("bin", Buffer.from([0x00, 0xff])),
    +  invalid: K.ARRAY("u8", [1, 2, 3])
    +}
    +

    Evals:

    +
    $(data).buffer("inner") // <Buffer 00 ff>
    +$(data).buffer("invalid") // undefined
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    • +
      Optional def: Buffer
      +
    • +
    +

    Returns Buffer

    +
  • +
+
+
+ +

content

+
    +
  • content(path: string, def?: any): any
  • +
+
    +
  • + +
    +
    +

    Get raw content representation regardless of tag type

    +
    +

    Example:

    +
    <data>
    +  <number __type="s32">1</number>
    +  <array __type="u8" __count="3">1 2 3</array>
    +  <string __type="str">abc</string>
    +</data>
    +
    const data = {
    +  number: K.ITEM("s32", 1),
    +  array: K.ARRAY("u8", [1, 2, 3]),
    +  string: K.ITEM("str", "abc")
    +}
    +

    Evals:

    +
    $(data).content("number") // [1]
    +$(data).content("array") // [1, 2, 3]
    +$(data).content("string") // "abc"
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    • +
      Optional def: any
      +
    • +
    +

    Returns any

    +
  • +
+
+
+ +

element

+ +
    +
  • + +
    +
    +

    Get first element named path inside a tag

    +
    +

    Example:

    +
    <data>
    +  <inner>
    +    <id __type="s32">1</id>
    +  </inner>
    +  <inner>
    +    <id __type="s32">1</id>
    +  </inner>
    +</data>
    +
    const data = {
    +  inner: [
    +    { id: K.ITEM("s32", 1) },
    +    { id: K.ITEM("s32", 2) }
    +  ]
    +}
    +

    Evals:

    +
    $(data).element("inner") // <KDataReader>
    +$(data).element("inner").obj // { id: [object] }
    +$(data).element("inner").number("id") // 1
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    +

    Returns KDataReader

    +
  • +
+
+
+ +

elements

+ +
    +
  • + +
    +
    +

    Get array of all elements named path inside a tag

    +
    +

    Example:

    +
    <data>
    +  <inner>
    +    <id __type="s32">1</id>
    +  </inner>
    +  <inner>
    +    <id __type="s32">1</id>
    +  </inner>
    +</data>
    +
    const data = {
    +  inner: [
    +    { id: K.ITEM("s32", 1) },
    +    { id: K.ITEM("s32", 2) }
    +  ]
    +}
    +

    Evals:

    +
    $(data).elements("inner") // [<KDataReader>, <KDataReader>]
    +$(data).elements("inner")[1].number("id") // 2
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    +

    Returns KDataReader[]

    +
  • +
+
+
+ +

number

+
    +
  • number(path: string, def?: number): number
  • +
+
    +
  • + +
    +
    +

    Get a number value from a tag, convert to number if applicable.

    +
    +

    Example:

    +
    <data>
    +  <inner __type="s64">1</inner>
    +  <inner __type="s32">2</inner>
    +  <invalid __type="str">abc</invalid>
    +</data>
    +
    const data = {
    +  inner: [
    +    K.ITEM("s64", 1n),
    +    K.ITEM("s32", 2)
    +  ],
    +  invalid: K.ITEM("str", "abc")
    +}
    +

    Evals:

    +
    $(data).element("inner").number() // 1
    +$(data).number("inner.1") // 2
    +$(data).number("invalid", 3) // 3
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    • +
      Optional def: number
      +
      +

      Default return value when target path does + not exists or is not valid.

      +
      +
    • +
    +

    Returns number

    +
  • +
+
+
+ +

numbers

+
    +
  • numbers(path: string, def?: number[]): number[]
  • +
+
    +
  • + +
    +
    +

    Get a number array from a tag. Only returns valid arrays + when target tag has a type of KNumberType or KNumberGroupType

    +
    +

    Example:

    +
    <data>
    +  <inner __type="s64" __count="2">1 2</inner>
    +  <invalid __type="s32" __count="2">3 4</invalid>
    +</data>
    +
    const data = {
    +  invalid: K.ARRAY("s64", [1n, 2n]),
    +  inner: K.ARRAY("s32", [3, 4])
    +}
    +

    Evals:

    +
    $(data).bigints("invalid") // undefined
    +$(data).bigints("inner") // [3, 4]
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    • +
      Optional def: number[]
      +
    • +
    +

    Returns number[]

    +
  • +
+
+
+ +

str

+
    +
  • str(path: string, def?: string): string
  • +
+
    +
  • + +
    +
    +

    Get a string from a tag, Only returns valid string + when target tag has a type of "str"

    +
    +

    Example:

    +
    <data>
    +  <inner __type="str">abc</inner>
    +  <invalid __type="s32">1</invalid>
    +</data>
    +
    const data = {
    +  inner: K.ITEM("str", "abc"),
    +  invalid: K.ITEM("s32", 1)
    +}
    +

    Evals:

    +
    $(data).str("inner") // "abc"
    +$(data).str("invalid") // undefined
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    • +
      Optional def: string
      +
    • +
    +

    Returns string

    +
  • +
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/globals.html b/typedoc/globals.html new file mode 100644 index 0000000..5b0fe31 --- /dev/null +++ b/typedoc/globals.html @@ -0,0 +1,344 @@ + + + + + + Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Asphyxia CORE Module API

+
+
+
+
+
+
+
+

Index

+
+
+
+

Namespaces

+ +
+
+

Classes

+ +
+
+

Interfaces

+ +
+
+

Type aliases

+ +
+
+
+
+
+

Type aliases

+
+ +

EPR

+ + +
+
+

Helper type for typing your custom route.

+
+

Alias for EamusePluginRoute

+
+
+
+ +

EamusePluginRoute

+
EamusePluginRoute: (req: EamuseInfo, data: any, send: EamuseSend) => Promise<any>
+ +
+
+

Helper type for typing your custom route.

+
+
+
+

Type declaration

+ +
+
+
+ +

KAttrMap

+
KAttrMap: {}
+ +
+
+

Attribute object

+
+
+
+

Type declaration

+
    +
  • +
    [key: string]: string
    +
  • +
+
+
+
+ +

KBigIntGroupType

+
KBigIntGroupType: "2s64" | "2u64" | "3s64" | "3u64" | "4s64" | "4u64" | "vs8" | "vu8" | "vs16" | "vu16"
+ +
+
+ +

KBigIntType

+
KBigIntType: "s64" | "u64"
+ +
+
+ +

KEncoding

+
KEncoding: "shift_jis" | "utf8" | "euc-jp" | "ascii" | "iso-8859-1"
+ +
+
+

Supported response encoding

+
+
+
+
+ +

KNumberGroupType

+
KNumberGroupType: "2s8" | "2u8" | "2s16" | "2u16" | "2s32" | "2u32" | "2f" | "2d" | "3s8" | "3u8" | "3s16" | "3u16" | "3s32" | "3u32" | "3f" | "3d" | "4s8" | "4u8" | "4s16" | "4u16" | "4s32" | "4u32" | "4f" | "4d" | "2b" | "3b" | "4b" | "vb"
+ +
+
+ +

KNumberType

+
KNumberType: "s8" | "u8" | "s16" | "u16" | "s32" | "u32" | "time" | "ip4" | "float" | "double" | "bool"
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/index.html b/typedoc/index.html new file mode 100644 index 0000000..0143c55 --- /dev/null +++ b/typedoc/index.html @@ -0,0 +1,165 @@ + + + + + + Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Asphyxia CORE Module API

+
+
+
+
+
+
+
+ +

Asphyxia CORE

+
+

Quick Start guide coming soon.

+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/interfaces/config_options.html b/typedoc/interfaces/config_options.html new file mode 100644 index 0000000..e9a6465 --- /dev/null +++ b/typedoc/interfaces/config_options.html @@ -0,0 +1,353 @@ + + + + + + CONFIG_OPTIONS | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Interface CONFIG_OPTIONS

+
+
+
+
+
+
+
+
+
+

Detail of a config

+
+
+
+
+

Hierarchy

+
    +
  • + CONFIG_OPTIONS +
  • +
+
+
+

Index

+
+
+
+

Properties

+ +
+
+
+
+
+

Properties

+
+ +

default

+
default: any
+ +
+
+

Default value of the option

+
+
+
+
+ +

Optional desc

+
desc: string
+ +
+
+

Provide a description for the option

+
+
+
+
+ +

Optional name

+
name: string
+ +
+
+

Provide a name to display in webui. If not provided, webui will use key as the name.

+
+
+
+
+ +

Optional needRestart

+
needRestart: boolean
+ +
+
+

Indicate whether user need to restart CORE to see changes.

+
+
+
+
+ +

Optional options

+
options: string[]
+ +
+
+

Only applies to 'string', provide options in a dropdown menu.

+
+
+
+
+ +

Optional range

+
range: [number, number]
+ +
+
+

Only applies to 'integer' and 'float'

+
+
+
+
+ +

type

+
type: "string" | "integer" | "float" | "boolean"
+ +
+
+

Type of the option

+
+
+
+
+ +

Optional validator

+
validator: (data: string) => true | string
+ +
+
+

Validator for notify user about invalid values. return true to pass the validation. return a string to send a error message to WebUI.

+
+
+
+

Type declaration

+
    +
  • +
      +
    • (data: string): true | string
    • +
    +
      +
    • +

      Parameters

      +
        +
      • +
        data: string
        +
      • +
      +

      Returns true | string

      +
    • +
    +
  • +
+
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/interfaces/eamuseinfo.html b/typedoc/interfaces/eamuseinfo.html new file mode 100644 index 0000000..92468be --- /dev/null +++ b/typedoc/interfaces/eamuseinfo.html @@ -0,0 +1,222 @@ + + + + + + EamuseInfo | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Interface EamuseInfo

+
+
+
+
+
+
+
+
+
+

Information about requester

+
+
+
+
+

Hierarchy

+
    +
  • + EamuseInfo +
  • +
+
+
+

Index

+
+
+
+

Properties

+ +
+
+
+
+
+

Properties

+
+ +

method

+
method: string
+ +
+
+ +

model

+
model: string
+ +
+
+ +

module

+
module: string
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/interfaces/eamusesend.html b/typedoc/interfaces/eamusesend.html new file mode 100644 index 0000000..baaee06 --- /dev/null +++ b/typedoc/interfaces/eamusesend.html @@ -0,0 +1,595 @@ + + + + + + EamuseSend | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Interface EamuseSend

+
+
+
+
+
+
+
+

Hierarchy

+
    +
  • + EamuseSend +
  • +
+
+
+

Index

+
+
+
+

Properties

+ +
+
+
+
+
+

Properties

+
+ +

deny

+
deny: (options?: EamuseSendOption) => Promise<void>
+ +
+
+

Send empty response with status code 1

+
+
+
+

Type declaration

+ +
+
+
+ +

object

+
object: (res: any, options?: EamuseSendOption) => Promise<void>
+ +
+
+

Send plain javascript object. + When constructing objects, make sure to use helper K:

+
{
+  outter: K.ATTR({ status: "1" }, {
+    inner: K.ITEM("s32", 1)
+  })
+}
+
+

Or follow xml-like format manually:

+
{
+  outter: {
+    "@attr": { status: "1" },
+    inner: {
+      "@attr": { __type: "s32" },
+      "@content": [1]
+    }
+  }
+}
+
+
param
+

xml-like formatted javascript object

+
+
param
+

Response options. See: EamuseSendOption

+
+
+
+
+

Type declaration

+
    +
  • + +
      +
    • +

      Parameters

      + +

      Returns Promise<void>

      +
    • +
    +
  • +
+
+
+
+ +

pug

+
pug: (res: string, data?: any, options?: EamuseSendOption) => Promise<void>
+ +
+
+

Send xml data using pug template system.

+
+
+
param
+

pug string as the template

+
+
param
+

Render template with specified data, + pass null or undefined to render static xml

+
+
param
+

Response options. See: EamuseSendOption

+
+
+
+
+

Type declaration

+
    +
  • + +
      +
    • +

      Parameters

      +
        +
      • +
        res: string
        +
      • +
      • +
        Optional data: any
        +
      • +
      • +
        Optional options: EamuseSendOption
        +
      • +
      +

      Returns Promise<void>

      +
    • +
    +
  • +
+
+
+
+ +

pugFile

+
pugFile: (file: string, data?: any, options?: EamuseSendOption) => Promise<void>
+ +
+
+

Render and send pug template from a file

+
+
+
param
+

Filename of the template

+
+
param
+

Render template with specified data, + pass null or undefined to render static xml

+
+
param
+

Response options. See: EamuseSendOption

+
+
+
+
+

Type declaration

+
    +
  • + +
      +
    • +

      Parameters

      +
        +
      • +
        file: string
        +
      • +
      • +
        Optional data: any
        +
      • +
      • +
        Optional options: EamuseSendOption
        +
      • +
      +

      Returns Promise<void>

      +
    • +
    +
  • +
+
+
+
+ +

status

+
status: (code: number, options?: EamuseSendOption) => Promise<void>
+ +
+
+

Send empty response with custom status code

+
+
+
+

Type declaration

+
    +
  • + +
      +
    • +

      Parameters

      + +

      Returns Promise<void>

      +
    • +
    +
  • +
+
+
+
+ +

success

+
success: (options?: EamuseSendOption) => Promise<void>
+ +
+
+

Send empty response with status code 0

+
+
+
+

Type declaration

+ +
+
+
+ +

xml

+
xml: (res: string, data?: any, options?: EamuseSendOption) => Promise<void>
+ +
+
+

Send xml data using ejs template system.

+
+
+
param
+

xml string as the template

+
+
param
+

Render template with specified data, + pass null or undefined to render static xml

+
+
param
+

Response options. See: EamuseSendOption

+
+
+
+
+

Type declaration

+
    +
  • + +
      +
    • +

      Parameters

      +
        +
      • +
        res: string
        +
      • +
      • +
        Optional data: any
        +
      • +
      • +
        Optional options: EamuseSendOption
        +
      • +
      +

      Returns Promise<void>

      +
    • +
    +
  • +
+
+
+
+ +

xmlFile

+
xmlFile: (file: string, data?: any, options?: EamuseSendOption) => Promise<void>
+ +
+
+

Render and send ejs template from a file

+
+
+
param
+

Filename of the template

+
+
param
+

Render template with specified data, + pass null or undefined to render static xml

+
+
param
+

Response options. See: EamuseSendOption

+
+
+
+
+

Type declaration

+
    +
  • + +
      +
    • +

      Parameters

      +
        +
      • +
        file: string
        +
      • +
      • +
        Optional data: any
        +
      • +
      • +
        Optional options: EamuseSendOption
        +
      • +
      +

      Returns Promise<void>

      +
    • +
    +
  • +
+
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/interfaces/eamusesendoption.html b/typedoc/interfaces/eamusesendoption.html new file mode 100644 index 0000000..8a24519 --- /dev/null +++ b/typedoc/interfaces/eamusesendoption.html @@ -0,0 +1,277 @@ + + + + + + EamuseSendOption | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Interface EamuseSendOption

+
+
+
+
+
+
+
+
+
+

Response options

+
+
+
+
+

Hierarchy

+
    +
  • + EamuseSendOption +
  • +
+
+
+

Index

+
+
+
+

Properties

+ +
+
+
+
+
+

Properties

+
+ +

Optional compress

+
compress: boolean
+ +
+
+ +

Optional encoding

+
encoding: KEncoding
+ +
+
+

Encode response with specified encoding + Default: 'SHIFT_JIS'

+
+
+
+
+ +

Optional encrypt

+
encrypt: boolean
+ +
+
+ +

Optional kencode

+
kencode: boolean
+ +
+
+ +

Optional rootName

+
rootName: string
+ +
+
+

Replace response root tag name. + Default to child tag name of request tag, + which is usually the case and don't need to be replaced.

+
+
+
+
+ +

Optional status

+
status: number
+ +
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/modules/_.html b/typedoc/modules/_.html new file mode 100644 index 0000000..cd76df6 --- /dev/null +++ b/typedoc/modules/_.html @@ -0,0 +1,522 @@ + + + + + + $ | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Namespace $

+
+
+
+
+
+
+
+

Callable

+ +
    +
  • + +
    +
    +

    Helper for reading xml-like formatted data.

    +
    +
    +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    +

    Returns KDataReader

    +
  • +
+
+
+

Index

+
+
+
+

Functions

+ +
+
+
+
+
+

Functions

+
+ +

ATTR

+
    +
  • ATTR(data: any, path?: string): KAttrMap
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      Optional path: string
      +
    • +
    +

    Returns KAttrMap

    +
  • +
+
+
+ +

BIGINT

+
    +
  • BIGINT(data: any, path: string, def?: bigint): bigint
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      path: string
      +
    • +
    • +
      Optional def: bigint
      +
    • +
    +

    Returns bigint

    +
  • +
+
+
+ +

BIGINTS

+
    +
  • BIGINTS(data: any, path: string, def?: bigint[]): bigint[]
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      path: string
      +
    • +
    • +
      Optional def: bigint[]
      +
    • +
    +

    Returns bigint[]

    +
  • +
+
+
+ +

BOOL

+
    +
  • BOOL(data: any, path: string): boolean
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      path: string
      +
    • +
    +

    Returns boolean

    +
  • +
+
+
+ +

BUFFER

+
    +
  • BUFFER(data: any, path: string, def?: Buffer): Buffer
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      path: string
      +
    • +
    • +
      Optional def: Buffer
      +
    • +
    +

    Returns Buffer

    +
  • +
+
+
+ +

CONTENT

+
    +
  • CONTENT(data: any, path: string, def?: any): any
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      path: string
      +
    • +
    • +
      Optional def: any
      +
    • +
    +

    Returns any

    +
  • +
+
+
+ +

ELEMENT

+
    +
  • ELEMENT(data: any, path: string, def?: any): any
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      path: string
      +
    • +
    • +
      Optional def: any
      +
    • +
    +

    Returns any

    +
  • +
+
+
+ +

ELEMENTS

+
    +
  • ELEMENTS(data: any, path: string, def?: any): any
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      path: string
      +
    • +
    • +
      Optional def: any
      +
    • +
    +

    Returns any

    +
  • +
+
+
+ +

NUMBER

+
    +
  • NUMBER(data: any, path: string, def?: number): number
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      path: string
      +
    • +
    • +
      Optional def: number
      +
    • +
    +

    Returns number

    +
  • +
+
+
+ +

NUMBERS

+
    +
  • NUMBERS(data: any, path: string, def?: number[]): number[]
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      path: string
      +
    • +
    • +
      Optional def: number[]
      +
    • +
    +

    Returns number[]

    +
  • +
+
+
+ +

STR

+
    +
  • STR(data: any, path: string, def?: string): string
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      data: any
      +
    • +
    • +
      path: string
      +
    • +
    • +
      Optional def: string
      +
    • +
    +

    Returns string

    +
  • +
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/modules/db.html b/typedoc/modules/db.html new file mode 100644 index 0000000..bd12636 --- /dev/null +++ b/typedoc/modules/db.html @@ -0,0 +1,482 @@ + + + + + + DB | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Namespace DB

+
+
+
+
+
+
+
+
+
+

Database operation.

+
+

There are two pools of data for each plugin: PluginSpace and ProfileSpace

+

If refid is a string, query will match a specific profile data in ProfileSpace.

+

If refid is null, query will match all profile data in ProfileSpace. + (doesn't apply to DB.FindOne and DB.Insert)

+

If refid is not provided, query will match data in PluginSpace.

+
+

NOTE: since WebUI can delete data in ProfileSpace, + you should refrain from referencing refid in your document to prevent getting unclearable garbage data.

+

If you need to make rival/friend feature, we recommend you to get all profile data by passing null to refid. + There will be 16 profiles maximum which is small enough to manage.

+
+
+
+

Index

+
+
+
+

Functions

+ +
+
+
+
+
+

Functions

+
+ +

Count

+
    +
  • Count(refid: string | null, query: object): Promise<number>
  • +
  • Count(query: object): Promise<number>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      refid: string | null
      +
    • +
    • +
      query: object
      +
    • +
    +

    Returns Promise<number>

    +
  • +
  • + +

    Parameters

    +
      +
    • +
      query: object
      +
    • +
    +

    Returns Promise<number>

    +
  • +
+
+
+ +

Find

+
    +
  • Find(refid: string | null, query: object): Promise<any>
  • +
  • Find(query: object): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      refid: string | null
      +
    • +
    • +
      query: object
      +
    • +
    +

    Returns Promise<any>

    +
  • +
  • + +

    Parameters

    +
      +
    • +
      query: object
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

FindOne

+
    +
  • FindOne(refid: string, query: object): Promise<any>
  • +
  • FindOne(query: object): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      refid: string
      +
    • +
    • +
      query: object
      +
    • +
    +

    Returns Promise<any>

    +
  • +
  • + +

    Parameters

    +
      +
    • +
      query: object
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

Insert

+
    +
  • Insert(refid: string, doc: object): Promise<any>
  • +
  • Insert(doc: object): Promise<any>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      refid: string
      +
    • +
    • +
      doc: object
      +
    • +
    +

    Returns Promise<any>

    +
  • +
  • + +

    Parameters

    +
      +
    • +
      doc: object
      +
    • +
    +

    Returns Promise<any>

    +
  • +
+
+
+ +

Remove

+
    +
  • Remove(refid: string | null, query: object): Promise<number>
  • +
  • Remove(query: object): Promise<number>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      refid: string | null
      +
    • +
    • +
      query: object
      +
    • +
    +

    Returns Promise<number>

    +
  • +
  • + +

    Parameters

    +
      +
    • +
      query: object
      +
    • +
    +

    Returns Promise<number>

    +
  • +
+
+
+ +

Update

+
    +
  • Update(refid: string | null, query: object, update: object): Promise<{ docs: any[]; updated: number }>
  • +
  • Update(query: object, update: object): Promise<{ docs: any[]; updated: number }>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      refid: string | null
      +
    • +
    • +
      query: object
      +
    • +
    • +
      update: object
      +
    • +
    +

    Returns Promise<{ docs: any[]; updated: number }>

    +
  • +
  • + +

    Parameters

    +
      +
    • +
      query: object
      +
    • +
    • +
      update: object
      +
    • +
    +

    Returns Promise<{ docs: any[]; updated: number }>

    +
  • +
+
+
+ +

Upsert

+
    +
  • Upsert(refid: string | null, query: object, update: object): Promise<{ docs: any[]; updated: number; upsert: boolean }>
  • +
  • Upsert(query: object, update: object): Promise<{ docs: any[]; updated: number; upsert: boolean }>
  • +
+
    +
  • + +

    Parameters

    +
      +
    • +
      refid: string | null
      +
    • +
    • +
      query: object
      +
    • +
    • +
      update: object
      +
    • +
    +

    Returns Promise<{ docs: any[]; updated: number; upsert: boolean }>

    +
  • +
  • + +

    Parameters

    +
      +
    • +
      query: object
      +
    • +
    • +
      update: object
      +
    • +
    +

    Returns Promise<{ docs: any[]; updated: number; upsert: boolean }>

    +
  • +
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/modules/io.html b/typedoc/modules/io.html new file mode 100644 index 0000000..ab70827 --- /dev/null +++ b/typedoc/modules/io.html @@ -0,0 +1,427 @@ + + + + + + IO | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Namespace IO

+
+
+
+
+
+
+
+
+
+

Filesystem IO

+
+

These are designed to match nodejs fs module. Along with custom filesystem implementation for reading compressed data.

+

DO NOT use IO for savedata. Please use DB namespace so your data can be managed by WebUI.

+

Also, due to difference between operating systems, you should always prepare your files using ascii path. + Both UTF-8 and local encodings will have cross-platform compatibility issues.

+
+
+
+

Index

+
+
+
+

Functions

+ +
+
+
+
+
+

Functions

+
+ +

ReadDir

+
    +
  • ReadDir(path: string): Promise<{ name: string; type: "file" | "dir" | "unsupported" }[]>
  • +
+
    +
  • + +
    +
    +

    Asynchronously read a directory.

    +
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
      +

      A path to a directory.

      +
      +
    • +
    +

    Returns Promise<{ name: string; type: "file" | "dir" | "unsupported" }[]>

    +
  • +
+
+
+ +

ReadFile

+
    +
  • ReadFile(path: string, options: { encoding?: null; flag?: string } | undefined | null): Promise<Buffer>
  • +
  • ReadFile(path: string, options: { encoding: string; flag?: string } | string): Promise<string>
  • +
  • ReadFile(path: string, options: { encoding?: string | null; flag?: string } | string | undefined | null): Promise<string | Buffer>
  • +
  • ReadFile(path: string): Promise<Buffer>
  • +
+
    +
  • + +
    +
    +

    Asynchronously reads the entire contents of a file.

    +
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
      +

      A path to a file. + If a file descriptor is provided, the underlying file will not be closed automatically.

      +
      +
    • +
    • +
      options: { encoding?: null; flag?: string } | undefined | null
      +
      +

      An object that may contain an optional flag. + If a flag is not provided, it defaults to 'r'.

      +
      +
    • +
    +

    Returns Promise<Buffer>

    +
  • +
  • + +
    +
    +

    Asynchronously reads the entire contents of a file.

    +
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
      +

      A path to a file. + If a file descriptor is provided, the underlying file will not be closed automatically.

      +
      +
    • +
    • +
      options: { encoding: string; flag?: string } | string
      +
      +

      Either the encoding for the result, or an object that contains the encoding and an optional flag. + If a flag is not provided, it defaults to 'r'.

      +
      +
    • +
    +

    Returns Promise<string>

    +
  • +
  • + +
    +
    +

    Asynchronously reads the entire contents of a file.

    +
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
      +

      A path to a file. + If a file descriptor is provided, the underlying file will not be closed automatically.

      +
      +
    • +
    • +
      options: { encoding?: string | null; flag?: string } | string | undefined | null
      +
      +

      Either the encoding for the result, or an object that contains the encoding and an optional flag. + If a flag is not provided, it defaults to 'r'.

      +
      +
    • +
    +

    Returns Promise<string | Buffer>

    +
  • +
  • + +
    +
    +

    Asynchronously reads the entire contents of a file.

    +
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
      +

      A path to a file. + If a file descriptor is provided, the underlying file will not be closed automatically.

      +
      +
    • +
    +

    Returns Promise<Buffer>

    +
  • +
+
+
+ +

Resolve

+
    +
  • Resolve(path: string): string
  • +
+
    +
  • + +
    +
    +

    Resolve a relative path starting from your plugin directory to an absolute path.

    +
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
    • +
    +

    Returns string

    +
  • +
+
+
+ +

WriteFile

+
    +
  • WriteFile(path: string, data: any, options: { encoding?: string | null; flag?: string; mode?: number | string } | string | null): Promise<void>
  • +
  • WriteFile(path: string, data: any): Promise<void>
  • +
+
    +
  • + +
    +
    +

    Asynchronously writes data to a file, replacing the file if it already exists.

    +
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
      +

      A path to a file. + If a file descriptor is provided, the underlying file will not be closed automatically.

      +
      +
    • +
    • +
      data: any
      +
      +

      The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.

      +
      +
    • +
    • +
      options: { encoding?: string | null; flag?: string; mode?: number | string } | string | null
      +
      +

      Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. + If encoding is not supplied, the default of 'utf8' is used. + If mode is not supplied, the default of 0o666 is used. + If mode is a string, it is parsed as an octal integer. + If flag is not supplied, the default of 'w' is used.

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
  • + +
    +
    +

    Asynchronously writes data to a file, replacing the file if it already exists.

    +
    +
    +

    Parameters

    +
      +
    • +
      path: string
      +
      +

      A path to a file. + If a file descriptor is provided, the underlying file will not be closed automatically.

      +
      +
    • +
    • +
      data: any
      +
      +

      The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.

      +
      +
    • +
    +

    Returns Promise<void>

    +
  • +
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/modules/k.html b/typedoc/modules/k.html new file mode 100644 index 0000000..eae45cb --- /dev/null +++ b/typedoc/modules/k.html @@ -0,0 +1,487 @@ + + + + + + K | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Namespace K

+
+
+
+
+
+
+
+
+
+

K stands for Konstruct

+
+

Helper for constructing xml-like javascript object.

+
+
+
+

Index

+
+
+
+

Functions

+ +
+
+
+
+
+

Functions

+
+ +

ARRAY

+ +
    +
  • + +
    +
    +

    Example:

    +
    {
    +  tag: K.ARRAY('s32', [1, 2, 3], {attr: "4"})
    +}

    Represents:

    +
    <tag __type="s32" __count="3" attr="2">1 2 3</tag>
    +
    +
    +

    Parameters

    +
      +
    • +
      type: "u8" | "s8"
      +
      +

      __type attribute, which is used during encoding and compression

      +
      +
    • +
    • +
      content: Buffer
      +
      +

      array of data, __count attribute will be automatically set to content.length

      +
      +
    • +
    • +
      Optional attr: KAttrMap
      +
      +

      attribute map in addition to __type and __count

      +
      +
    • +
    +

    Returns any

    +
  • +
  • + +

    Parameters

    + +

    Returns any

    +
  • +
  • + +

    Parameters

    + +

    Returns any

    +
  • +
+
+
+ +

ATTR

+
    +
  • ATTR(attr: KAttrMap, inner?: any): any
  • +
+
    +
  • + +
    +
    +

    Example:

    +
    {
    +  tag: K.ATTR({attr: "1"}, {
    +    inner: [{}, {}]
    +  })
    +}

    Represents:

    +
    <tag attr="1">
    +  <inner/>
    +  <inner/>
    +</tag>
    +
    +
    +

    Parameters

    +
      +
    • +
      attr: KAttrMap
      +
      +

      Attribute map

      +
      +
    • +
    • +
      Optional inner: any
      +
      +

      Inner tag/data

      +
      +
    • +
    +

    Returns any

    +
  • +
+
+
+ +

ITEM

+ +
    +
  • + +
    +
    +

    Example:

    +
    {
    +  tag: K.ITEM('s32', 1, {attr: "2"})
    +}

    Represents:

    +
    <tag __type="s32" attr="2">1</tag>
    +
    +
    +

    Parameters

    +
      +
    • +
      type: "str"
      +
      +

      __type attribute, which is used during encoding and compression

      +
      +
    • +
    • +
      content: string
      +
      +

      data of specified type

      +
      +
    • +
    • +
      Optional attr: KAttrMap
      +
      +

      attribute map in addition to __type

      +
      +
    • +
    +

    Returns any

    +
  • +
  • + +

    Parameters

    +
      +
    • +
      type: "bin"
      +
    • +
    • +
      content: Buffer
      +
    • +
    • +
      Optional attr: KAttrMap
      +
    • +
    +

    Returns any

    +
  • +
  • + +

    Parameters

    +
      +
    • +
      type: "ip4"
      +
    • +
    • +
      content: string
      +
    • +
    • +
      Optional attr: KAttrMap
      +
    • +
    +

    Returns any

    +
  • +
  • + +

    Parameters

    +
      +
    • +
      type: "bool"
      +
    • +
    • +
      content: boolean
      +
    • +
    • +
      Optional attr: KAttrMap
      +
    • +
    +

    Returns any

    +
  • +
  • + +

    Parameters

    + +

    Returns any

    +
  • +
  • + +

    Parameters

    + +

    Returns any

    +
  • +
  • + +

    Parameters

    + +

    Returns any

    +
  • +
  • + +

    Parameters

    + +

    Returns any

    +
  • +
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/modules/r.html b/typedoc/modules/r.html new file mode 100644 index 0000000..e84c4d3 --- /dev/null +++ b/typedoc/modules/r.html @@ -0,0 +1,405 @@ + + + + + + R | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Namespace R

+
+
+
+
+
+
+
+
+
+

R stands for Register

+
+

These functions can only be called in plugins' register() function.

+
+
+
+

Index

+
+
+
+

Functions

+ +
+
+
+
+
+

Functions

+
+ +

Config

+ +
    +
  • + +
    +
    +

    Register a configuration option.

    +
    +
    +

    Parameters

    +
      +
    • +
      key: string
      +
      +

      config key

      +
      +
    • +
    • +
      options: CONFIG_OPTIONS
      +
      +

      See CONFIG_OPTIONS

      +

      NOTE: options.validator will only notify user about invalid value. It wouldn't stop user from saving invalid value.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

Contributor

+
    +
  • Contributor(name: string, link?: string): void
  • +
+
    +
  • + +
    +
    +

    Register a contributor.

    +
    +

    Contributors will show up in WebUI.

    +
    +

    Parameters

    +
      +
    • +
      name: string
      +
      +

      Contributor's name

      +
      +
    • +
    • +
      Optional link: string
      +
      +

      Contributor's homepage

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

GameCode

+
    +
  • GameCode(code: string): void
  • +
+
    +
  • + +
    +
    +

    Register a target game code to your plugin for checking savedata.

    +
    +

    You should only call this from your plugin's register() function.

    +
    +

    Parameters

    +
      +
    • +
      code: string
      +
      +

      Model code of your target machine, + usually three capital letters

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

Route

+ +
    +
  • + +
    +
    +

    Register your custom route.

    +
    +

    You should only call this from your plugin's register() function.

    +
    +

    Parameters

    +
      +
    • +
      method: string
      +
      +

      Method name of your target route, + usually looks like "module.get"

      +
      +
    • +
    • +
      handler: EamusePluginRoute | boolean
      +
      +

      Your custom route function/method following the type EamusePluginRoute. + A boolean can be passed if you don't need any processing: + - true: Sending empty response with status code 0 + - false: Sending empty response with status code 1

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

Unhandled

+ +
    +
  • + +
    +
    +

    Register all unhandled routes for a game.

    +
    +

    You should only call this from your plugin's register() function.

    +
    +

    Parameters

    +
      +
    • +
      Optional handler: EamusePluginRoute
      +
      +

      Your custom route function/method following the type EamusePluginRoute. + If undefined, the router will apply a default handler that prints method names.

      +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+ +

WebUIEvent

+
    +
  • WebUIEvent(event: string, callback: (data: any) => void | Promise<void>): void
  • +
+
    +
  • + +
    +
    +

    Register a WebUI event callback

    +
    +

    Which can be called in WebUI using emit(event) function or a post message to /emit/<event>

    +

    Callback can be async function if you want to use await for your DB operations.

    +
    +

    Parameters

    +
      +
    • +
      event: string
      +
    • +
    • +
      callback: (data: any) => void | Promise<void>
      +
        +
      • +
          +
        • (data: any): void | Promise<void>
        • +
        +
          +
        • +

          Parameters

          +
            +
          • +
            data: any
            +
          • +
          +

          Returns void | Promise<void>

          +
        • +
        +
      • +
      +
    • +
    +

    Returns void

    +
  • +
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file diff --git a/typedoc/modules/u.html b/typedoc/modules/u.html new file mode 100644 index 0000000..ae71405 --- /dev/null +++ b/typedoc/modules/u.html @@ -0,0 +1,256 @@ + + + + + + U | Asphyxia CORE Module API + + + + + +
+
+
+
+ +
+
+ Options +
+
+ All +
    +
  • Public
  • +
  • Public/Protected
  • +
  • All
  • +
+
+ + + + +
+
+ Menu +
+
+
+
+
+
+ +

Namespace U

+
+
+
+
+
+
+
+
+
+

U stands for Utilities

+
+

You can find miscellaneous helpers here

+
+
+
+

Index

+
+
+
+

Functions

+ +
+
+
+
+
+

Functions

+
+ +

GetConfig

+
    +
  • GetConfig(key: string): any
  • +
+
    +
  • + +
    +
    +

    Get config from user configuration file.

    +
    +
    +

    Parameters

    +
      +
    • +
      key: string
      +
      +
      +
    • +
    +

    Returns any

    +
  • +
+
+
+ +

parseXML

+
    +
  • parseXML(xml: string, simplify?: boolean): any
  • +
+
    +
  • + +
    +
    +

    Convert xml string to javascript object. Output will always be plain javascript string.

    +
    +
    +

    Parameters

    +
      +
    • +
      xml: string
      +
      +

      xml string

      +
      +
    • +
    • +
      Optional simplify: boolean
      +
      +

      if true, the parser will ignore attributes and only generate string values. (default: true)

      +
      +
    • +
    +

    Returns any

    +
  • +
+
+
+ +

toXML

+
    +
  • toXML(data: any): string
  • +
+
    +
  • + +
    +
    +

    Convert json data to xml string.

    +
    +
    +

    Parameters

    +
      +
    • +
      data: any
      +
      +

      xml-like javascript object

      +
      +
    • +
    +

    Returns string

    +
  • +
+
+
+
+ +
+
+
+
+

Legend

+
+
    +
  • Constructor
  • +
  • Property
  • +
  • Method
  • +
+
    +
  • Property
  • +
+
+
+
+
+

Generated using TypeDoc

+
+
+ + + + \ No newline at end of file