From 1f91e5df63dc91e3b77caeee3c820b8e52a02485 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期六, 25 五月 2019 16:19:45 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 Lua/Gen/MapTransferUtilityWrap.cs |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/Lua/Gen/MapTransferUtilityWrap.cs b/Lua/Gen/MapTransferUtilityWrap.cs
index f0ee9ff..6d2b078 100644
--- a/Lua/Gen/MapTransferUtilityWrap.cs
+++ b/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);
+            }
+            
+        }
+        
         
         
         

--
Gitblit v1.8.0