static public int GetGlyph(IntPtr l) { try { FairyGUI.BaseFont self = (FairyGUI.BaseFont)checkSelf(l); System.Char a1; checkType(l, 2, out a1); var ret = self.GetGlyph(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static int GetGlyph(IntPtr L) { try { ToLua.CheckArgsCount(L, 5); FairyGUI.BaseFont obj = (FairyGUI.BaseFont)ToLua.CheckObject <FairyGUI.BaseFont>(L, 1); char arg0 = (char)LuaDLL.luaL_checknumber(L, 2); float arg1; float arg2; float arg3; bool o = obj.GetGlyph(arg0, out arg1, out arg2, out arg3); LuaDLL.lua_pushboolean(L, o); LuaDLL.lua_pushnumber(L, arg1); LuaDLL.lua_pushnumber(L, arg2); LuaDLL.lua_pushnumber(L, arg3); return(4); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }