Architecture
Your studio code calls the CiaoSDK facade. CiaoSDK routes events to the appropriate modules, which wrap the underlying vendor SDKs.
flowchart TB
Studio[fa:fa-code Studio Code]
Facade[fa:fa-cube CiaoSDK Facade]
Ads[ CiaoSDK.Ads]
MMP[ CiaoSDK.MMP]
Analytics[ CiaoSDK.Analytics]
AntiCheat[CiaoSDK.AntiCheat]
LevelPlay[ LevelPlay]
Singular[ Singular]
ByteBrew[ ByteBrew]
Studio --> Facade
Facade --> Ads
Facade --> MMP
Facade --> Analytics
Facade --> AntiCheat
Ads --> LevelPlay
MMP --> Singular
Analytics --> ByteBrew
Modules & Vendor Versions
| Module | Vendor | Version | Define Symbol |
|---|---|---|---|
| CiaoSDK.Ads | LevelPlay | 9.4.1 | CIAO_ADS |
| CiaoSDK.MMP | Singular | latest (git) | CIAO_MMP |
| CiaoSDK.Analytics | ByteBrew | latest (git) | CIAO_ANALYTICS |
| CiaoSDK.AntiCheat | — | Built-in | CIAO_ANTICHEAT |
Define Symbols
Each module exposes a define symbol you can use to guard code that references it. This allows partial installations without compile errors from modules you haven't activated.
#if CIAO_ADS
CiaoSDKAds.ShowRewarded("reviveOnDeath", success => { /* ... */ });
#endifUpdated 1 day ago
Did this page help you?
