| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(MapTransferUtility); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 10, 6, 6); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 11, 6, 6); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Initialize", _m_Initialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "MoveToDazuo", _m_MoveToDazuo); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnHeroPathFinding", _m_OnHeroPathFinding); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnHeroStopPathFind", _m_OnHeroStopPathFind); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Clear", _m_Clear); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "StopMovetoNpc", _m_StopMovetoNpc); |
| | | |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "MapTransferDoType", _g_get_MapTransferDoType); |
| | |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_StopMovetoNpc(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | MapTransferUtility gen_to_be_invoked = (MapTransferUtility)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.StopMovetoNpc( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |