Exemplo n.º 1
0
 public override void UpdateFullPackage(string pkgUrl)
 {
     this.JavaCall("updateApk", new object[]
     {
         pkgUrl,
         GameConfigInfo.GetInstance().dictExtendConfig.ContainsKey("isGooglePlay")
     });
 }
Exemplo n.º 2
0
    private static int GetInstance(IntPtr L)
    {
        int result;

        try
        {
            ToLua.CheckArgsCount(L, 0);
            GameConfigInfo instance = GameConfigInfo.GetInstance();
            ToLua.PushObject(L, instance);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaDLL.toluaL_exception(L, e, null);
        }
        return(result);
    }
Exemplo n.º 3
0
 public bool NeedCallSDK()
 {
     return(!GameConfigInfo.GetInstance().channelCode.Equals("youai01") && !GameConfigInfo.GetInstance().channelCode.Equals("youaiios01"));
 }