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

ModuleVendorVersionDefine Symbol
CiaoSDK.AdsLevelPlay9.4.1CIAO_ADS
CiaoSDK.MMPSingularlatest (git)CIAO_MMP
CiaoSDK.AnalyticsByteBrewlatest (git)CIAO_ANALYTICS
CiaoSDK.AntiCheatBuilt-inCIAO_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 => { /* ... */ });
#endif


Did this page help you?