Exemplo n.º 1
0
        static int _m_SetInt(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xc.UserPlayerPrefs __cl_gen_to_be_invoked = (xc.UserPlayerPrefs)translator.FastGetCSObj(L, 1);


            try {
                {
                    string key = LuaAPI.lua_tostring(L, 2);
                    float  val = (float)LuaAPI.lua_tonumber(L, 3);

                    __cl_gen_to_be_invoked.SetInt(key, val);



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