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

Function PrepSDKCall_SetReturnInfo

extensions/sdktools/vcaller.cpp:241–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241static cell_t PrepSDKCall_SetReturnInfo(IPluginContext *pContext, const cell_t *params)
242{
243 s_has_return = true;
244 s_return.vtype = (ValveType)params[1];
245 DecodePassMethod(s_return.vtype, (SDKPassMethod)params[2], s_return.type, s_return.flags);
246 s_return.decflags = params[3];
247 s_return.encflags = params[4];
248
249 return 1;
250}
251
252static cell_t PrepSDKCall_AddParameter(IPluginContext *pContext, const cell_t *params)
253{

Callers

nothing calls this directly

Calls 1

DecodePassMethodFunction · 0.85

Tested by

no test coverage detected