Namespace Trail
Classes
AuthKit
AuthKit is the base for authenticationw with Trail, allowing you to get a game user ID that is unique per game however linked to the users Trail account. This also allows you to get play token, a specific token generated for the session.
FileKit
FileKit used to download content for the game as you play or sit in a loading screen.
FileKit.FileReadOperation
Simple wrapper class to handle FileKit.ReadFile when using coroutines or async code.
InsightsKit
InsightsKit allows you to get some insight to how the game is running.
KeyValueList
Simple wrapper to replace Dictionary<string,string>
.
This helps limit the size of the values and convert to binary for the internal c/c++ API.
NotificationsKit
NotificationsKit allows the user to subscribe to desktop notifications.
PartyKit
Used to get lobby/party id secrets to get players together.
PaymentsKit
PaymentsKit can be used to integrate in-app purchases in your game.
PerformanceKit
PerformanceKit is used to integrate resolution changes when playing in browser.
Price
price class used by Trail PaymentKit to get and view prices of items.
SDK
Main part of Trail SDK, handles the basic like Initialization, logging, etc...
SDK.StartupArg
Small wrapper class for startup arguments.
TrailResultExtensions
Structs
KeyValueList.KeyValue
PartyKit.LandingPageInfo
PartyKit.LandingPageInfoField
PartyKit.PartyData
PartyKit.PartyDataField
PaymentsKit.Entitlement
Resolution
Resolution class used by Trail to get or set new resolutions.
SDK.ContainerMessage
A struct that defines a message to and from the container
Enums
LogLevel
Log level used by Trail c/c++ API. To change minimum level to print, see SDK.LogLevel.
Result
Trail API result to show errors instead of printing exceptions. Using Exception support in browser add a lot of overhead.
Delegates
AuthKit.GetFingerprintCallback
Callback when receiving result from get fingerprint
AuthKit.RequestSignUpCallback
Callback when receiving result from RequestSignUp
FileKit.FileReadComplete
Callback used in ReadFile(String, FileKit.FileReadComplete) and ReadFileNonAlloc(String, Byte[], FileKit.FileReadComplete).
FileKit.SyncCloudStorageCallback
Callback used in SyncCloudStorage(FileKit.SyncCloudStorageCallback).
NotificationsKit.PermissionStatusCallback
Callback used to get the status for notifications.
NotificationsKit.ScheduleLocalNotificationCallback
Callback to get the result of scheduling a local notification
Result of the scheduling.PartyKit.PartyDataUpdateCallback
Used to get a callback every time the party data gets updated
PaymentsKit.GetEntitlementsCallback
Callback when receiving result from get entitlements.
PaymentsKit.GetProductPriceCallback
Callback when receiving result from get product price.
PaymentsKit.RequestPaymentCallback
Callback when receiving result from payment.
PerformanceKit.DisplayResolutionChangedCallback
Used to get a callback every time the display resolution changes.
PerformanceKit.ViewportSizeChangedCallback
Used to get a callback every time the viewport size changes.
PerformanceKit.WindowedModeChangedCallback
Used to get a callback every time the windowed mode changes.
SDK.ContainerMessageCallback
Callback when receiving messages from the container