API:TextLogAddEntry
Aus WARWiki
Adds a text string to a TextLog widget
Inhaltsverzeichnis |
Nutzung
TextLogAddEntry(textLog, filter, text)
Arguments
* textLog (string)
- a valid TextLog widget
- filter (number)
- see available filters below
- text (wstring)
- text to be added to the TextLog widget
Diese Funktion gibt keine Werte zurück.
Examples
TextLogAddEntry("Chat", SystemData.ChatLogFilters.SAY, L"Hello World");
TextLogAddEntry("Combat", SystemData.ChatLogFilters.SAY, L"Hello World");
Bug ?: It does not matter, in which TextLog tab you add the message. TextLogAddEntry("Chat", SystemData.ChatLogFilters.SAY, L"Hello World") and TextLogAddEntry("Combat", SystemData.ChatLogFilters.SAY, L"Hello World");
will do the same.
Available Filters
SystemData.ChatLogFilters.SAY
SystemData.ChatLogFilters.TELL_RECEIVE
SystemData.ChatLogFilters.TELL_SEND
SystemData.ChatLogFilters.GROUP
SystemData.ChatLogFilters.BATTLEGROUP
SystemData.ChatLogFilters.CSR
SystemData.ChatLogFilters.MONSTER_SAY
SystemData.ChatLogFilters.DEBUG
SystemData.ChatLogFilters.GUILD
SystemData.ChatLogFilters.GUILD_OFFICER
SystemData.ChatLogFilters.EMOTE
SystemData.ChatLogFilters.SHOUT
SystemData.ChatLogFilters.ALLIANCE
SystemData.ChatLogFilters.ALLIANCE_OFFICER
SystemData.ChatLogFilters.SCENARIO
SystemData.ChatLogFilters.SCENARIO_GROUPS
SystemData.ChatLogFilters.RVR
SystemData.ChatLogFilters.RVR_KILLS_ORDER
SystemData.ChatLogFilters.RVR_KILLS_DESTRUCTION
SystemData.ChatLogFilters.CITY_ANNOUNCE
SystemData.ChatLogFilters.ZONE_AREA
SystemData.ChatLogFilters.QUEST
SystemData.ChatLogFilters.COMBAT_DEFAULT
SystemData.ChatLogFilters.YOUR_DMG
SystemData.ChatLogFilters.YOUR_HITS
SystemData.ChatLogFilters.OTHER_HITS
SystemData.ChatLogFilters.PET_DMG
SystemData.ChatLogFilters.PET_HITS
SystemData.ChatLogFilters.DEATH
SystemData.ChatLogFilters.EXP
SystemData.ChatLogFilters.RENOWN
SystemData.ChatLogFilters.INFL
SystemData.ChatLogFilters.ABILITY_ERROR