少年修仙传客户端代码仓库
client_linchunjie
2019-05-25 1f91e5df63dc91e3b77caeee3c820b8e52a02485
Lua/Gen/MapTransferUtilityWrap.cs
@@ -21,7 +21,7 @@
        {
         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);
@@ -33,6 +33,7 @@
         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);
@@ -512,6 +513,33 @@
            
        }
        
        [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);
            }
        }