Mercurial > wow > reaction
diff ReAction.lua @ 53:7e09c02ae620
Pet Action support
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Fri, 25 Apr 2008 20:35:55 +0000 |
parents | c3c64e2def50 |
children | 20003239af0b |
line wrap: on
line diff
--- a/ReAction.lua Thu Apr 24 19:19:42 2008 +0000 +++ b/ReAction.lua Fri Apr 25 20:35:55 2008 +0000 @@ -328,7 +328,7 @@ end end -function ReAction:RegisterDefaultBarConfig( name, config, isDefaultChoice ) +function ReAction:RegisterBarType( name, config, isDefaultChoice ) self.defaultBarConfig[name] = config if isDefaultChoice then self.defaultBarConfigChoice = name @@ -336,7 +336,7 @@ self:RefreshOptions() end -function ReAction:UnregisterDefaultBarConfig( name ) +function ReAction:UnregisterBarType( name ) self.defaultBarConfig[name] = nil if self.defaultBarConfigChoice == name then self.defaultBarConfigChoice = nil