Menus ko KR - Reetus/ClassicAssist GitHub Wiki

ν΄λž˜μ‹μ–΄μ‹œμŠ€νŠΈ 맀크둜 λͺ…λ Ήμ–΄

μƒμ„±λœ 2024-12-15 μ˜€μ „ 3:30:41
버전: 4.425.22+b9a337759d26b9d39ae8ccaac75a36c4255be94a
Translated by Mark Hunt & Andy H.

메뉴

CloseMenu

λ©”μ„œλ“œ μ‹œκ·Έλ‹ˆμ²˜:

Void CloseMenu(Int32)

νŒŒλΌλ―Έν„°

  • gumpid: μ•„μ΄ν…œID/κ·Έλž˜ν”½ μ˜ˆμ‹œ) 0x3db .

μ„€λͺ…:

μ§€μ •λœ 메뉴 IDλ₯Ό λ‹«μŠ΅λ‹ˆλ‹€.

μ˜ˆμ‹œ:

CloseMenu(0x1d1)  

InMenu

λ©”μ„œλ“œ μ‹œκ·Έλ‹ˆμ²˜:

Boolean InMenu(Int32, System.String)

νŒŒλΌλ―Έν„°

  • gumpid: μ•„μ΄ν…œID/κ·Έλž˜ν”½ μ˜ˆμ‹œ) 0x3db .
  • text: λ¬Έμžμ—΄ κ°’ - μ‚¬μš© 방법에 λŒ€ν•œ μ„€λͺ…을 λ³΄μ„Έμš”.

μ„€λͺ…:

메뉴 제λͺ©μ΄λ‚˜ ν•­λͺ© 제λͺ©μ— μ§€μ •λœ ν…μŠ€νŠΈκ°€ ν¬ν•¨λ˜μ–΄ 있으면 λ™μž‘ν•©λ‹ˆλ‹€.

μ˜ˆμ‹œ:

UseSkill('Tracking')
WaitForMenu(0x1d0, 5000)
ReplyMenu(0x1d0, 3, 0x2106, 0)
WaitForMenu(0x1d1, 5000)
if InMenu(0x1d1, 'Omar'):
 HeadMsg('Omar is in range', 'self')
CloseMenu(0x1d1)  

MenuExists

λ©”μ„œλ“œ μ‹œκ·Έλ‹ˆμ²˜:

Boolean MenuExists(Int32)

μ„€λͺ…:

주어진 메뉴 IDκ°€ μ‘΄μž¬ν•˜λ©΄ λ™μž‘ν•©λ‹ˆλ‹€.

μ˜ˆμ‹œ:

if MenuExists(0x1d1):  

ReplyMenu

λ©”μ„œλ“œ μ‹œκ·Έλ‹ˆμ²˜:

Void ReplyMenu(Int32, Int32, Int32, Int32)

νŒŒλΌλ―Έν„°

  • gumpid: μ•„μ΄ν…œID/κ·Έλž˜ν”½ μ˜ˆμ‹œ) 0x3db .
  • buttonid: κ²€ν”„λ²„νŠΌ ID.
  • itemid: μ•„μ΄ν…œID/κ·Έλž˜ν”½ μ˜ˆμ‹œ) 0x3db . (μ˜΅μ…˜)
  • hue: 아이탬 색쑰 λ˜λŠ” λͺ¨λ“  값에 -1. (μ˜΅μ…˜)

μ„€λͺ…:

μ„œλ²„ 메뉴에 νšŒμ‹  λ²„νŠΌμ„ λ³΄λƒ…λ‹ˆλ‹€.

μ˜ˆμ‹œ:

ReplyMenu(0x1d0, 3, 0x2106, 0)  

WaitForMenu

λ©”μ„œλ“œ μ‹œκ·Έλ‹ˆμ²˜:

Boolean WaitForMenu(Int32, Int32)

νŒŒλΌλ―Έν„°

  • gumpid: μ•„μ΄ν…œID/κ·Έλž˜ν”½ μ˜ˆμ‹œ) 0x3db . (μ˜΅μ…˜)
  • timeout: milliseconds μ§€μ •λœ μ‹œκ°„μ΄ˆκ³Όλ¨. (μ˜΅μ…˜)

μ„€λͺ…:

메뉴 νŒ¨ν‚·μ΄ μˆ˜μ‹  될 λ•ŒκΉŒμ§€ μΌμ‹œ 쀑지 λ©λ‹ˆλ‹€.

μ˜ˆμ‹œ:

UseSkill('Tracking')
WaitForMenu(0x1d0, 5000)
ReplyMenu(0x1d0, 3, 0x2106, 0)
WaitForMenu(0x1d1, 5000)