static int _m_ReturnToBookmark(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); MongoDB.Bson.IO.IBsonReader gen_to_be_invoked = (MongoDB.Bson.IO.IBsonReader)translator.FastGetCSObj(L, 1); { MongoDB.Bson.IO.BsonReaderBookmark _bookmark = (MongoDB.Bson.IO.BsonReaderBookmark)translator.GetObject(L, 2, typeof(MongoDB.Bson.IO.BsonReaderBookmark)); gen_to_be_invoked.ReturnToBookmark(_bookmark); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }