private int GetLevelByClass(CNWSCreatureStats stats, uint classType) { for (int i = 0; i < stats.m_nNumMultiClasses; i++) { CNWSCreatureStats_ClassInfo classInfo = stats.m_ClassInfo[i]; if (classInfo.m_nClass == classType) { return(classInfo.m_nLevel); } } return(0); }
internal CreatureClassInfo(CNWSCreatureStats_ClassInfo classInfo) { this.classInfo = classInfo; }
internal MemorizedSpellSlot(CNWSCreatureStats_ClassInfo classInfo, byte spellLevel, byte spellSlot) { this.classInfo = classInfo; this.spellLevel = spellLevel; this.spellSlot = spellSlot; }