mirror of
https://github.com/0TheSpy/Seaside.git
synced 2025-01-07 10:03:29 +08:00
52 lines
1.5 KiB
C++
52 lines
1.5 KiB
C++
#ifndef SENDPROXY_H
|
|
#define SENDPROXY_H
|
|
|
|
|
|
#include "dt_send.h"
|
|
|
|
|
|
class DVariant;
|
|
|
|
void SendProxy_Color32ToInt(const SendProp* pProp, const void* pStruct, const void* pData, DVariant* pOut, int iElement, int objectID);
|
|
void SendProxy_EHandleToInt(const SendProp* pProp, const void* pStruct, const void* pVarData, DVariant* pOut, int iElement, int objectID);
|
|
void SendProxy_IntAddOne(const SendProp* pProp, const void* pStruct, const void* pVarData, DVariant* pOut, int iElement, int objectID);
|
|
void SendProxy_ShortAddOne(const SendProp* pProp, const void* pStruct, const void* pVarData, DVariant* pOut, int iElement, int objectID);
|
|
|
|
SendProp SendPropBool(
|
|
const char* pVarName,
|
|
int offset,
|
|
int sizeofVar);
|
|
|
|
SendProp SendPropEHandle(
|
|
const char* pVarName,
|
|
int offset,
|
|
int sizeofVar = SIZEOF_IGNORE,
|
|
int flags = 0,
|
|
SendVarProxyFn proxyFn = SendProxy_EHandleToInt);
|
|
|
|
SendProp SendPropTime(
|
|
const char* pVarName,
|
|
int offset,
|
|
int sizeofVar = SIZEOF_IGNORE);
|
|
|
|
#if !defined( NO_ENTITY_PREDICTION )
|
|
SendProp SendPropPredictableId(
|
|
const char* pVarName,
|
|
int offset,
|
|
int sizeofVar = SIZEOF_IGNORE);
|
|
#endif
|
|
|
|
SendProp SendPropIntWithMinusOneFlag(
|
|
const char* pVarName,
|
|
int offset,
|
|
int sizeofVar = SIZEOF_IGNORE,
|
|
int bits = -1,
|
|
SendVarProxyFn proxyFn = SendProxy_IntAddOne);
|
|
|
|
|
|
SendProp SendPropStringT(const char* pVarName, int offset, int sizeofVar);
|
|
|
|
void* SendProxy_OnlyToTeam(const SendProp* pProp, const void* pStruct, const void* pVarData, CSendProxyRecipients* pRecipients, int objectID);
|
|
|
|
|
|
#endif |