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

Function GetParamsSize

extensions/dhooks/util.cpp:114–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114size_t GetParamsSize(DHooksCallback *dg)//Get the full size, this is for creating the STACK.
115{
116 size_t res = 0;
117
118 for (int i = dg->params.size() - 1; i >= 0; i--)
119 {
120 res += dg->params.at(i).size;
121 }
122
123 return res;
124}
125
126DataType_t DynamicHooks_ConvertParamTypeFrom(HookParamType type)
127{

Callers 5

CallVFunctionFunction · 0.85
CallVFunction<SDKVector>Function · 0.85
CallVFunction<string_t>Function · 0.85
GetStackArgsSizeFunction · 0.85
vhook.cppFile · 0.85

Calls 2

atMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected