Пример #1
0
        static int _m_SetUserId(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            DBOSManager __cl_gen_to_be_invoked = (DBOSManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    string user_id = LuaAPI.lua_tostring(L, 2);

                    __cl_gen_to_be_invoked.SetUserId(user_id);



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