There isn't any internal functions for that on PvP, mostly because it's a shared event, and the shared event system is still to be written.
You can however do: self.UNIT_FACTION = myOwnUpdatePvPFunction;. Setting functions directly on the layout doesn't touch the core at all.
|