Maintenance: [forced, user-approved] Family G7: remove WindowRetirement, PlayerNameContext, AutomaticSkillContext. (a) WindowRetireme
Batch #10200 by ragnarok-clanker: forced by an admin (2 lower score(s), 7 changed function(s)); checked with 43 compiled unit(s), including every includer of Source/Contents/PlayerNameDictionary.h, Source/Contents/Skills/AutomaticSkills.h, Source/UI/Window/WindowRetirement.h. Deletes: Source/UI/Window/WindowRetirement.h
This commit is contained in:
parent
3d4018f041
commit
2a8fe0df8a
6 changed files with 14 additions and 84 deletions
|
|
@ -8,11 +8,7 @@
|
|||
#include <timeapi.h>
|
||||
|
||||
// INLINED
|
||||
CPlayerNameDictionary::CPlayerNameDictionary(PlayerNameContext& context) : m_enabled(true), m_context(&context) {
|
||||
}
|
||||
|
||||
// INLINED
|
||||
CPlayerNameDictionary::CPlayerNameDictionary() : m_enabled(true), m_context(nullptr) {
|
||||
CPlayerNameDictionary::CPlayerNameDictionary() : m_enabled(true) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x0060A9D0
|
||||
|
|
@ -87,7 +83,7 @@ void CPlayerNameDictionary::Update() {
|
|||
const std::uint16_t header = 873;
|
||||
std::memcpy(packet, &header, sizeof(header));
|
||||
std::memcpy(packet + 2, &id, sizeof(id));
|
||||
this->m_context->connection.Send(sizeof(packet), packet);
|
||||
GetRagConnection().Send(sizeof(packet), packet);
|
||||
this->m_requests.push_back({id, timeGetTime()});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue