-
Notifications
You must be signed in to change notification settings - Fork 62
/
SrcSDK.h
49 lines (43 loc) · 976 Bytes
/
SrcSDK.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
#pragma once
#include <Windows.h>
class RecvProp;
class RecvTable
{
public:
RecvProp* m_pProps;
int m_nProps;
void* m_pDecoder;
char* m_pNetTableName;
bool m_bInitialized;
bool m_bInMainList;
};
//unnecessary class pointers have been converted to void* for simplicity
class RecvProp
{
public:
char* m_pVarName;
void* m_RecvType;
int m_Flags;
int m_StringBufferSize;
int m_bInsideArray;
const void* m_pExtraData;
RecvProp* m_pArrayProp;
void* m_ArrayLengthProxy;
void* m_ProxyFn;
void* m_DataTableProxyFn;
RecvTable* m_pDataTable;
int m_Offset;
int m_ElementStride;
int m_nElements;
const char* m_pParentArrayPropName;
};
class ClientClass
{
public:
void* m_pCreateFn;
void* m_pCreateEventFn;
char* m_pNetworkName;
RecvTable* m_pRecvTable;
ClientClass* m_pNext;
int m_ClassID;
};