kgPanels

Simplified 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 Simplified Chinese:
|cffffffff变量是如何传递的?|r

每个句柄都可以传递到高等级的参数(参照WOWWiki的Event API)。
第一个变量永远是self。

OnEvent,我们把这个变量参数分离了,这样你可以很简单的引用arg1, arg2, arg3...等等。|r

OnUpdate提供了时间相关的参数属性。|r

OnClick则是按钮参数。|r

Translated by kagaro Jun 02, 2012