PDATargetInfo

From Vendetta Lua
Jump to navigationJump to search

Container with target info. Created with CreateTargetInfo

The container is registered with the events: TARGET_CHANGED, TARGET_HEALTH_UPDATE

Functions

OnShow

Definition:
OnShow(userdata self) -> nil

Description:
Update contents and start handling events

Arguments:
self this box

OnHide

Definition:
OnHide(userdata self) -> nil

Description:
Stop handling events

Arguments:
self this box

OnEvent

Definition:
OnEvent(userdata self) -> nil

Description:
Eventhandler

Arguments:
self this box