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§
- Auth
Token - Authorize
Finished Response - Cloud
Save Create Data - Cloud
Save Delete Data - Cloud
Save GetFile Data - Cloud
Save List Data - DlcPlayable
Status Changed Data - Game
Playable Status Changed Data - System
State Changed Data - TapCloud
Save Info - TapSDK_
Error
Functions§
- TapApps_
IsOwned - TapApps_
SetPlayable Status Changed Callback - 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 - TapCloud
Save_ SetCreate Callback - TapCloud
Save_ SetDelete Callback - TapCloud
Save_ SetGet Cover Callback - TapCloud
Save_ SetGet Data Callback - TapCloud
Save_ SetList Callback - TapCloud
Save_ SetUpdate Callback - TapDLC_
IsOwned - TapDLC_
SetPlayable Status Changed Callback - TapDLC_
Show Store - TapSDK_
GetClientID - TapSDK_
Init - TapSDK_
IsInitialized - TapSDK_
Restart AppIf Necessary - TapSDK_
RunCallbacks - TapSDK_
SetSystem State Changed Callback - TapSDK_
Shutdown - TapUser_
Authorize - TapUser_
GetOpenID - TapUser_
SetAuthorize Finished Callback - is_
platform_ supported - Check if the current platform is supported
- unsupported_
platform_ error - Returns an error message for unsupported platforms