From 97c753d8e6014aeefd6d6a47d01f7fcda3e4fbf7 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期一, 10 六月 2019 11:12:26 +0800
Subject: [PATCH] 7179 【前端】【2.0】百分比属性保留X位小数

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

diff --git a/Lua/Gen/PlayerPropertyConfigWrap.cs b/Lua/Gen/PlayerPropertyConfigWrap.cs
index ce544ea..71916f9 100644
--- a/Lua/Gen/PlayerPropertyConfigWrap.cs
+++ b/Lua/Gen/PlayerPropertyConfigWrap.cs
@@ -46,7 +46,6 @@
             Utils.RegisterFunc(L, Utils.CLS_IDX, "Init", _m_Init_xlua_st_);
             Utils.RegisterFunc(L, Utils.CLS_IDX, "GetPropByType", _m_GetPropByType_xlua_st_);
             Utils.RegisterFunc(L, Utils.CLS_IDX, "GetFullDescription", _m_GetFullDescription_xlua_st_);
-            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetValueDescription", _m_GetValueDescription_xlua_st_);
             
 			
             
@@ -363,66 +362,6 @@
             return LuaAPI.luaL_error(L, "invalid arguments to PlayerPropertyConfig.GetFullDescription!");
             
         }
-        
-        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _m_GetValueDescription_xlua_st_(RealStatePtr L)
-        {
-		    try {
-            
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-            
-            
-            
-			    int gen_param_count = LuaAPI.lua_gettop(L);
-            
-                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
-                {
-                    int _id = LuaAPI.xlua_tointeger(L, 1);
-                    int _value = LuaAPI.xlua_tointeger(L, 2);
-                    
-                        string gen_ret = PlayerPropertyConfig.GetValueDescription( _id, _value );
-                        LuaAPI.lua_pushstring(L, gen_ret);
-                    
-                    
-                    
-                    return 1;
-                }
-                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) 
-                {
-                    int _id = LuaAPI.xlua_tointeger(L, 1);
-                    int _value = LuaAPI.xlua_tointeger(L, 2);
-                    int _decimalCount = LuaAPI.xlua_tointeger(L, 3);
-                    bool _largeValue = LuaAPI.lua_toboolean(L, 4);
-                    
-                        string gen_ret = PlayerPropertyConfig.GetValueDescription( _id, _value, _decimalCount, _largeValue );
-                        LuaAPI.lua_pushstring(L, gen_ret);
-                    
-                    
-                    
-                    return 1;
-                }
-                if(gen_param_count == 1&& translator.Assignable<Int2>(L, 1)) 
-                {
-                    Int2 _property;translator.Get(L, 1, out _property);
-                    
-                        string gen_ret = PlayerPropertyConfig.GetValueDescription( _property );
-                        LuaAPI.lua_pushstring(L, gen_ret);
-                    
-                    
-                    
-                    return 1;
-                }
-                
-            } catch(System.Exception gen_e) {
-                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
-            }
-            
-            return LuaAPI.luaL_error(L, "invalid arguments to PlayerPropertyConfig.GetValueDescription!");
-            
-        }
-        
-        
-        
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _g_get_inited(RealStatePtr L)

--
Gitblit v1.8.0