mirror of
https://github.com/YimMenu/RDR-Classes.git
synced 2024-12-22 14:37:30 +08:00
Fix for CEventInventoryItemPickUp (#22)
* feat(event): add CEventInventoryItemPickedUp * fix: CEvent should not be abstract --------- Co-authored-by: maybegreat48 <email@hostname>
This commit is contained in:
parent
59eed0b48b
commit
f6e3562e73
@ -4,13 +4,13 @@ class CEvent
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~CEvent() = default;
|
virtual ~CEvent() = default;
|
||||||
virtual CEvent* Clone() = 0;
|
virtual CEvent* Clone() { return nullptr; }
|
||||||
virtual bool operator==(CEvent& other) = 0;
|
virtual bool operator==(CEvent& other) { return false; }
|
||||||
virtual int _0x18() = 0;
|
virtual int _0x18() { return 0; }
|
||||||
virtual float _0x20() = 0;
|
virtual float _0x20() { return 0.0f; }
|
||||||
virtual float _0x28() = 0;
|
virtual float _0x28() { return 0.0f; }
|
||||||
virtual bool IsEventScriptCommand() = 0;
|
virtual bool IsEventScriptCommand() { return false; }
|
||||||
virtual bool ExtractData(void* data, int size) = 0;
|
virtual bool ExtractData(void* data, int size) { return false; }
|
||||||
|
|
||||||
char m_pad[0x58];
|
char m_pad[0x58];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user