From 4259c2767ef9feb084b538cd6ebc271fd2f5745b Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期五, 15 三月 2019 20:25:10 +0800
Subject: [PATCH] 3335 排行榜代码修改

---
 Lua/Gen/PlayerDatasWrap.cs |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/Lua/Gen/PlayerDatasWrap.cs b/Lua/Gen/PlayerDatasWrap.cs
index f6c19dc..a80b1d9 100644
--- a/Lua/Gen/PlayerDatasWrap.cs
+++ b/Lua/Gen/PlayerDatasWrap.cs
@@ -49,7 +49,6 @@
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "baseData", _g_get_baseData);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "extersion", _g_get_extersion);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "skill", _g_get_skill);
-            Utils.RegisterFunc(L, Utils.GETTER_IDX, "rank", _g_get_rank);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "totalExpRate", _g_get_totalExpRate);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "worldLv", _g_get_worldLv);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "worldExpRate", _g_get_worldExpRate);
@@ -585,20 +584,6 @@
 			
                 PlayerDatas gen_to_be_invoked = (PlayerDatas)translator.FastGetCSObj(L, 1);
                 translator.Push(L, gen_to_be_invoked.skill);
-            } catch(System.Exception gen_e) {
-                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
-            }
-            return 1;
-        }
-        
-        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _g_get_rank(RealStatePtr L)
-        {
-		    try {
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-			
-                PlayerDatas gen_to_be_invoked = (PlayerDatas)translator.FastGetCSObj(L, 1);
-                translator.Push(L, gen_to_be_invoked.rank);
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
             }

--
Gitblit v1.8.0