Example #1
0
        static int _m_Draw(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.Util.RetainedGizmos gen_to_be_invoked = (Pathfinding.Util.RetainedGizmos)translator.FastGetCSObj(L, 1);



                {
                    Pathfinding.Util.RetainedGizmos.Hasher _hasher; translator.Get(L, 2, out _hasher);

                    bool gen_ret = gen_to_be_invoked.Draw(
                        _hasher);
                    LuaAPI.lua_pushboolean(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }