cdylib or staticlib, include include/arcane_sdk.h, then call init at launch with your portal public key.
Header
include/arcane_sdk.h) and is attached to each GitHub Release. Regenerate after FFI changes (cbindgen 0.29.4):
Functions
game_id parameter is the portal public key (NUL-terminated UTF-8).
On error code
2, err_buf receives a truncated code: message string.
Example
Safety notes
- Pointers must be valid for the duration of the call
err_bufmay be null orerr_len == 0if you do not need the message- Do not free strings owned by the SDK; only the caller-owned
err_bufis written into