forked from Phobos-developers/YRpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IPXManagerClass.h
68 lines (64 loc) · 1.36 KB
/
IPXManagerClass.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#pragma once
#include <YRPPCore.h>
#include <ArrayClasses.h>
#include <Helpers/CompileTime.h>
class IPXConnClass;
class IPXGlobalConnClass;
class ConnectionClass;
class IPXManagerClass
{
public:
// Static
static constexpr reference<IPXManagerClass*, 0xA8E9C0u> const Instance{};
ConnectionClass* SetTiming(int retrydelta, int maxretries, int timeout, bool a5)
{ JMP_THIS(0x7B30B0) }
// Properties
private:
void* vtable;
public:
BYTE IPXStatus;
BYTE Listening;
DWORD Glb_MaxPacketLen;
int Glb_NumPackets;
DWORD Pvt_MaxPacketLen;
DWORD Pvt_NumPackets;
DWORD __Ext_MaxPacketLen;
DWORD __Ext_MaxPackets;
WORD ProductID;
WORD Socket;
DWORD ConnectionNum;
IPXConnClass* Connection[7];
DWORD NumConnections;
IPXGlobalConnClass* __GlobalChannel;
IPXGlobalConnClass* __IPXGlobalConn2;
ConnectionClass* __MulticastConnection;
DWORD CurConnection;
DWORD RetryDelta;
DWORD MaxRetries;
DWORD Timeout;
int __Global1RetryDelta;
int __Global1Timing;
int __Global1RetryTimeout;
char field_70;
char field_71;
char field_72;
char field_73;
int field_74;
char field_78;
char field_79;
char field_7A;
char field_7B;
int field_7C;
int field_80;
int field_84;
int field_88;
int field_8C;
int field_90;
int field_94;
int field_98;
int field_9C;
DWORD SendOverflows;
DWORD ReceiveOverflows;
DWORD BadConnection;
};
static_assert(sizeof(IPXManagerClass) == 0xAC);