Exemplo n.º 1
0
    // ----------------------------------------------------------------------
    // TAPJOY - http://prime31.com/docs#comboVungle

    public void tapjoyInit()
    {
        // Enable logging.
        TapjoyPlugin.EnableLogging(true);
        // Connect to the Tapjoy servers.
        if (Application.platform == RuntimePlatform.Android)
        {
            TapjoyPlugin.RequestTapjoyConnect(
                AppConfigs.publisherIdTapjoyAndroid,
                AppConfigs.publisherSecretTapjoyAndroid);
        }
        else if (Application.platform == RuntimePlatform.IPhonePlayer)
        {
            Dictionary <String, String> dict = new Dictionary <String, String>();
            dict.Add("TJC_OPTION_COLLECT_MAC_ADDRESS", TapjoyPlugin.MacAddressOptionOffWithVersionCheck);
            TapjoyPlugin.RequestTapjoyConnect(
                AppConfigs.publisherIdTapjoyiOS,
                AppConfigs.publisherSecretTapjoyiOS,
                dict);
        }
    }
Exemplo n.º 2
0
 protected virtual void Start()
 {
     TapjoyPlugin.EnableLogging(true);
     TapjoyManager.offerWallOpen = false;
     TapjoyManager.isUserIDSet   = false;
 }
Exemplo n.º 3
0
 public unsafe static long $Invoke35(long instance, long *args)
 {
     TapjoyPlugin.EnableLogging(*(sbyte *)args != 0);
     return(-1L);
 }