# File: `Traits.h` ## Classes - `Client` - `TraitData` - `MasterTraitList` ## Functions - `bool IdentifyNextTrait(Client* client, map >* traitList, vector* collectTraits, vector* tieredTraits, std::map* previousMatchedSpells, bool omitFoundMatches = false);` - `bool ChooseNextTrait(Client* client);` - `int16 GetSpellCount(Client* client, map >* traits, bool onlyCharTraits = false);` - `bool IsPlayerAllowedTrait(Client* client, TraitData* trait);` - `void AddTrait(TraitData* data);` - `int Size();` - `void DestroyTraits();` ## Notable Comments - /* - */ - /// Sorts the traits for the given client and creats and sends the trait packet. - /// The Client calling this function - /// EQ2Packet* - /// Add trait data to the global list. - /// The trait data to add. - /// Get the total number of traits in the global list. - /// Get the trait data for the given spell. - /// Spell ID to get trait data for.