Skip to content

Engine calls ​

Group engine · 3 exports · from forks/gamexueren/scripthook.h (framework 1.0-beta7-wildm1, SH_API_VERSION 2)

Queue your own finds onto the game thread.

ExportSummary
ShQueueCallQueue returns 1 when accepted.
ShQueueCallFArgs three to five as floats, which the ABI passes in xmm2, xmm3 and the stack rather than the int registers.
ShQueueResultSee 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

WildM is an independent community project. It is not affiliated with or endorsed by Ubisoft. Ghost Recon Wildlands is a trademark of Ubisoft Entertainment.