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

На главную


rules.BillingInfoGetBonuses()

Получить список бонусов, имеющихся в данный момент у аккаунта.

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

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

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

-- возвращаемое значение:
nil or table - nil если информация не получена или список бонусов пуст; иначе список (индексируется с 0) идентификаторов бонусов (BillingBonusId)

Пример:

local bonuses = rules.BillingInfoGetBonuses()
if bonuses and bonuses[0] then
  local bonusInfo = rules.BillingInfoGetBonusInfo( bonuses[0] )
end

См. также rules.BillingInfoGetBonusInfo( bonusId ).

Связанные страницы: "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

На главную