Expand description
Raw FFI bindings to TapTap PC SDK
This crate provides unsafe, low-level bindings to the TapTap PC SDK.
For a safe, high-level API, use the tapsdk-pc crate instead.
§Platform Support
Windows only. This SDK only supports Windows (x86_64). On macOS and Linux, all functions will panic with an “unsupported platform” error.
Modules§
- authorize_
result - Authorization result codes
- cloudsave_
result - Cloud save result codes
- error_
code - Error codes
- event_
id - Event ID constants
- init_
result - SDK initialization result codes
- system_
state - System state constants
Structs§
- Authorize
Finished Response - DLCPlayable
Status Changed Response - Game
Playable Status Changed Response - TapCloud
Save Create Request - TapCloud
Save Create Response - TapCloud
Save Delete Response - TapCloud
Save GetFile Request - TapCloud
Save GetFile Response - TapCloud
Save Info - TapCloud
Save List Response - TapCloud
Save Update Request - TapSDK_
Error - TapSystem
State Notification
Functions§
- TapApps_
IsOwned ⚠ - TapCloud
Save ⚠ - TapCloud
Save_ ⚠Async Create - TapCloud
Save_ ⚠Async Delete - TapCloud
Save_ ⚠Async GetCover - TapCloud
Save_ ⚠Async GetData - TapCloud
Save_ ⚠Async List - TapCloud
Save_ ⚠Async Update - TapDLC_
IsOwned ⚠ - TapDLC_
Show ⚠Store - TapSDK_
GetClientID ⚠ - TapSDK_
Init ⚠ - TapSDK_
Register ⚠Callback - TapSDK_
Restart ⚠AppIf Necessary - TapSDK_
RunCallbacks ⚠ - TapSDK_
Shutdown ⚠ - TapSDK_
Unregister ⚠Callback - TapUser_
Async ⚠Authorize - TapUser_
GetOpenID ⚠ - is_
platform_ supported - Check if the current platform is supported
- unsupported_
platform_ error - Returns an error message for unsupported platforms