mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 15:36:38 +00:00
[Titles] Cleanup titles, title suffix, and last name methods. (#2174)
* [Titles] Cleanup titles, title suffix, and last name methods. - Use strings instead of const chars*. - Add optional parameter to SetAATitle in Lua so you can save to the database similar to Perl. - Cleanup #lastname command. - Cleanup #title command. - Cleanup #titlesuffix command. * Update npc.cpp
This commit is contained in:
+2
-2
@@ -55,8 +55,8 @@ public:
|
||||
bool IsClientEligibleForTitle(Client *client, TitleEntry title);
|
||||
bool IsNewAATitleAvailable(int aa_points, int class_id);
|
||||
bool IsNewTradeSkillTitleAvailable(int skill_id, int skill_value);
|
||||
void CreateNewPlayerTitle(Client *client, const char *title);
|
||||
void CreateNewPlayerSuffix(Client *client, const char *suffix);
|
||||
void CreateNewPlayerTitle(Client *client, std::string title);
|
||||
void CreateNewPlayerSuffix(Client *client, std::string suffix);
|
||||
bool HasTitle(Client* client, uint32 title_id);
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user