static int OnLogOut(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         MFrameWork.MSingleton <MFrameWork.MObjectManager> obj = (MFrameWork.MSingleton <MFrameWork.MObjectManager>)ToLua.CheckObject <MFrameWork.MSingleton <MFrameWork.MObjectManager> >(L, 1);
         obj.OnLogOut();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int Init(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         MFrameWork.MSingleton <MFrameWork.MObjectManager> obj = (MFrameWork.MSingleton <MFrameWork.MObjectManager>)ToLua.CheckObject <MFrameWork.MSingleton <MFrameWork.MObjectManager> >(L, 1);
         bool o = obj.Init();
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }