예제 #1
0
        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();
            }
        }
예제 #2
0
 public IEnumerator <character_action> GetEnumerator()
 {
     return(CharacterActions.Where(ca => ca.guid == Owner.ObjectGUID.Low).GetEnumerator());
 }