Decompile fn_13601 (UIMakeTargetProcessWnd::BuildReplayRecords)
Batch #7947 by Tanke: 0 byte-identical, 1 confirmed by peer review. - fn_13601 UIMakeTargetProcessWnd::BuildReplayRecords: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy, secret Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
261b245803
commit
db4dc09f6e
2 changed files with 24 additions and 0 deletions
|
|
@ -3,12 +3,14 @@
|
|||
#include "Client/Mode/ModeDragState.h"
|
||||
#include "Client/Mode/ModeMgr.h"
|
||||
#include "Client/ReplayPacketRecorder.h"
|
||||
#include "Client/Replay.h"
|
||||
#include "Client/Session.h"
|
||||
#include "UI/Window/UIWindowMgr.h"
|
||||
#include "UI/Window/WindowManagerWindows.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
|
||||
struct ClientItemLists {
|
||||
bool AddItem1710(const ITEM_INFO& item, unsigned char refresh);
|
||||
|
|
@ -59,6 +61,25 @@ void UIMakeTargetProcessWnd::Slot10(int x, int y, std::intptr_t value) {
|
|||
g_modeMgr.gameMode->SendMsg(18, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
// OFFSET: 0x009A0690
|
||||
// FUNCTION: fn_13601
|
||||
std::vector<unsigned char> UIMakeTargetProcessWnd::BuildReplayRecords() {
|
||||
std::vector<unsigned char> records;
|
||||
{
|
||||
const auto record = BuildReplayTaggedRecord(22000, nullptr, 0);
|
||||
records.insert(records.end(), record.begin(), record.end());
|
||||
}
|
||||
{
|
||||
const auto record = BuildReplayTaggedRecord(22002, &this->makeType, sizeof(this->makeType));
|
||||
records.insert(records.end(), record.begin(), record.end());
|
||||
}
|
||||
{
|
||||
const auto record = BuildReplayTaggedRecord(22001, nullptr, 0);
|
||||
records.insert(records.end(), record.begin(), record.end());
|
||||
}
|
||||
return records;
|
||||
}
|
||||
|
||||
// OFFSET: 0x009A09E0
|
||||
// FUNCTION: fn_13603
|
||||
ITEM_INFO UIMakeTargetProcessWnd::GetItemAt(int x, int y) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue