DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ Tag()

static string Tag ( string tag)
staticprivate

Generates string that will make CEApi.EconomyMap use all items with this tag.

Заметки
This is refering to the CE tags of loot defined in cfglimitsdefinition.xml
Предупреждения
This is persistent per session, when you set it, it will persist until it is set to something else
Аргументы
categorystring The desired loot tag
Возвращает
string The string to pass into CEApi.EconomyMap
GetCEApi().EconomyMap(EconomyMapStrings.Tag("floor"));
proto native CEApi GetCEApi()
Get the CE API.
class EconomyLogCategories EconomyMapStrings()
Special strings for CEApi.EconomyMap.

См. определение в файле CentralEconomy.c строка 127

128 {
129 return string.Format("tag:%1", tag);
130 }

Перекрестные ссылки string::Format().