private void Handle_IgnoreList(WoWReader wr) { byte count = wr.ReadByte(); IgnoreListItem[] ignoreList = new IgnoreListItem[count]; for (int i = 0; i < count; i++) { ignoreList[i] = new IgnoreListItem(); ignoreList[i].guid = new WoWGuid(wr.ReadUInt64()); QueryName(ignoreList[i].guid); } BoogieCore.Player.setIgnoreList(ignoreList); }
// Initialize Ignore List, from the list recieved from the WorldServer public void setIgnoreList(IgnoreListItem[] il) { ignoreList = il; }