mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-12 10:46:03 +00:00
- IPC Uses PID to identify the process
- Exception code now shows in hex capitals - Fixed version checking and bumped the version support - Added process blacklist for already injected game detection - Used std::all_of instead of std::string::find for digit checks
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
|
||||
class IPC {
|
||||
public:
|
||||
IPC() = delete;
|
||||
IPC(const char* MemID, const char* SemID, const char* SemID2, size_t Size) noexcept;
|
||||
IPC() = default;
|
||||
IPC(uint32_t ID, size_t Size) noexcept;
|
||||
[[nodiscard]] size_t size() const noexcept;
|
||||
[[nodiscard]] char* c_str() const noexcept;
|
||||
void send(const std::string& msg) noexcept;
|
||||
@@ -21,6 +21,7 @@ public:
|
||||
void try_receive() noexcept;
|
||||
void receive() noexcept;
|
||||
~IPC() noexcept;
|
||||
static bool mem_used(uint32_t MemID) noexcept;
|
||||
private:
|
||||
void* SemConfHandle_;
|
||||
void* MemoryHandle_;
|
||||
|
||||
Reference in New Issue
Block a user