private void Handle_ActionButtons(WoWReader wr)
        {
            ActionButton[] actionButtonList = new ActionButton[ActionBars.MaxButtons];

            for (int i = 0; i < ActionBars.MaxButtons; i++)
            {
                actionButtonList[i].action = wr.ReadUInt16();
                actionButtonList[i].type = wr.ReadByte();
                actionButtonList[i].misc = wr.ReadByte();
            }

            BoogieCore.Player.setActionBars(actionButtonList);
        }
Example #2
0
 public ActionBars(ActionButton[] abl)
 {
     buttons = abl;
 }
Example #3
0
 // Create a new Action Buttons Object, initialized by the list recieved from the WorldServer
 public void setActionBars(ActionButton[] abl)
 {
     actionBars = new ActionBars(abl);
 }