Skip to content

Commit

Permalink
bump for rdr-classes migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxann committed Jun 25, 2024
1 parent 2200aa5 commit 11558e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
2 changes: 1 addition & 1 deletion cmake/rdr-classes.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include(FetchContent)
FetchContent_Declare(
rdr_classes
GIT_REPOSITORY https://github.com/YimMenu/RDR-Classes.git
GIT_TAG 70091e27d2e0e515f0e34cb1983ab965421dab0e
GIT_TAG 99bae26b377a1075172caf4842889d24f8344054
GIT_PROGRESS TRUE
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
Expand Down
24 changes: 1 addition & 23 deletions src/game/hooks/Hooks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,11 @@ namespace rage
class CMsgJoinResponse;
class rlGamerInfo;
class netConnectionManager;
#pragma pack(push, 8)
class InFrame
{
public:
enum class EventType
{
ConnectionClosed = 4,
FrameReceived = 5,
BandwidthExceeded = 6,
OutOfMemory = 7
};

virtual ~InFrame() = default;

virtual void Destroy() = 0;
virtual EventType GetEventType() = 0;
virtual uint32_t _0x18() = 0;

char pad_0[0x70]; // 0x8
uint32_t m_Length; // 0x78
void* m_Data; // 0x80
};
#pragma pack(pop)
class rlGamerInfo;
class ServerMsg;
class ServerMsgData;
class ServerRPCSerializer;
class InFrame;
}
class CNetGamePlayer;
enum class NetEventType;
Expand Down
2 changes: 2 additions & 0 deletions src/game/hooks/Protections/ReceiveNetMessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
#include "game/rdr/Enums.hpp"
#include "game/rdr/Player.hpp"

#include <network/InFrame.hpp>
#include <rage/datBitBuffer.hpp>



namespace YimMenu::Features
{
BoolCommand _LogPackets("logpackets", "Log Packets", "Log Packets");
Expand Down

0 comments on commit 11558e5

Please sign in to comment.