MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / GetParamTypePassType

Function GetParamTypePassType

extensions/dhooks/vhook.cpp:322–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322SourceHook::PassInfo::PassType GetParamTypePassType(HookParamType type)
323{
324 switch(type)
325 {
326 case HookParamType_Float:
327 return SourceHook::PassInfo::PassType_Float;
328 case HookParamType_Object:
329 return SourceHook::PassInfo::PassType_Object;
330 }
331 return SourceHook::PassInfo::PassType_Basic;
332}
333
334size_t GetStackArgsSize(DHooksCallback *dg)
335{

Callers 2

Native_AddParamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected