| | |
| | | |
| | | |
| | | { |
| | | int _atkSpeed = LuaAPI.xlua_tointeger(L, 2); |
| | | string _color; |
| | | |
| | | bool gen_ret = gen_to_be_invoked.TryGetAtkSpeedColor( _atkSpeed, out _color ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | LuaAPI.lua_pushstring(L, _color); |
| | | |
| | | |
| | | |
| | | |
| | | return 2; |
| | | } |
| | |
| | | |
| | | |
| | | { |
| | | Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel)); |
| | | bool _isCompare = LuaAPI.lua_toboolean(L, 3); |
| | | |
| | | gen_to_be_invoked.SetCurrentAttrData( _itemModel, _isCompare ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | |
| | | |
| | | |
| | | { |
| | | int _precentType = LuaAPI.xlua_tointeger(L, 2); |
| | | int _value = LuaAPI.xlua_tointeger(L, 3); |
| | | |
| | | int gen_ret = gen_to_be_invoked.GetProValueType( _precentType, _value ); |
| | | LuaAPI.xlua_pushinteger(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |