private static IReadOnlyList <NwFeat> LoadFeats(CNWFeatArray featArray, int count) { NwFeat[] retVal = new NwFeat[count]; for (int i = 0; i < retVal.Length; i++) { retVal[i] = new NwFeat((ushort)i, featArray.GetItem(i)); } return(retVal); }
/// <summary> /// Gets if the specified feat is one that is automatically granted by this race at first level. /// </summary> /// <param name="feat">The feat to query.</param> /// <returns>True if this is a default granted feat for this race, otherwise false.</returns> public bool IsFirstLevelGrantedFeat(NwFeat feat) { return(raceInfo.IsFirstLevelGrantedFeat(feat.Id).ToBool()); }