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


                BattleServer.User.BSUserMgr __cl_gen_to_be_invoked = (BattleServer.User.BSUserMgr)translator.FastGetCSObj(L, 1);



                {
                    ulong gcNID = LuaAPI.lua_touint64(L, 2);
                    uint  sid   = LuaAPI.xlua_touint(L, 3);

                    BattleServer.User.BSUser __cl_gen_ret = __cl_gen_to_be_invoked.Online(gcNID, sid);
                    translator.Push(L, __cl_gen_ret);



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