Пользовательские дополнения

На главную


rules.GetWishmaster()

Получить описание Волшебной Лампы.

-- система:
UIState - расширенная информация, GameState - базовая информация

-- библиотека:
rules

-- объявление:
function GetWishmaster()

-- параметры:
нет

-- возвращаемое значение:
nil or table of tables - если информация получена, то индексированная с 0 таблица с таблицами описания. Каждая таблица описания содержит поля:
  name: WString - название Волшебной Лампы
  description: WString - текстовое описание Волшебной Лампы
  paymentMultiplier: number - модификатор цены кристаллов
  bonusPaymentLimit: number (integer) - ограничение бонуса в кристаллах

  Часть, доступная только в UI:
  image: TextureId - текстура с иконкой Волшебной Лампы

Пример:

local wishmasterInfo = rules.GetWishmaster()
if wishmasterInfo and wishmasterInfo[ 0 ] then
  LogInfo( "Wishmaster: ", wishmasterInfo.name )
end

Связанные страницы: "CategoryLuaApi" "CategoryRules"

BillingBonusId
CategoryRules
EnumMsgGetBonusListResultResult
EnumRuleNotificationType
EnumRuleType
EventBillingInfoBonusChanged
EventBillingInfoBonusStatusChanged
EventMissionRuleAdded
EventMissionRuleChanged
EventMissionRuleCounterChanged
EventMissionRuleRemoved
EventMissionRulesChanged
EventNewsPostLoaded
EventNewsPostSelected
EventWishmasterChanged
EventWishmasterMultiplying
FunctionRulesBillingInfoGetBonuses
FunctionRulesBillingInfoGetBonusInfo
FunctionRulesBillingInfoUpdate
FunctionRulesGetEventByRuleId
FunctionRulesGetEventBySysName
FunctionRulesGetEventCounter
FunctionRulesGetEventInfo
FunctionRulesGetEvents
FunctionRulesGetEventTimeIntervals
FunctionRulesGetNotificationInfo
FunctionRulesGetWishmaster
FunctionRulesGetWishmasterMultiplyingInfos
FunctionRulesGetZonesMaps
FunctionRulesWishmasterRollMultiplying
RuleId
WishmasterResourceId


CategoryLuaApi CategoryFunction CategoryRules

На главную