public ActionButtonCollection(PlayerEntity playerEntity) { Owner = playerEntity; var characterActions = CharacterActions.Where(cs => cs.guid == Owner.Character.guid).ToList(); //Must be a new character, get initial spells if (characterActions.Count == 0) { AddCharacterCreationActions(); } }
public IEnumerator <character_action> GetEnumerator() { return(CharacterActions.Where(ca => ca.guid == Owner.ObjectGUID.Low).GetEnumerator()); }