mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-02 17:32:17 +00:00
[Performance] Mail key is now cached during player load (#3339)
* [Performance] Mail key is now cached during player load * More refactoring
This commit is contained in:
1 parent
93a4153a4b
commit
dbc6346fe8
7 files changed
+62
-38
No files matched your search
+5
-1
@@ -81,7 +81,11 @@ public:
|
||||
bool SetGMInvul(uint32 account_id, bool gminvul);
|
||||
bool SetGMFlymode(uint32 account_id, uint8 flymode);
|
||||
void SetMailKey(int CharID, int IPAddress, int MailKey);
|
||||
std::string GetMailKey(int CharID, bool key_only = false);
|
||||
struct MailKeys {
|
||||
std::string mail_key;
|
||||
std::string mail_key_full;
|
||||
};
|
||||
MailKeys GetMailKey(int character_id);
|
||||
bool SaveCursor(
|
||||
uint32 char_id,
|
||||
std::list<EQ::ItemInstance *>::const_iterator &start,
|
||||
|
||||
Reference in new issue
Block a user