kgPanels

Traditional Chinese

Filters

Key: FAQ_5_3
English: |cffffffffPassed in variables|r

Each handler passes in the upper level args, (see wowwiki Event api).
The first variable is always self.

OnEvent, we broke up the vararg so your function can simply reference arg1, arg2, arg3, etc..|r

OnUpdate provides the argument elapsed|r

OnClick provides the argument button,pressed and released will be true or false|r

Current Traditional Chinese:
|cffffffff變量是如何傳遞的?|r

每個句柄都可以傳遞到高等級的參數(參照WOWWiki的Event API)。
第一個變量永遠是self。

OnEvent,我們把這個變量參數分離了,這樣你可以很簡單的引用arg1, arg2, arg3...等等。|r

OnUpdate提供了時間相關的參數屬性。|r

OnClick則是按鈕參數。|r

Translated by sojrjj Jun 02, 2012