[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:
Kinglykrab
2022-05-19 20:15:44 -04:00
committed by GitHub
parent 6398381c44
commit 0e96099b3d
19 changed files with 129 additions and 109 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ public:
void rain(int weather);
void snow(int weather);
void rename(std::string name);
void surname(const char *name);
void surname(std::string last_name);
void permaclass(int class_id);
void permarace(int race_id);
void permagender(int gender_id);