Journal ko KR - Reetus/ClassicAssist GitHub Wiki
ν΄λμμ΄μμ€νΈ 맀ν¬λ‘ λͺ λ Ήμ΄
μμ±λ 2024-12-15 μ€μ 3:30:41
λ²μ : 4.425.22+b9a337759d26b9d39ae8ccaac75a36c4255be94a
Translated by Mark Hunt & Andy H.
μ λ
ClearJournal
λ©μλ μκ·Έλμ²:
Void ClearJournal()
μ€λͺ :
λͺ¨λ μ λ ν μ€νΈλ₯Ό μμ ν©λλ€.
μμ:
ClearJournal()
InJournal
λ©μλ μκ·Έλμ²:
Boolean InJournal(System.String, System.String, Int32, Int32)
νλΌλ―Έν°
- text: λ¬Έμμ΄ κ° - μ¬μ© λ°©λ²μ λν μ€λͺ μ 보μΈμ.
- author: λ¬Έμμ΄ κ° - μ¬μ© λ°©λ²μ λν μ€λͺ μ 보μΈμ. (μ΅μ )
- hue: μμ΄ν¬ μμ‘° λλ λͺ¨λ κ°μ -1. (μ΅μ )
- timeout: milliseconds μ§μ λ μκ°μ΄κ³Όλ¨. (μ΅μ )
μ€λͺ :
μ λμ ν μ€νΈ (μ νμ μμ€ μ΄λ¦)λ₯Ό νμΈν©λλ€.
μμ:
if InJournal("town guards", "system"):
WaitForJournal
λ©μλ μκ·Έλμ²:
System.ValueTuple2[System.Nullable
1[System.Int32],System.String] WaitForJournal(System.Collections.Generic.IEnumerable`1[System.String], Int32, System.String)
νλΌλ―Έν°
- entries: 맀κ°λ³μ_μ€λͺ _λ¬Έμμ΄ λ°°μ΄.
- timeout: milliseconds μ§μ λ μκ°μ΄κ³Όλ¨.
- author: λ¬Έμμ΄ κ° - μ¬μ© λ°©λ²μ λν μ€λͺ μ 보μΈμ. (μ΅μ )
μ€λͺ :
Wait up the given timeout for one of any of provided array of string to appear in journal
μμ:
(idx, text) = WaitForJournal(['sex', 'drugs'], 5000)
if idx != None:
print "Found text '{}' at index {}".format(text, idx)
else:
print 'None of them were found :('
WaitForJournal
λ©μλ μκ·Έλμ²:
Boolean WaitForJournal(System.String, Int32, System.String, Int32)
νλΌλ―Έν°
- text: λ¬Έμμ΄ κ° - μ¬μ© λ°©λ²μ λν μ€λͺ μ 보μΈμ.
- timeout: milliseconds μ§μ λ μκ°μ΄κ³Όλ¨.
- author: λ¬Έμμ΄ κ° - μ¬μ© λ°©λ²μ λν μ€λͺ μ 보μΈμ. (μ΅μ )
- hue: μμ΄ν¬ μμ‘° λλ λͺ¨λ κ°μ -1. (μ΅μ )
μ€λͺ :
μ λ ν μ€νΈκ° λνλ λκΉμ§ μ£Όμ΄μ§ μκ° μ’ λ£λ₯Ό κΈ°λ€λ¦¬μμμ€.
μμ:
if WaitForJournal("town guards", 5000, "system"):