mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-10-12 17:18:17 +03:00
Updated Spice SDK (markdown)
+2
-2
@@ -1,8 +1,8 @@
|
||||
Spice SDK is a flat C, header-only library that can be included in your hook DLL to write **spice plugins**.
|
||||
|
||||
Once initialized, you can call directly into helper routines provided by Spicetools executable, making low-latency and high-throughput interactions possible. There are no network packets or JSON marshalling; it's just function pointers.
|
||||
Once initialized, the plugin call directly into helper routines provided by Spicetools executable, making low-latency and high-throughput interactions possible. There are no network packets or JSON marshalling; it's just function pointers.
|
||||
|
||||
This is meant to be an alternative to writing applications over Spice API; as the API uses JSON over the network (or serial), there are issues with performance, latency, and reliability.
|
||||
Plugins are meant to be an alternative to writing applications over Spice API; as the API uses JSON over the network (or serial), there are issues with performance, latency, and reliability.
|
||||
|
||||
For example, you could write a DLL that communicates to your custom controller over COM, knowing that if you call `set_button` from your DLL, it will be consumed by Spice the next time the game polls for I/O.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user