mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
1.2 KiB
1.2 KiB
File: Traits.h
Classes
ClientTraitDataMasterTraitList
Functions
bool IdentifyNextTrait(Client* client, map <int8, vector<TraitData*> >* traitList, vector<TraitData*>* collectTraits, vector<TraitData*>* tieredTraits, std::map<int32, int8>* previousMatchedSpells, bool omitFoundMatches = false);bool ChooseNextTrait(Client* client);int16 GetSpellCount(Client* client, map <int8, vector<TraitData*> >* 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.