Пользовательские дополнения
На главную
TimeTableId
Идентификатор таблицы с предустановленным списком времен/дат (как правило обозначают периодически повторяющиеся события). Пользовательский тип данных (см. также LuaApiTypes). Один из типов группы ResourceId. Информация о списке времен может быть получена вызовом стандартного для семейства ResourceId метода GetInfo().
TimeTableId:GetInfo()
-- параметры:
нет
-- возвращаемые значения:
table - таблица с полями:
entries: table или nil - список времен/дат, каждый элемент - таблица, содержит поле sysType, значение которого определяют смысл элемента (периодичность) и набор его полей:
sysType == hourly - ежечасно, поля:
minute: number (integer) - минута начала события, начиная с 0
sysType == daily - ежедневно, поля:
hour: number (integer) - час начала события, начиная с 0
minute: number (integer) - минута начала события, начиная с 0
sysType == weekly - еженедельно, поля:
day: number (integer) - день недели начала события, 0-6 (понедельник-воскресенье)
hour: number (integer) - час начала события, начиная с 0
minute: number (integer) - минута начала события, начиная с 0
sysType == monthly - ежемесячно, поля:
day: number (integer) - день месяца начала события, начиная с 1
hour: number (integer) - час начала события, начиная с 0
minute: number (integer) - минута начала события, начиная с 0
sysType == yearly - ежегодно, поля:
month: number (enum "ENUM_Month...") - месяц начала события
day: number (integer) - день месяца начала события, начиная с 1
hour: number (integer) - час начала события, начиная с 0
minute: number (integer) - минута начала события, начиная с 0
sysType == now - "сейчас", поля:
нет
sysType == never - "никогда", поля:
нет
sysType == once - однократный, поля:
year: number (integer) - год начала события
month: number (enum "ENUM_Month...") - месяц начала события
day: number (integer) - день месяца начала события, начиная с 1
hour: number (integer) - час начала события, начиная с 0
minute: number (integer) - минута начала события, начиная с 0
-- пример:
times = timeTableId:GetInfo()
См. также:
BlurpSearch: CategoryLuaApi CategoryTypes
AbilityId
ActionGroupId
AliasVisObjectId
AstralRegionId
AstralSectorId
BattlegroundMarkId
BillingBonusId
BuffId
CategoryTypes
CharacterClassId
CheckRoomCategoryId
CheckRoomCollectionId
ComponentPropertyId
CurrencyCategoryId
CurrencyId
DecalObjectId
FactionId
FunctionCommonCreateValuedObject
FunctionCommonCreateValuedText
FunctionCommonGetApiType
FunctionCommonGetEmptyWstring
FunctionCommonIsEmptyWstring
FunctionCommonIsTextFiltered
FunctionCommonIsValuedObject
FunctionCommonIsValuedText
FunctionCommonIsWString
FunctionResourceIdGetInfo
FunctionResourceIdGetInstanceId
FunctionResourceIdGetPath
FunctionResourceIdIsEqual
GamePosition
Geodata
InnateStatSecondary
InstancedEventResourceId
ItemCategoryId
ItemId
LootGroupId
LuaApiTypes
LuaFullDateTime
LuaRaceClassInfoPart
LuaSexInfoPart
MapModifierId
MutationInfo
PostTypeId
QuestId
RecipeId
RelatedTextsLua
RelatedTexturesLua
RequirementsTable
ResourceId
ShipSkinId
SkillId
Sound2DId
SpellId
TextureId
TimeTableId
TypeValuedObject
TypeValuedText
TypeWidgetDesc
TypeWString
VisActionId
VisObjectId
VisualShipId
WishmasterResourceId
BlurpSearch: CategoryLuaApi CategoryMWar
AstralRegionId
AstralSectorId
CategoryMWar
EventMWarFlagCostsChanged
EventMWarLadderChanged
EventMWarMapAdded
EventMWarMapChanged
EventMWarMapRemoved
EventMWarQueueChanched
EventMWarRatingProgressChanged
EventMWarSectorChanged
FunctionAstralGetSectorEdgesById
FunctionAstralGetSectorInfoById
FunctionMWarAbandon
FunctionMWarBuyServiceResource
FunctionMWarCanCommand
FunctionMWarCanPlanning
FunctionMWarGetBattleSector
FunctionMWarGetCommonInfo
FunctionMWarGetCommonMatchMakingInfo
FunctionMwarGetCurrentBattleInfo
FunctionMWarGetFlagCosts
FunctionMWarGetGuildHistory
FunctionMWarGetGuildInfo
FunctionMWarGetGuildInterestSectors
FunctionMWarGetGuildName
FunctionMWarGetGuildSymbolics
FunctionMWarGetInfluenceMap
FunctionMWarGetLadderInfo
FunctionMWarGetMapProgressCounter
FunctionMWarGetOwnerGuild
FunctionMWarGetOwnershipMap
FunctionMWarGetQueueInfo
FunctionMWarGetRatingProgressInfo
FunctionMWarGetRegionProgress
FunctionMWarGetRegions
FunctionMWarGetRegionSectors
FunctionMwarGetSectorBattleTime
FunctionMWarGetSectorHistory
FunctionMWarGetSectorLevel
FunctionMWarGetSectors
FunctionMWarGetSectorStake
FunctionMwarGetServiceResourceCost
FunctionMWarJoinRequestRaid
FunctionMwarLeaveSectorBattleQueue
FunctionMWarPrepareAttack
FunctionMwarQueueSectorBattle
FunctionMWarReplicateLadder
FunctionMWarReplicateMap
FunctionMwarSetSectorBattleTime
FunctionMWarStake
InstancedEventResourceId
LootGroupId
TimeTableId
CategoryLuaApi
CategoryTypes
CategoryMWar
На главную