hwm_armory_framework

Хелпер для других скриптов склада

بۇ قوليازمىنى بىۋاسىتە قاچىلاشقا بولمايدۇ. بۇ باشقا قوليازمىلارنىڭ ئىشلىتىشى ئۈچۈن تەمىنلەنگەن ئامبار بولۇپ، ئىشلىتىش ئۈچۈن مېتا كۆرسەتمىسىگە قىستۇرىدىغان كود: // @require https://update.greasyfork.org/scripts/457946/1239339/hwm_armory_framework.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ئاپتورى
bonArt
نەشرى
1.5.1
قۇرۇلغان ۋاقتى
2023-01-10
يېڭىلانغان ۋاقتى
2023-08-22
Size
31.0 KB
ئىجازەتنامىسى
GPL-3.0-only

Обвязка для DOM-структуры склада.

Необходимо вызывать ArmoryFramework.init() в начале скрипта. Возвращаемое значение будет инстансом фреймворка, через который можно получать различные части структуры. Также их можно получать через классы, перечисленные в FrameworkClassNames. На данный момент доступна только верхнеуровневая структура и частично - более глубокие уровни. Компоненты будут углубляться по мере необходимости или по запросу.

Название armory выбрано потому, что сама игра не может определиться с названием (встречаются термины depository и warehouse), а логически верное название для склада аммуниции - именно armory.