Example #1
0
    public static int IsPlatformExitGame(IntPtr L)
    {
        int       count = LuaDLL.lua_gettop(L);
        const int nRet  = 1;

        if (count == 0)
        {
            LuaScriptMgr.Push(L, PlatformControl.IsPlatformExitGame());
        }
        else
        {
            LogParamError("IsPlatformExitGame", count);
            LuaScriptMgr.Push(L, false);
        }
        return(GameUtilWrap.CheckReturnNum(L, count, nRet));
    }