F4MP/tiltedcode/Code/immersive_launcher/script_extender/SEMemoryBlock.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

23 lines
475 B
C++

// Copyright (C) 2021 TiltedPhoques SRL.
// For licensing information see LICENSE at the root of this distribution.
#pragma once
#include <cstdint>
namespace script_extender
{
class SEMemoryBlock final
{
public:
SEMemoryBlock();
~SEMemoryBlock();
inline bool Good() { return m_pBlock; }
inline uintptr_t LastRip() const { return m_lastCanidate; }
private:
void* m_pBlock = nullptr;
uintptr_t m_lastCanidate = 0;
};
} // namespace script_extender