rodecomp/Source/Client/ReplayPacketRecorder.h
ragnarok-clanker a501aa68af Maintenance: [forced, user-approved] Family F7: remove WindowReplayRecorder (agent 3 row 115, reassigned by the coordinator). Its met
Batch #10245 by ragnarok-clanker: forced by an admin (3 lower score(s), 19 changed function(s)); checked with 397 compiled unit(s), including every includer of Source/Client/ReplayPacketRecorder.h, Source/UI/Item/UIItemSellWnd.h, Source/UI/Item/UIItemSellWnd2.h, Source/UI/Item/UIItemShopWnd.h, Source/UI/Item/UIItemShopWnd2.h, Source/UI/Window/UIWindow.h.
2026-11-03 11:55:38 +00:00

31 lines
768 B
C++

#ifndef RAGNAROK_SOURCE_CLIENT_REPLAYPACKETRECORDER_H
#define RAGNAROK_SOURCE_CLIENT_REPLAYPACKETRECORDER_H
#include "Client/ReplayRecordOption.h"
#include <cstdint>
#include <cstdio>
#include <vector>
class PacketLengths;
struct ModeDragState;
struct ReplayPacketRecorder {
const PacketLengths& lengths;
const std::uint32_t& baseFrame;
const std::uint32_t& started;
const std::uint32_t& frame;
const std::uint32_t& key0;
const std::uint32_t& key1;
const unsigned char& recordRestricted;
std::FILE*& file;
std::uint32_t& fileOffset;
std::uint32_t& records;
std::uint32_t& cipherIndex;
std::uint32_t& cipherBase;
std::uint32_t& cipherKey;
bool Record(std::uint16_t bytes, const void* packet, int event, std::uint32_t delay);
};
#endif