|
GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
|
Queue your own finds onto the game thread. More...
Functions | |
| SH_API int | ShQueueCall (uint64_t fn, uint64_t a0, uint64_t a1, uint64_t a2, uint64_t a3) |
| Run an engine call on the GAME THREAD. | |
| 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. | |
| SH_API int | ShQueueResult (uint64_t *outRet) |
Queue your own finds onto the game thread.
| SH_API int ShQueueCall | ( | uint64_t | fn, |
| uint64_t | a0, | ||
| uint64_t | a1, | ||
| uint64_t | a2, | ||
| uint64_t | a3 ) |
Run an engine call on the GAME THREAD.
Calls that take engine locks deadlock from any other thread. Queue returns 1 when accepted. Poll ShQueueResult until it returns 1, which is usually the next frame.
| 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.
| SH_API int ShQueueResult | ( | uint64_t * | outRet | ) |