mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 01:06:36 +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:
+1
-1
@@ -441,7 +441,7 @@ public:
|
||||
|
||||
virtual int GetKillExpMod() const { return NPCTypedata_ours ? NPCTypedata_ours->exp_mod : NPCTypedata->exp_mod; }
|
||||
|
||||
void ChangeLastName(const char* in_lastname);
|
||||
void ChangeLastName(std::string last_name);
|
||||
void ClearLastName();
|
||||
|
||||
bool GetDepop() { return p_depop; }
|
||||
|
||||
Reference in New Issue
Block a user