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


                FairyGUI.BitmapFont gen_to_be_invoked = (FairyGUI.BitmapFont)translator.FastGetCSObj(L, 1);



                {
                    int _size = LuaAPI.xlua_tointeger(L, 2);

                    int gen_ret = gen_to_be_invoked.GetLineHeight(_size);
                    LuaAPI.xlua_pushinteger(L, gen_ret);



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