forked from Ares-Developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 30
/
LinkClass.h
39 lines (31 loc) · 1009 Bytes
/
LinkClass.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#pragma once
#include <GeneralDefinitions.h>
#include <YRPPCore.h>
class LinkClass
{
public:
//Destructor
virtual ~LinkClass() RX;
//LinkClass
virtual LinkClass* GetNext() { JMP_THIS(0x556620); }
virtual LinkClass* GetPrev() { JMP_THIS(0x556630); }
virtual LinkClass* Add(LinkClass& another) { JMP_THIS(0x5566A0); }
virtual LinkClass* AddTail(LinkClass& another) { JMP_THIS(0x556700); }
virtual LinkClass* AddHead(LinkClass& another) { JMP_THIS(0x5566D0); }
virtual LinkClass* HeadOfList(LinkClass& another) { JMP_THIS(0x556640); }
virtual LinkClass* TailOfList(LinkClass& another) { JMP_THIS(0x556670); }
virtual void Zap() { JMP_THIS(0x5565F0); }
virtual LinkClass* Remove() { JMP_THIS(0x556730); }
//Non virtual
LinkClass& operator=(LinkClass& another) { JMP_THIS(0x556600); }
//Constructors
LinkClass(LinkClass& another) { JMP_THIS(0x556550); }
protected:
explicit __forceinline LinkClass(noinit_t) noexcept
{
}
//Properties
public:
LinkClass* Next;
LinkClass* Previous;
};