Seaside/SpyCustom/sdk/recvproxy.h
2021-06-16 18:48:15 +03:00

46 lines
1.2 KiB
C++

#ifndef RECVPROXY_H
#define RECVPROXY_H
class CRecvProxyData;
void RecvProxy_IntToEHandle(const CRecvProxyData* pData, void* pStruct, void* pOut);
void RecvProxy_IntToMoveParent(const CRecvProxyData* pData, void* pStruct, void* pOut);
void RecvProxy_IntToColor32(const CRecvProxyData* pData, void* pStruct, void* pOut);
void RecvProxy_IntSubOne(const CRecvProxyData* pData, void* pStruct, void* pOut);
void RecvProxy_ShortSubOne(const CRecvProxyData* pData, void* pStruct, void* pOut);
void RecvProxy_InterpolationAmountChanged(const CRecvProxyData* pData, void* pStruct, void* pOut);
RecvProp RecvPropTime(
char* pVarName,
int offset,
int sizeofVar = SIZEOF_IGNORE);
#if !defined( NO_ENTITY_PREDICTION ) && defined( USE_PREDICTABLEID )
RecvProp RecvPropPredictableId(
char* pVarName,
int offset,
int sizeofVar = SIZEOF_IGNORE);
#endif
RecvProp RecvPropEHandle(
char* pVarName,
int offset,
int sizeofVar = SIZEOF_IGNORE,
RecvVarProxyFn proxyFn = RecvProxy_IntToEHandle);
RecvProp RecvPropBool(
char* pVarName,
int offset,
int sizeofVar);
RecvProp RecvPropIntWithMinusOneFlag(
char* pVarName,
int offset,
int sizeofVar = SIZEOF_IGNORE,
RecvVarProxyFn proxyFn = RecvProxy_IntSubOne);
#endif