PrepSDKCall_SetReturnInfo Function

Sets the return information of an SDK call. Do not call this if there is no return data. This must be called if there is a return value (i.e. it is not necessarily safe to ignore the data).

void PrepSDKCall_SetReturnInfo(SDKType type, SDKPassMethod pass, int decflags, int encflags)

Parameters

SDKType type

Data type to convert to/from.

SDKPassMethod pass

How the data is passed in C++.

int decflags

Flags on decoding from the plugin to C++.

int encflags

Flags on encoding from C++ to the plugin.