Theme
Engine calls
Queue your own finds onto the game thread.
| Export | Summary |
|---|---|
ShQueueCall | Queue returns 1 when accepted. |
ShQueueCallF | Args three to five as floats, which the ABI passes in xmm2, xmm3 and the stack rather than the int registers. |
ShQueueResult | See ShQueueCallF. |
ShQueueCall
c
SH_API int ShQueueCall(uint64_t fn, uint64_t a0, uint64_t a1,
uint64_t a2, uint64_t a3);Queue returns 1 when accepted. Poll ShQueueResult until it returns 1, which is usually the next frame.
scripthook.h, line 765
ShQueueCallF
c
SH_API int ShQueueCallF(uint64_t fn, uint64_t a0, uint64_t a1,
float f2, float f3, float f4);Args three to five as floats, which the ABI passes in xmm2, xmm3 and the stack rather than the int registers.
scripthook.h, line 771
ShQueueResult
c
SH_API int ShQueueResult(uint64_t *outRet);Documented together with ShQueueCallF just above.
scripthook.h, line 773