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

На главную


WString

Локализуемая строка. Специальный вариант userdata, имя метатаблицы "WString", неиндексируемая userdata. Все методы имеют lua error handling (большая часть API имеет game error handling)

Перегруженные операции

==, ~= - сравнение с любой переменной, равенство выполнится тогда и только тогда когда сравнение идет с другим WString и они равны по значению

<, >, <=, >= - лексикографическое сравнение двух WString, при попытке сравнения с другим типом данных - ошибка

.. - конкатенация, поддерживается конкатенация с WString, string, при попытке конкатенации с другим типом данных - ошибка

# - взятие длины WString

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

CategoryWString
FunctionCommonGetEmptyWstring
FunctionCommonGetShortString
FunctionCommonIsEmptyWstring
FunctionCommonIsSubstring
FunctionCommonIsSubstringEx
FunctionCommonIsWString
FunctionCompareWString
FunctionCompareWStringEx
FunctionEscapeWString
FunctionUserModsFromWString
FunctionUserModsToWString
FunctionValuedTextToWString
FunctionWStringCompare
FunctionWStringIsContain
FunctionWStringIsEmpty
FunctionWStringToAbbr
FunctionWStringToInt
FunctionWStringToLower
FunctionWStringToUpper
FunctionWStringTruncate
TypeWString

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

AbilityId
ActionGroupId
AliasVisObjectId
AstralSectorId
BattlegroundMarkId
BillingBonusId
BuffId
CategoryTypes
CharacterClassId
CharacterFormId
CombatTagId
ComponentPropertyId
CurrencyCategoryId
CurrencyId
DecalObjectId
FactionId
FunctionApitype
FunctionCommonCreateValuedObject
FunctionCommonGetApiType
FunctionCommonGetFatalityPhraseLimits
FunctionCommonIsFatalityPhraseFiltered
FunctionCommonIsTextFiltered
FunctionCommonIsValuedObject
FunctionCommonIsValuedText
FunctionIsIndexableUdata
FunctionResourceIdGetInfo
FunctionResourceIdGetInstanceId
FunctionResourceIdGetPath
FunctionResourceIdIsEqual
GamePosition
Geodata
GlossaryId
InnateStatSecondary
InstancedEventCategoryId
InstancedEventResourceId
ItemCategoryId
ItemId
LfgDestinationCategoryId
LfgDestinationId
LifestyleCategoryId
LifestyleCollectionId
LootGroupId
LuaApiTypes
LuaFullDateTime
LuaRaceClassInfoPart
LuaSexInfoPart
MapModifierId
MedalId
MedalRankId
MountTalentGroupId
MountTalentId
MutationInfo
PostTypeId
QuestId
RecipeId
RelatedSoundsLua
RelatedTextsLua
RelatedTexturesLua
RelatedWidgetsLua
RequirementsTable
ResourceId
RuleId
ShipSkinId
SkillId
SocketId
Sound2DId
SpecialStatId
SpellId
TeleportMasterId
TextureId
TimeTableId
TutorialCategoryId
TutorialId
TypeValuedObject
TypeValuedText
TypeWidgetDesc
TypeWString
UITextureId
UniqueId
UnlockCategoryId
VisActionId
VisObjectId
VisualShipId
VoteId
WishmasterResourceId


CategoryLuaApi CategoryTypes CategoryWString

На главную