1.2 KiB
1.2 KiB
File: Traits.h
Classes
Client
TraitData
MasterTraitList
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.