Method Unit:GetClassAsString [-] [+]

Returns the Unit's class' name in given or default locale or nil.

Locale ID
LOCALE_enUS 0
LOCALE_koKR 1
LOCALE_frFR 2
LOCALE_deDE 3
LOCALE_zhCN 4
LOCALE_zhTW 5
LOCALE_esES 6
LOCALE_esMX 7
LOCALE_ruRU 8

Synopsis

className = Unit:GetClassAsString( locale )

Arguments

LocaleConstant locale (DEFAULT_LOCALE)
See method description.

Returns

string className

Class name or nil.

Generated on
© 2010 - 2024 Eluna Lua Engine