Runtime API 40 Journal Reading - LIHACHTETAN/ClassicUO-BadNewbie-BasicIDE GitHub Wiki

Runtime API — Чтение журнала

Символов: 43

Новые тематические разделы · Алфавитный указатель · Правила и сценарии

Для каждой команды доступна отдельная карточка: актуальные перегрузки, параметры, ограничения и несколько примеров.

UO.AddToJournal

Journal

Печатает переданный текст через SystemMessage/клиентский bridge. В этой реализации перечисленные команды идут по одному пути и не создают отдельный внешний журнал Stealth.

UO.AddToSystemJournal

Journal

Печатает переданный текст через SystemMessage/клиентский bridge. В этой реализации перечисленные команды идут по одному пути и не создают отдельный внешний журнал Stealth.

UO.AddToSystemJournalEx

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.ChangeJournalLength

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.ClearJournal

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.ClearSystemJournal

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.ClientPrint

Client UI

Печатает переданный текст через SystemMessage/клиентский bridge. В этой реализации перечисленные команды идут по одному пути и не создают отдельный внешний журнал Stealth.

UO.ColorPrint

Client UI

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.ConsolePrint

Client UI

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.DeleteJournal

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.GetGumpTextLines

Gumps

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.GetJournal

Journal

Возвращает текст сохранённой строки журнала. Индекс 0 — самая новая строка, далее в прошлое. Если индекс недоступен, возвращает пустую строку.

UO.GetJournalColor

Journal

Возвращает цвет сохранённой строки журнала по индексу; 0 — самая новая строка. Используйте вместе с GetJournal и GetJournalSerial.

UO.GetJournalSerial

Journal

Возвращает serial источника строки журнала по индексу; 0 — самая новая строка. Это serial отправителя, а не индекс сообщения.

UO.GlobalChatActiveChannel

Speech & Chat

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.GlobalChatChannelsList

Speech & Chat

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.GlobalChatJoinChannel

Speech & Chat

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.GlobalChatLeaveChannel

Speech & Chat

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.GlobalChatSendMsg

Speech & Chat

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.HighJournal

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.InJournal

Journal

Searches the current Injection journal from newest toward older retained lines, respecting the journal cursor set by the runtime. By default substring matching is case-sensitive. On success the runtime stores the matched journal line and the zero-based matched alternative ID for GetFoundedText*, FoundedParamId and Line* accessors.

UO.InJournalBetweenTimes

Journal

Converts the absolute Now() timestamps to the current journal time window and searches only entries in that interval. The order of startTime and endTime is normalized by the bridge. On success the matched line and matched pipe-alternative index are stored for GetFoundedText*, FoundedParamId and Line*.

UO.Journal

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.JournalColor

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.JournalSerial

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.JournalTimer

Journal

Returns the timestamp captured for the journal entry, converted to the same millisecond epoch used by global Now(). It does not return the age of the message.

UO.LastJournalMessage

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.LastMessage

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.LineTextColor

Journal

Возвращает цвет текста (оттенок) последней найденной записи журнала.

UO.LineTextFont

Journal

Возвращает ID шрифта последней найденной записи журнала.

UO.LowJournal

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.PartyPrivateMessageTo

Party

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.Print

Client UI

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.SayU

Speech & Chat

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.ServerPrint

Client UI

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.SetJournalLine

Journal

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.ShowJournal

Client UI

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.TextPrint

Client UI

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.UOAMessage

Speech & Chat

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.UOSayColor

Speech & Chat

Reads, filters or emits speech/journal data through the registered ClassicUO runtime route.

UO.WaitingForJournalText

Journal

Scans retained journal entries whose JournalTimer(index) timestamp is at or after startTime, newest first, and waits up to maxDelay for a match. Pipe-separated alternatives are checked in order. A successful match stores both the journal line index and the zero-based alternative ID used by GetFoundedText*/FoundedParamId.

UO.WaitJournalLine

Journal

Ожидает совпадение в журнале до тайм-аута. Начальная временная граница фиксируется при вызове и не сдвигается во время опроса. Системная форма дополнительно фильтрует системные записи. Для дальнейшего чтения используйте результат найденной строки и проверяйте, что ожидание завершилось совпадением.

UO.WaitJournalLineSystem

Journal

Ожидает совпадение в журнале до тайм-аута. Начальная временная граница фиксируется при вызове и не сдвигается во время опроса. Системная форма дополнительно фильтрует системные записи. Для дальнейшего чтения используйте результат найденной строки и проверяйте, что ожидание завершилось совпадением.