static int _m_AddChar(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


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



                {
                    char _ch = (char)LuaAPI.xlua_tointeger(L, 2);
                    FairyGUI.BitmapFont.BMGlyph _glyph = (FairyGUI.BitmapFont.BMGlyph)translator.GetObject(L, 3, typeof(FairyGUI.BitmapFont.BMGlyph));

                    gen_to_be_invoked.AddChar(
                        _ch,
                        _glyph);



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