From 72cd4396fa81eae0cde131d62fbaf1cf3d6ace0a Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期日, 10 三月 2019 21:18:31 +0800
Subject: [PATCH] 3335 删除旧的套装代码。
---
System/TreasureFindHost/TreasureFindHostModel.cs | 42 --
System/Achievement/AchievementGotoPart3.cs | 8
System/KnapSack/Logic/ItemTipsModel.cs | 96 ------
System/Store/Logic/BuyEquipTip.cs | 21 -
System/Chat/ChatCtrl.cs | 19 -
System/KnapSack/Logic/ItemOperateUtility.cs | 76 -----
System/Strengthening/EquipReinforceWin.cs | 15 -
System/RolePromote/RolePromoteModel.cs | 6
/dev/null | 12
System/KnapSack/Logic/UnionWarehouseEquipTip.cs | 11
System/WindowJump/WindowJumpMgr.cs | 5
System/RoleParticulars/ViewFuncCell.cs | 15 -
UI/Common/UI3DShowHero.cs | 13
System/RoleParticulars/RoleParticularsWin.cs | 44 --
System/RoleParticulars/RoleParticularModel.cs | 134 --------
System/Message/RichTableEvent.cs | 115 -------
System/Treasure/TreasureSoulPattern4.cs | 19 -
System/Treasure/TreasureSoulWin.cs | 18 -
Fight/GameActor/GA_Hero.cs | 17 -
System/WindowBase/ModelCenter.cs | 1
System/KnapSack/Logic/EquipTip.cs | 179 -----------
Core/NetworkPackage/DTCFile/ServerPack/HA3_Function/DTCA309_tagMCEquipPartSuiteLVInfo.cs | 8
22 files changed, 6 insertions(+), 868 deletions(-)
diff --git a/Core/NetworkPackage/DTCFile/ServerPack/HA3_Function/DTCA309_tagMCEquipPartSuiteLVInfo.cs b/Core/NetworkPackage/DTCFile/ServerPack/HA3_Function/DTCA309_tagMCEquipPartSuiteLVInfo.cs
index 70fae5c..882c5ef 100644
--- a/Core/NetworkPackage/DTCFile/ServerPack/HA3_Function/DTCA309_tagMCEquipPartSuiteLVInfo.cs
+++ b/Core/NetworkPackage/DTCFile/ServerPack/HA3_Function/DTCA309_tagMCEquipPartSuiteLVInfo.cs
@@ -9,20 +9,12 @@
public class DTCA309_tagMCEquipPartSuiteLVInfo : DtcBasic
{
- PlayerSuitModel _suitModel;
- PlayerSuitModel SuitModel
- {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
-
public override void Done(GameNetPackBasic vNetPack)
{
base.Done(vNetPack);
HA309_tagMCEquipPartSuiteLVInfo vNetData = vNetPack as HA309_tagMCEquipPartSuiteLVInfo;
- SuitModel.GetServerSuitModel(vNetData);
-
GA_Hero _hero = PlayerDatas.Instance.hero;
if (_hero != null)
{
diff --git a/Fight/GameActor/GA_Hero.cs b/Fight/GameActor/GA_Hero.cs
index a128a5f..1c7e7bb 100644
--- a/Fight/GameActor/GA_Hero.cs
+++ b/Fight/GameActor/GA_Hero.cs
@@ -170,12 +170,6 @@
m_LastSyncTickTime = Time.realtimeSinceStartup;
}
- private PlayerSuitModel _suitModel;
- private PlayerSuitModel SuitModel
- {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
-
private PackModel m_PlayerBackModel;
private PackModel PlayerBackModel
{
@@ -220,17 +214,6 @@
continue;
}
- if (SuitModel.suitModelDict.ContainsKey(i))
- {
- if (SuitModel.suitModelDict[i].ContainsKey(1)
- || SuitModel.suitModelDict[i].ContainsKey(2))
- {
- if (_itemModel.config.LV >= _rank)
- {
- _suitCount += 1;
- }
- }
- }
}
if (m_SuitCount == _suitCount)
diff --git a/Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs b/Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs
deleted file mode 100644
index 20f994d..0000000
--- a/Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs
+++ /dev/null
@@ -1,1190 +0,0 @@
-锘�#if USE_UNI_LUA
-using LuaAPI = UniLua.Lua;
-using RealStatePtr = UniLua.ILuaState;
-using LuaCSFunction = UniLua.CSharpFunctionDelegate;
-#else
-using LuaAPI = XLua.LuaDLL.Lua;
-using RealStatePtr = System.IntPtr;
-using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
-#endif
-
-using XLua;
-using System.Collections.Generic;
-
-
-namespace XLua.CSObjectWrap
-{
- using Utils = XLua.Utils;
- public class SnxxzUIItemLogicUtilityWrap
- {
- public static void __Register(RealStatePtr L)
- {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- System.Type type = typeof(Snxxz.UI.ItemLogicUtility);
- Utils.BeginObjectRegister(type, L, translator, 0, 32, 3, 1);
-
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipScore", _m_GetEquipScore);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWingsLegendProperties", _m_GetWingsLegendProperties);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "RecommendItem", _m_RecommendItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnGetEquip", _m_OnGetEquip);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshPickItem", _m_RefreshPickItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckBetterEquipByRealm", _m_CheckBetterEquipByRealm);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDruglistByRealm", _m_GetDruglistByRealm);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemEffectCDTime", _m_SetItemEffectCDTime);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTimeOffest", _m_GetTimeOffest);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSellItemList", _m_GetSellItemList);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSellItemOrder", _m_SetSellItemOrder);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsEquip", _m_IsEquip);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOneKeySellModel", _m_GetOneKeySellModel);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCanSellEquipList", _m_GetCanSellEquipList);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendOneKeySellQuest", _m_SendOneKeySellQuest);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPackResetQuest", _m_SendPackResetQuest);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLookIndex", _m_SetLookIndex);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckBetterEquip", _m_CheckBetterEquip);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHighestScoreEquipByPlace", _m_GetHighestScoreEquipByPlace);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearSortedBetterEquip", _m_ClearSortedBetterEquip);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetBagSortBetterEquipList", _m_SetBagSortBetterEquipList);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBagSortBetterEquip", _m_GetBagSortBetterEquip);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsCanPutOn", _m_IsCanPutOn);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetItemQuality", _m_GetItemQuality);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnChangeCoinsUnit", _m_OnChangeCoinsUnit);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsFightUp", _m_IsFightUp);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsOverdue", _m_IsOverdue);
-
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPreciousItemEvent", _e_GetPreciousItemEvent);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBetterEquipEvent", _e_GetBetterEquipEvent);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "PickItemEvent", _e_PickItemEvent);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "lookEquipEvent", _e_lookEquipEvent);
-
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "isPackResetOk", _g_get_isPackResetOk);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "lookLineIndex", _g_get_lookLineIndex);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "lookItemGUID", _g_get_lookItemGUID);
-
- Utils.RegisterFunc(L, Utils.SETTER_IDX, "isPackResetOk", _s_set_isPackResetOk);
-
-
- Utils.EndObjectRegister(type, L, translator, null, null,
- null, null, null);
-
- Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
-
-
-
-
-
-
- Utils.EndClassRegister(type, L, translator);
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int __CreateInstance(RealStatePtr L)
- {
-
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- if(LuaAPI.lua_gettop(L) == 1)
- {
-
- Snxxz.UI.ItemLogicUtility gen_ret = new Snxxz.UI.ItemLogicUtility();
- translator.Push(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 Snxxz.UI.ItemLogicUtility constructor!");
-
- }
-
-
-
-
-
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_Init(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.Init( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetEquipScore(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
- int gen_param_count = LuaAPI.lua_gettop(L);
-
- if(gen_param_count == 5&& translator.Assignable<PackType>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>>(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5))
- {
- PackType _type;translator.Get(L, 2, out _type);
- int _itemId = LuaAPI.xlua_tointeger(L, 3);
- System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> _useDataDic = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 4, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>));
- bool _isPreview = LuaAPI.lua_toboolean(L, 5);
-
- int gen_ret = gen_to_be_invoked.GetEquipScore( _type, _itemId, _useDataDic, _isPreview );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
- if(gen_param_count == 4&& translator.Assignable<PackType>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>>(L, 4))
- {
- PackType _type;translator.Get(L, 2, out _type);
- int _itemId = LuaAPI.xlua_tointeger(L, 3);
- System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> _useDataDic = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 4, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>));
-
- int gen_ret = gen_to_be_invoked.GetEquipScore( _type, _itemId, _useDataDic );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
- if(gen_param_count == 3&& translator.Assignable<PackType>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
- {
- PackType _type;translator.Get(L, 2, out _type);
- int _itemId = LuaAPI.xlua_tointeger(L, 3);
-
- int gen_ret = gen_to_be_invoked.GetEquipScore( _type, _itemId );
- LuaAPI.xlua_pushinteger(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 Snxxz.UI.ItemLogicUtility.GetEquipScore!");
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetWingsLegendProperties(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
-
- System.Collections.Generic.Dictionary<int, int> gen_ret = gen_to_be_invoked.GetWingsLegendProperties( _itemId );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_RecommendItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemModel _item = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
-
- gen_to_be_invoked.RecommendItem( _item );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_OnGetEquip(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemModel _item = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
-
- gen_to_be_invoked.OnGetEquip( _item );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_RefreshPickItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- PackType _type;translator.Get(L, 2, out _type);
- string _guid = LuaAPI.lua_tostring(L, 3);
-
- gen_to_be_invoked.RefreshPickItem( _type, _guid );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_CheckBetterEquipByRealm(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- System.Collections.Generic.Dictionary<int, Snxxz.UI.ItemModel> gen_ret = gen_to_be_invoked.CheckBetterEquipByRealm( );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetDruglistByRealm(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- System.Collections.Generic.List<Snxxz.UI.ItemModel> gen_ret = gen_to_be_invoked.GetDruglistByRealm( );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetItemEffectCDTime(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
- int _itemID = LuaAPI.xlua_tointeger(L, 3);
- int _getTime = LuaAPI.xlua_tointeger(L, 4);
- int _serverSurplusTime = LuaAPI.xlua_tointeger(L, 5);
-
- gen_to_be_invoked.SetItemEffectCDTime( _guid, _itemID, _getTime, _serverSurplusTime );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetTimeOffest(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- System.DateTime _getTime;translator.Get(L, 2, out _getTime);
-
- double gen_ret = gen_to_be_invoked.GetTimeOffest( _getTime );
- LuaAPI.lua_pushnumber(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetSellItemList(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- System.Collections.Generic.List<Snxxz.UI.ItemModel> gen_ret = gen_to_be_invoked.GetSellItemList( );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetSellItemOrder(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemModel _startModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
- Snxxz.UI.ItemModel _endModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 3, typeof(Snxxz.UI.ItemModel));
-
- int gen_ret = gen_to_be_invoked.SetSellItemOrder( _startModel, _endModel );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsEquip(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemModel _model = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
-
- bool gen_ret = gen_to_be_invoked.IsEquip( _model );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetOneKeySellModel(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.GetOneKeySellModel( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetCanSellEquipList(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemModel _model = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
-
- gen_to_be_invoked.GetCanSellEquipList( _model );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SendOneKeySellQuest(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- System.Collections.Generic.List<Snxxz.UI.ItemModel> __oneKeySelllist = (System.Collections.Generic.List<Snxxz.UI.ItemModel>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<Snxxz.UI.ItemModel>));
-
- gen_to_be_invoked.OneKeySell( __oneKeySelllist );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SendPackResetQuest(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- PackType _type;translator.Get(L, 2, out _type);
-
- gen_to_be_invoked.ResetPack( _type );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetLookIndex(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
- int gen_param_count = LuaAPI.lua_gettop(L);
-
- if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
- int _singleRowCount = LuaAPI.xlua_tointeger(L, 3);
-
- gen_to_be_invoked.SetLookIndex( _guid, _singleRowCount );
-
-
-
- return 0;
- }
- if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
-
- gen_to_be_invoked.SetLookIndex( _guid );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.ItemLogicUtility.SetLookIndex!");
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_CheckBetterEquip(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- RoleEquipType _ignoreType;translator.Get(L, 2, out _ignoreType);
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetHighestScoreEquipByPlace(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
-
- string gen_ret = gen_to_be_invoked.GetHighestScoreEquipByPlace( _equipPlace );
- LuaAPI.lua_pushstring(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_ClearSortedBetterEquip(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.ClearSortedBetterEquip( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetBagSortBetterEquipList(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
-
- gen_to_be_invoked.SetBagSortBetterEquipList( _itemModel );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetBagSortBetterEquip(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
- int _index = LuaAPI.xlua_tointeger(L, 3);
-
- Snxxz.UI.ItemModel gen_ret = gen_to_be_invoked.GetBagSortBetterEquip( _equipPlace, _index );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsCanPutOn(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
-
- bool gen_ret = gen_to_be_invoked.IsCanPutOn( _itemModel );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetItemQuality(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
- int gen_param_count = LuaAPI.lua_gettop(L);
-
- if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>>(L, 3))
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
- System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> _useDataDic = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 3, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>));
-
- int gen_ret = gen_to_be_invoked.GetItemQuality( _itemId, _useDataDic );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
- if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
-
- int gen_ret = gen_to_be_invoked.GetItemQuality( _itemId );
- LuaAPI.xlua_pushinteger(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 Snxxz.UI.ItemLogicUtility.GetItemQuality!");
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_OnChangeCoinsUnit(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- ulong _value = LuaAPI.lua_touint64(L, 2);
-
- string gen_ret = gen_to_be_invoked.OnChangeCoinsUnit( _value );
- LuaAPI.lua_pushstring(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsFightUp(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int __itemID = LuaAPI.xlua_tointeger(L, 2);
- int __score = LuaAPI.xlua_tointeger(L, 3);
-
- int gen_ret = gen_to_be_invoked.IsFightUp( __itemID, __score );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsOverdue(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
-
-
- int gen_param_count = LuaAPI.lua_gettop(L);
-
- if(gen_param_count == 4&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>>(L, 4))
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
- int _itemId = LuaAPI.xlua_tointeger(L, 3);
- System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> _useDataDict = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>)translator.GetObject(L, 4, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>>));
-
- bool gen_ret = gen_to_be_invoked.IsOverdue( _guid, _itemId, _useDataDict );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
- if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
- int _itemId = LuaAPI.xlua_tointeger(L, 3);
-
- bool gen_ret = gen_to_be_invoked.IsOverdue( _guid, _itemId );
- LuaAPI.lua_pushboolean(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 Snxxz.UI.ItemLogicUtility.IsOverdue!");
-
- }
-
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_isPackResetOk(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
- LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isPackResetOk);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_lookLineIndex(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.lookLineIndex);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_lookItemGUID(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
- LuaAPI.lua_pushstring(L, gen_to_be_invoked.lookItemGUID);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _s_set_isPackResetOk(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
- gen_to_be_invoked.isPackResetOk = LuaAPI.lua_toboolean(L, 2);
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 0;
- }
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _e_GetPreciousItemEvent(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- int gen_param_count = LuaAPI.lua_gettop(L);
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
- System.Action<PackType, string> gen_delegate = translator.GetDelegate<System.Action<PackType, string>>(L, 3);
- if (gen_delegate == null) {
- return LuaAPI.luaL_error(L, "#3 need System.Action<PackType, string>!");
- }
-
- if (gen_param_count == 3)
- {
-
- if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
- gen_to_be_invoked.GetPreciousItemEvent += gen_delegate;
- return 0;
- }
-
-
- if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
- gen_to_be_invoked.GetPreciousItemEvent -= gen_delegate;
- return 0;
- }
-
- }
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.ItemLogicUtility.GetPreciousItemEvent!");
- return 0;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _e_GetBetterEquipEvent(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- int gen_param_count = LuaAPI.lua_gettop(L);
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
- System.Action<string> gen_delegate = translator.GetDelegate<System.Action<string>>(L, 3);
- if (gen_delegate == null) {
- return LuaAPI.luaL_error(L, "#3 need System.Action<string>!");
- }
-
- if (gen_param_count == 3)
- {
-
- if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
- gen_to_be_invoked.GetBetterEquipEvent += gen_delegate;
- return 0;
- }
-
-
- if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
- gen_to_be_invoked.GetBetterEquipEvent -= gen_delegate;
- return 0;
- }
-
- }
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.ItemLogicUtility.GetBetterEquipEvent!");
- return 0;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _e_PickItemEvent(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- int gen_param_count = LuaAPI.lua_gettop(L);
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
- System.Action<PackType, string> gen_delegate = translator.GetDelegate<System.Action<PackType, string>>(L, 3);
- if (gen_delegate == null) {
- return LuaAPI.luaL_error(L, "#3 need System.Action<PackType, string>!");
- }
-
- if (gen_param_count == 3)
- {
-
- if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
- gen_to_be_invoked.PickItemEvent += gen_delegate;
- return 0;
- }
-
-
- if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
- gen_to_be_invoked.PickItemEvent -= gen_delegate;
- return 0;
- }
-
- }
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.ItemLogicUtility.PickItemEvent!");
- return 0;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _e_lookEquipEvent(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- int gen_param_count = LuaAPI.lua_gettop(L);
- Snxxz.UI.ItemLogicUtility gen_to_be_invoked = (Snxxz.UI.ItemLogicUtility)translator.FastGetCSObj(L, 1);
- System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
- if (gen_delegate == null) {
- return LuaAPI.luaL_error(L, "#3 need System.Action!");
- }
-
- if (gen_param_count == 3)
- {
-
- if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
- gen_to_be_invoked.lookEquipEvent += gen_delegate;
- return 0;
- }
-
-
- if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
- gen_to_be_invoked.lookEquipEvent -= gen_delegate;
- return 0;
- }
-
- }
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.ItemLogicUtility.lookEquipEvent!");
- return 0;
- }
-
-
-
- }
-}
diff --git a/Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs.meta b/Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs.meta
deleted file mode 100644
index 9c5af9f..0000000
--- a/Lua/Gen/SnxxzUIItemLogicUtilityWrap.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: d434dae0c10a9754092983005bb1bf8f
-timeCreated: 1551323940
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Lua/Gen/SnxxzUIItemOperateUtilityWrap.cs b/Lua/Gen/SnxxzUIItemOperateUtilityWrap.cs
deleted file mode 100644
index f1240e9..0000000
--- a/Lua/Gen/SnxxzUIItemOperateUtilityWrap.cs
+++ /dev/null
@@ -1,828 +0,0 @@
-锘�#if USE_UNI_LUA
-using LuaAPI = UniLua.Lua;
-using RealStatePtr = UniLua.ILuaState;
-using LuaCSFunction = UniLua.CSharpFunctionDelegate;
-#else
-using LuaAPI = XLua.LuaDLL.Lua;
-using RealStatePtr = System.IntPtr;
-using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
-#endif
-
-using XLua;
-using System.Collections.Generic;
-
-
-namespace XLua.CSObjectWrap
-{
- using Utils = XLua.Utils;
- public class SnxxzUIItemOperateUtilityWrap
- {
- public static void __Register(RealStatePtr L)
- {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- System.Type type = typeof(Snxxz.UI.ItemOperateUtility);
- Utils.BeginObjectRegister(type, L, translator, 0, 23, 2, 1);
-
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "PutOnItem", _m_PutOnItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckSuitReplaceInfo", _m_CheckSuitReplaceInfo);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "PutOnEquip", _m_PutOnEquip);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "PutOffEquip", _m_PutOffEquip);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "RequestWarehouseData", _m_RequestWarehouseData);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "PutInWareHouse", _m_PutInWareHouse);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "TakeOutFromWarehouse", _m_TakeOutFromWarehouse);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GotoUseItem", _m_GotoUseItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckItemUselimit", _m_CheckItemUselimit);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOfflineMaxNum", _m_GetOfflineMaxNum);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsMaxOfflineTime", _m_CheckIsMaxOfflineTime);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "UseItem", _m_UseItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "CanUseItem", _m_CanUseItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "UseItemMainServer", _m_UseItemMainServer);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "UseItemCrossServer", _m_UseItemCrossServer);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnClickSplitBtn", _m_OnClickSplitBtn);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SplitItem", _m_SplitItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "PutAwayItem", _m_PutAwayItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GotoInlayItem", _m_GotoInlayItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GotoComposeItem", _m_GotoComposeItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SellItem", _m_SellItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "DismantleItem", _m_DismantleItem);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "RenewalItem", _m_RenewalItem);
-
-
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectedItem", _g_get_selectedItem);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "useItemModel", _g_get_useItemModel);
-
- Utils.RegisterFunc(L, Utils.SETTER_IDX, "useItemModel", _s_set_useItemModel);
-
-
- Utils.EndObjectRegister(type, L, translator, null, null,
- null, null, null);
-
- Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
-
-
-
-
-
-
- Utils.EndClassRegister(type, L, translator);
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int __CreateInstance(RealStatePtr L)
- {
-
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- if(LuaAPI.lua_gettop(L) == 1)
- {
-
- Snxxz.UI.ItemOperateUtility gen_ret = new Snxxz.UI.ItemOperateUtility();
- translator.Push(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 Snxxz.UI.ItemOperateUtility constructor!");
-
- }
-
-
-
-
-
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_PutOnItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- ItemOperateType _btnType;translator.Get(L, 2, out _btnType);
- string _guid = LuaAPI.lua_tostring(L, 3);
-
- gen_to_be_invoked.PutOnItem( _guid );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_CheckSuitReplaceInfo(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
- Snxxz.UI.ItemModel _item = (Snxxz.UI.ItemModel)translator.GetObject(L, 3, typeof(Snxxz.UI.ItemModel));
-
- gen_to_be_invoked.CheckSuitReplaceInfo( _equipPlace, _item );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_PutOnEquip(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
- int _itemIndex = LuaAPI.xlua_tointeger(L, 3);
- Snxxz.UI.ItemModel _oldItem = (Snxxz.UI.ItemModel)translator.GetObject(L, 4, typeof(Snxxz.UI.ItemModel));
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_PutOffEquip(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
-
- gen_to_be_invoked.PutOffEquip( _guid );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_RequestWarehouseData(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.RequestWarehouseData( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_PutInWareHouse(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
-
- gen_to_be_invoked.PutInWareHouse( _guid );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_TakeOutFromWarehouse(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- ItemOperateType _btnType;translator.Get(L, 2, out _btnType);
- string _guid = LuaAPI.lua_tostring(L, 3);
-
- gen_to_be_invoked.TakeOutFromWarehouse( _btnType, _guid );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GotoUseItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemIndex = LuaAPI.xlua_tointeger(L, 2);
-
- gen_to_be_invoked.GotoUseItem( _itemIndex );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_CheckItemUselimit(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
-
- bool gen_ret = gen_to_be_invoked.CheckItemUselimit( _itemId );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetOfflineMaxNum(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
-
- int gen_ret = gen_to_be_invoked.GetOfflineMaxNum( _itemModel );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_CheckIsMaxOfflineTime(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _useNum = LuaAPI.xlua_tointeger(L, 2);
- Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 3, typeof(Snxxz.UI.ItemModel));
-
- bool gen_ret = gen_to_be_invoked.CheckIsMaxOfflineTime( _useNum, _itemModel );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_UseItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
- int gen_param_count = LuaAPI.lua_gettop(L);
-
- if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
- {
- int _index = LuaAPI.xlua_tointeger(L, 2);
- int _useCnt = LuaAPI.xlua_tointeger(L, 3);
- int _extra = LuaAPI.xlua_tointeger(L, 4);
-
- gen_to_be_invoked.UseItem( _index, _useCnt, _extra );
-
-
-
- return 0;
- }
- if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
- {
- int _index = LuaAPI.xlua_tointeger(L, 2);
- int _useCnt = LuaAPI.xlua_tointeger(L, 3);
-
- gen_to_be_invoked.UseItem( _index, _useCnt );
-
-
-
- return 0;
- }
- if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
- {
- int _index = LuaAPI.xlua_tointeger(L, 2);
-
- gen_to_be_invoked.UseItem( _index );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.ItemOperateUtility.UseItem!");
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_CanUseItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _index = LuaAPI.xlua_tointeger(L, 2);
- int _useCnt = LuaAPI.xlua_tointeger(L, 3);
- int _error;
-
- bool gen_ret = gen_to_be_invoked.CanUseItem( _index, _useCnt, out _error );
- LuaAPI.lua_pushboolean(L, gen_ret);
- LuaAPI.xlua_pushinteger(L, _error);
-
-
-
-
- return 2;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_UseItemMainServer(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _index = LuaAPI.xlua_tointeger(L, 2);
- int _useCnt = LuaAPI.xlua_tointeger(L, 3);
- int _extra = LuaAPI.xlua_tointeger(L, 4);
-
- gen_to_be_invoked.UseItemMainServer( _index, _useCnt, _extra );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_UseItemCrossServer(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _index = LuaAPI.xlua_tointeger(L, 2);
-
- gen_to_be_invoked.UseItemCrossServer( _index );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_OnClickSplitBtn(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
-
- gen_to_be_invoked.OnClickSplitBtn( _guid );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SplitItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
- int _splitCount = LuaAPI.xlua_tointeger(L, 3);
-
- gen_to_be_invoked.SplitItem( _guid, _splitCount );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_PutAwayItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
-
- gen_to_be_invoked.PutAwayItem( _guid );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GotoInlayItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
-
- gen_to_be_invoked.GotoInlayItem( _guid );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GotoComposeItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _jumpId = LuaAPI.xlua_tointeger(L, 2);
-
- gen_to_be_invoked.GotoComposeItem( _jumpId );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SellItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.SellItem( _attrData );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_DismantleItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.DismantleItem( _attrData );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_RenewalItem(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
-
-
-
- {
- string _guid = LuaAPI.lua_tostring(L, 2);
-
- gen_to_be_invoked.RenewalItem( _guid );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_selectedItem(RealStatePtr L)
- {
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_useItemModel(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.useItemModel);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _s_set_useItemModel(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemOperateUtility gen_to_be_invoked = (Snxxz.UI.ItemOperateUtility)translator.FastGetCSObj(L, 1);
- gen_to_be_invoked.useItemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 0;
- }
-
-
-
-
-
- }
-}
diff --git a/Lua/Gen/SnxxzUIItemOperateUtilityWrap.cs.meta b/Lua/Gen/SnxxzUIItemOperateUtilityWrap.cs.meta
deleted file mode 100644
index ed10a14..0000000
--- a/Lua/Gen/SnxxzUIItemOperateUtilityWrap.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: fa7ac9851eb489945859b99575782577
-timeCreated: 1551323945
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Lua/Gen/SnxxzUIPlayerSuitModelWrap.cs b/Lua/Gen/SnxxzUIPlayerSuitModelWrap.cs
deleted file mode 100644
index 679309e..0000000
--- a/Lua/Gen/SnxxzUIPlayerSuitModelWrap.cs
+++ /dev/null
@@ -1,1495 +0,0 @@
-锘�#if USE_UNI_LUA
-using LuaAPI = UniLua.Lua;
-using RealStatePtr = UniLua.ILuaState;
-using LuaCSFunction = UniLua.CSharpFunctionDelegate;
-#else
-using LuaAPI = XLua.LuaDLL.Lua;
-using RealStatePtr = System.IntPtr;
-using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
-#endif
-
-using XLua;
-using System.Collections.Generic;
-
-
-namespace XLua.CSObjectWrap
-{
- using Utils = XLua.Utils;
- public class SnxxzUIPlayerSuitModelWrap
- {
- public static void __Register(RealStatePtr L)
- {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- System.Type type = typeof(Snxxz.UI.PlayerSuitModel);
- Utils.BeginObjectRegister(type, L, translator, 0, 41, 8, 2);
-
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJumpModel", _m_SetJumpModel);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipOrderlist", _m_GetEquipOrderlist);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerSuitModel", _m_GetServerSuitModel);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendMakeSuit", _m_SendMakeSuit);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendSplitSuit", _m_SendSplitSuit);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetActivateSuitModel", _m_GetActivateSuitModel);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSingleSuitAttr", _m_GetSingleSuitAttr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetActiveSuitAttr", _m_GetActiveSuitAttr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetActiveSuitAttr", _m_SetActiveSuitAttr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsReachMax", _m_IsReachMax);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsNeedUpgradEquipLv", _m_IsNeedUpgradEquipLv);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsFirstEquipMaker", _m_IsFirstEquipMaker);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetNeedConditions", _m_GetNeedConditions);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerSuitLv", _m_GetServerSuitLv);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerSuitModelByPlace", _m_GetServerSuitModelByPlace);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetServerSuitCntByPlace", _m_GetServerSuitCntByPlace);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsMakerSuit", _m_IsMakerSuit);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSameSuitCnt", _m_GetSameSuitCnt);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSameSuitCntByType", _m_GetSameSuitCntByType);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetGroupType", _m_GetGroupType);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipPlaceByGroupType", _m_GetEquipPlaceByGroupType);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipJob", _m_GetEquipJob);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsUpgradSuitLv", _m_IsUpgradSuitLv);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsPerfectGetSuitLv", _m_IsPerfectGetSuitLv);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetReplaceSuitModel", _m_SetReplaceSuitModel);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSuitCellRedPointlist", _m_SetSuitCellRedPointlist);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckRedPointCondition", _m_CheckRedPointCondition);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckTypeBtnRedPointCondition", _m_CheckTypeBtnRedPointCondition);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareSuitLV", _m_CompareSuitLV);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsReachSuitActive", _m_IsReachSuitActive);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJumpToModel", _m_SetJumpToModel);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearJumpModel", _m_ClearJumpModel);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMakerEquipPlace", _m_GetMakerEquipPlace);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsEnoughSuitMat", _m_IsEnoughSuitMat);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareBySuitLv", _m_CompareBySuitLv);
-
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshSuitModelAct", _e_RefreshSuitModelAct);
-
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "suitPartlist", _g_get_suitPartlist);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "activateAttrDict", _g_get_activateAttrDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "suitCellRedPointDict", _g_get_suitCellRedPointDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToSuitType", _g_get_jumpToSuitType);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToGroupType", _g_get_jumpToGroupType);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToEquipPlace", _g_get_jumpToEquipPlace);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "suitModelDict", _g_get_suitModelDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "typeBtnRedPoint", _g_get_typeBtnRedPoint);
-
- Utils.RegisterFunc(L, Utils.SETTER_IDX, "suitModelDict", _s_set_suitModelDict);
- Utils.RegisterFunc(L, Utils.SETTER_IDX, "typeBtnRedPoint", _s_set_typeBtnRedPoint);
-
-
- Utils.EndObjectRegister(type, L, translator, null, null,
- null, null, null);
-
- Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0);
-
-
- Utils.RegisterObject(L, translator, Utils.CLS_IDX, "SUITTYPEBTNREDPOINT_KEY", Snxxz.UI.PlayerSuitModel.SUITTYPEBTNREDPOINT_KEY);
-
-
-
-
- Utils.EndClassRegister(type, L, translator);
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int __CreateInstance(RealStatePtr L)
- {
-
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- if(LuaAPI.lua_gettop(L) == 1)
- {
-
- Snxxz.UI.PlayerSuitModel gen_ret = new Snxxz.UI.PlayerSuitModel();
- translator.Push(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 Snxxz.UI.PlayerSuitModel constructor!");
-
- }
-
-
-
-
-
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_Init(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.Init( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_OnBeforePlayerDataInitialize(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.OnBeforePlayerDataInitialize( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_OnAfterPlayerDataInitialize(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.OnAfterPlayerDataInitialize( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_OnPlayerLoginOk(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.OnPlayerLoginOk( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetJumpModel(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _suitType = LuaAPI.xlua_tointeger(L, 2);
-
- gen_to_be_invoked.SetJumpModel( _suitType );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_UnInit(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.UnInit( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetEquipOrderlist(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.SuitType _type;translator.Get(L, 2, out _type);
-
- System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetEquipOrderlist( _type );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetServerSuitModel(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- HA309_tagMCEquipPartSuiteLVInfo _info = (HA309_tagMCEquipPartSuiteLVInfo)translator.GetObject(L, 2, typeof(HA309_tagMCEquipPartSuiteLVInfo));
-
- gen_to_be_invoked.GetServerSuitModel( _info );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SendMakeSuit(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _suitType = LuaAPI.xlua_tointeger(L, 2);
- int _equipPlace = LuaAPI.xlua_tointeger(L, 3);
-
- gen_to_be_invoked.SendMakeSuit( _suitType, _equipPlace );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SendSplitSuit(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
- Snxxz.UI.SuitType _suitType;translator.Get(L, 3, out _suitType);
-
- gen_to_be_invoked.SendSplitSuit( _equipPlace, _suitType );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetActivateSuitModel(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.GetActivateSuitModel( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetSingleSuitAttr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- string _suitID = LuaAPI.lua_tostring(L, 2);
-
- Snxxz.UI.ActivateSuitData gen_ret = gen_to_be_invoked.GetSingleSuitAttr( _suitID );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetActiveSuitAttr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- System.Collections.Generic.Dictionary<int, int> gen_ret = gen_to_be_invoked.GetActiveSuitAttr( );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetActiveSuitAttr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int[] _attrIds = (int[])translator.GetObject(L, 2, typeof(int[]));
- int[] _attrValues = (int[])translator.GetObject(L, 3, typeof(int[]));
-
- gen_to_be_invoked.SetActiveSuitAttr( _attrIds, _attrValues );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsReachMax(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
- int _suitType = LuaAPI.xlua_tointeger(L, 3);
- int _suitLv = LuaAPI.xlua_tointeger(L, 4);
-
- bool gen_ret = gen_to_be_invoked.IsReachMax( _equipPlace, _suitType, _suitLv );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsNeedUpgradEquipLv(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
- int _suitType = LuaAPI.xlua_tointeger(L, 3);
-
- bool gen_ret = gen_to_be_invoked.IsNeedUpgradEquipLv( _equipPlace, _suitType );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsFirstEquipMaker(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- bool gen_ret = gen_to_be_invoked.IsFirstEquipMaker( );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetNeedConditions(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _suitType = LuaAPI.xlua_tointeger(L, 2);
-
- System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetNeedConditions( _suitType );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetServerSuitLv(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
- int _suitType = LuaAPI.xlua_tointeger(L, 3);
-
- int gen_ret = gen_to_be_invoked.GetServerSuitLv( _equipPlace, _suitType );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetServerSuitModelByPlace(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
-
- System.Collections.Generic.Dictionary<int, int> gen_ret = gen_to_be_invoked.GetServerSuitModelByPlace( _equipPlace );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetServerSuitCntByPlace(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
-
- System.Collections.Generic.Dictionary<Snxxz.UI.SuitType, int> gen_ret = gen_to_be_invoked.GetServerSuitCntByPlace( _equipPlace );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsMakerSuit(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType);
- int _itemColor = LuaAPI.xlua_tointeger(L, 3);
- int _starLv = LuaAPI.xlua_tointeger(L, 4);
-
- bool gen_ret = gen_to_be_invoked.IsMakerSuit( _suitType, _itemColor, _starLv );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetSameSuitCnt(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
- int gen_param_count = LuaAPI.lua_gettop(L);
-
- if(gen_param_count == 5&& translator.Assignable<Snxxz.UI.SuitType>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5))
- {
- Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType);
- int _equipPlace = LuaAPI.xlua_tointeger(L, 3);
- int _suitLv = LuaAPI.xlua_tointeger(L, 4);
- System.Collections.Generic.List<int> _equipPlacelist;
- int _job = LuaAPI.xlua_tointeger(L, 5);
-
- int gen_ret = gen_to_be_invoked.GetSameSuitCnt( _suitType, _equipPlace, _suitLv, out _equipPlacelist, _job );
- LuaAPI.xlua_pushinteger(L, gen_ret);
- translator.Push(L, _equipPlacelist);
-
-
-
-
- return 2;
- }
- if(gen_param_count == 4&& translator.Assignable<Snxxz.UI.SuitType>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
- {
- Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType);
- int _equipPlace = LuaAPI.xlua_tointeger(L, 3);
- int _suitLv = LuaAPI.xlua_tointeger(L, 4);
- System.Collections.Generic.List<int> _equipPlacelist;
-
- int gen_ret = gen_to_be_invoked.GetSameSuitCnt( _suitType, _equipPlace, _suitLv, out _equipPlacelist );
- LuaAPI.xlua_pushinteger(L, gen_ret);
- translator.Push(L, _equipPlacelist);
-
-
-
-
- return 2;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.PlayerSuitModel.GetSameSuitCnt!");
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetSameSuitCntByType(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType);
-
- int gen_ret = gen_to_be_invoked.GetSameSuitCntByType( _suitType );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetGroupType(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
-
- int gen_ret = gen_to_be_invoked.GetGroupType( _equipPlace );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetEquipPlaceByGroupType(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _groupType = LuaAPI.xlua_tointeger(L, 2);
-
- System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetEquipPlaceByGroupType( _groupType );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetEquipJob(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
-
- int gen_ret = gen_to_be_invoked.GetEquipJob( _itemId );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsUpgradSuitLv(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
- int _suitType = LuaAPI.xlua_tointeger(L, 3);
- int _suitlv = LuaAPI.xlua_tointeger(L, 4);
-
- bool gen_ret = gen_to_be_invoked.IsUpgradSuitLv( _equipPlace, _suitType, _suitlv );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsPerfectGetSuitLv(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
- int _equipPlace = LuaAPI.xlua_tointeger(L, 3);
-
- bool gen_ret = gen_to_be_invoked.IsPerfectGetSuitLv( _itemId, _equipPlace );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetReplaceSuitModel(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
- int _equipPlace = LuaAPI.xlua_tointeger(L, 3);
-
- System.Collections.Generic.Dictionary<Snxxz.UI.SuitType, Snxxz.UI.ReplaceSuit> gen_ret = gen_to_be_invoked.SetReplaceSuitModel( _itemId, _equipPlace );
- translator.Push(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetSuitCellRedPointlist(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.SetSuitCellRedPointlist( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_CheckRedPointCondition(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipPlace;
-
- gen_to_be_invoked.CheckRedPointCondition( out _equipPlace );
- LuaAPI.xlua_pushinteger(L, _equipPlace);
-
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_CheckTypeBtnRedPointCondition(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.CheckTypeBtnRedPointCondition( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_CompareSuitLV(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _startPlace = LuaAPI.xlua_tointeger(L, 2);
- int _endPlace = LuaAPI.xlua_tointeger(L, 3);
-
- int gen_ret = gen_to_be_invoked.CompareSuitLV( _startPlace, _endPlace );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsReachSuitActive(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType);
- System.Collections.Generic.List<int> _partlist = (System.Collections.Generic.List<int>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<int>));
- int _equipPlace;
-
- bool gen_ret = gen_to_be_invoked.IsReachSuitActive( _suitType, _partlist, out _equipPlace );
- LuaAPI.lua_pushboolean(L, gen_ret);
- LuaAPI.xlua_pushinteger(L, _equipPlace);
-
-
-
-
- return 2;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetJumpToModel(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.SuitType _suitType;translator.Get(L, 2, out _suitType);
- int _groupType = LuaAPI.xlua_tointeger(L, 3);
-
- gen_to_be_invoked.SetJumpToModel( _suitType, _groupType );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_ClearJumpModel(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.ClearJumpModel( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetMakerEquipPlace(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- int gen_ret = gen_to_be_invoked.GetMakerEquipPlace( );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsEnoughSuitMat(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _suitTye = LuaAPI.xlua_tointeger(L, 2);
- int _equipPlace = LuaAPI.xlua_tointeger(L, 3);
- int _suitLv = LuaAPI.xlua_tointeger(L, 4);
- int _itemId = LuaAPI.xlua_tointeger(L, 5);
-
- bool gen_ret = gen_to_be_invoked.IsEnoughSuitMat( _suitTye, _equipPlace, _suitLv, _itemId );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_CompareBySuitLv(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _starPlace = LuaAPI.xlua_tointeger(L, 2);
- int _endPlace = LuaAPI.xlua_tointeger(L, 3);
-
- int gen_ret = gen_to_be_invoked.CompareBySuitLv( _starPlace, _endPlace );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_suitPartlist(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.suitPartlist);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_activateAttrDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.activateAttrDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_suitCellRedPointDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.suitCellRedPointDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jumpToSuitType(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.jumpToSuitType);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jumpToGroupType(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.jumpToGroupType);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jumpToEquipPlace(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.jumpToEquipPlace);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_suitModelDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.suitModelDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_typeBtnRedPoint(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.typeBtnRedPoint);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _s_set_suitModelDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- gen_to_be_invoked.suitModelDict = (System.Collections.Generic.Dictionary<int, System.Collections.Generic.Dictionary<int, int>>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, System.Collections.Generic.Dictionary<int, int>>));
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 0;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _s_set_typeBtnRedPoint(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- gen_to_be_invoked.typeBtnRedPoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 0;
- }
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _e_RefreshSuitModelAct(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- int gen_param_count = LuaAPI.lua_gettop(L);
- Snxxz.UI.PlayerSuitModel gen_to_be_invoked = (Snxxz.UI.PlayerSuitModel)translator.FastGetCSObj(L, 1);
- System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
- if (gen_delegate == null) {
- return LuaAPI.luaL_error(L, "#3 need System.Action!");
- }
-
- if (gen_param_count == 3)
- {
-
- if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
- gen_to_be_invoked.RefreshSuitModelAct += gen_delegate;
- return 0;
- }
-
-
- if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
- gen_to_be_invoked.RefreshSuitModelAct -= gen_delegate;
- return 0;
- }
-
- }
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.PlayerSuitModel.RefreshSuitModelAct!");
- return 0;
- }
-
-
-
- }
-}
diff --git a/Lua/Gen/SnxxzUIPlayerSuitModelWrap.cs.meta b/Lua/Gen/SnxxzUIPlayerSuitModelWrap.cs.meta
deleted file mode 100644
index bc71182..0000000
--- a/Lua/Gen/SnxxzUIPlayerSuitModelWrap.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 4d0b82b4667325241b4849e647b8e7a4
-timeCreated: 1550120577
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Lua/Gen/XLuaGenAutoRegister.cs b/Lua/Gen/XLuaGenAutoRegister.cs
deleted file mode 100644
index b00ac9e..0000000
--- a/Lua/Gen/XLuaGenAutoRegister.cs
+++ /dev/null
@@ -1,1611 +0,0 @@
-锘�#if USE_UNI_LUA
-using LuaAPI = UniLua.Lua;
-using RealStatePtr = UniLua.ILuaState;
-using LuaCSFunction = UniLua.CSharpFunctionDelegate;
-#else
-using LuaAPI = XLua.LuaDLL.Lua;
-using RealStatePtr = System.IntPtr;
-using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
-#endif
-
-using System;
-using System.Collections.Generic;
-using System.Reflection;
-
-
-namespace XLua.CSObjectWrap
-{
- public class XLua_Gen_Initer_Register__
- {
-
-
- static void wrapInit0(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- translator.DelayWrapLoader(typeof(UnityEngine.UI.Image), UnityEngineUIImageWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.UI.Text), UnityEngineUITextWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.UI.Button), UnityEngineUIButtonWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DebugEx), DebugExWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ResourcesPath), ResourcesPathWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AssetSource), AssetSourceWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Equation), EquationWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LaunchPostProcess), LaunchPostProcessWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ActorShowConfig), ActorShowConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AlchemyConfig), AlchemyConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AlchemySpecConfig), AlchemySpecConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AllPeoplePartyAwardConfig), AllPeoplePartyAwardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AllPeoplePartyConfig), AllPeoplePartyConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AncientRobotNameConfig), AncientRobotNameConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ApkUpdateUrlConfig), ApkUpdateUrlConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AppointItemConfig), AppointItemConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AreaCameraConfig), AreaCameraConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AttrFruitConfig), AttrFruitConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AudioConfig), AudioConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(BossHomeConfig), BossHomeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(BossInfoConfig), BossInfoConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(BossRebornConfig), BossRebornConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CTGConfig), CTGConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ChatBubbleBoxConfig), ChatBubbleBoxConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ChestsAwardConfig), ChestsAwardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ChestsConfig), ChestsConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ContactConfig), ContactConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ContinueSignInConfig), ContinueSignInConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CreateRoleConfig), CreateRoleConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CrossRealmPKDanAwardConfig), CrossRealmPKDanAwardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CrossRealmPKOrderAwardConfig), CrossRealmPKOrderAwardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CrossServerArenaConfig), CrossServerArenaConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CrossServerBossConfig), CrossServerBossConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CrossServerOneVsOneRobotConfig), CrossServerOneVsOneRobotConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DailyLivenessRewardConfig), DailyLivenessRewardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DailyQuestConfig), DailyQuestConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DailyQuestMixServerStateTimeConfig), DailyQuestMixServerStateTimeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DailyQuestOpenTimeConfig), DailyQuestOpenTimeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DailyQuestSpecialOpenTimeConfig), DailyQuestSpecialOpenTimeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DamageNumConfig), DamageNumConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DemonJarConfig), DemonJarConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DemonRecommondPropertyConfig), DemonRecommondPropertyConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DialogConfig), DialogConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DienstgradConfig), DienstgradConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DirtyNameConfig), DirtyNameConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DirtyWordConfig), DirtyWordConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DogzConfig), DogzConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DogzDungeonConfig), DogzDungeonConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DogzEquipPlusConfig), DogzEquipPlusConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DungeonConfig), DungeonConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DungeonHelpBattleConfig), DungeonHelpBattleConfigWrap.__Register);
-
- }
-
- static void wrapInit1(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- translator.DelayWrapLoader(typeof(DungeonHintConfig), DungeonHintConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DungeonInspireConfig), DungeonInspireConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DungeonMixServerStateTimeConfig), DungeonMixServerStateTimeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DungeonOpenTimeConfig), DungeonOpenTimeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DungeonSpecialStateTimeConfig), DungeonSpecialStateTimeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DungeonStateTimeConfig), DungeonStateTimeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EffectConfig), EffectConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ElderGodAreaConfig), ElderGodAreaConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipControlConfig), EquipControlConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipDeComposeConfig), EquipDeComposeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipGSParamConfig), EquipGSParamConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipPlaceMapConfig), EquipPlaceMapConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipStarConfig), EquipStarConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipSuitAttrConfig), EquipSuitAttrConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipSuitCompoundConfig), EquipSuitCompoundConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipSuitConfig), EquipSuitConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipWashConfig), EquipWashConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipWashSpecConfig), EquipWashSpecConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FaceConfig), FaceConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FairyGrabBossConfig), FairyGrabBossConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FamilyConfig), FamilyConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FamilyTechConfig), FamilyTechConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FashionDressCabinetConfig), FashionDressCabinetConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FashionDressConfig), FashionDressConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FestivalRedpackTaskConfig), FestivalRedpackTaskConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FightPowerParamConfig), FightPowerParamConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FreeGoodsConfig), FreeGoodsConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FuncConfigConfig), FuncConfigConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FuncOpenLVConfig), FuncOpenLVConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FuncSwitchConfig), FuncSwitchConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FunctionForecastConfig), FunctionForecastConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GatherSoulComposeConfig), GatherSoulComposeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GatherSoulConfig), GatherSoulConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GatherSoulPropertyConfig), GatherSoulPropertyConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GemItemConfig), GemItemConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GetItemWaysConfig), GetItemWaysConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GmCmdConfig), GmCmdConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GodWeaponConfig), GodWeaponConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GodWeaponEffectConfig), GodWeaponEffectConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GuardConfig), GuardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GuideConfig), GuideConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(HelpInfoConfig), HelpInfoConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(HolidayHomingConfig), HolidayHomingConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(HolidayHomingPointConfig), HolidayHomingPointConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(HorseConfig), HorseConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(HorseUpConfig), HorseUpConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(IceLodeStarAwardConfig), IceLodeStarAwardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(IconConfig), IconConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(InSevenDaysConfig), InSevenDaysConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(InvestConfig), InvestConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ItemCompoundConfig), ItemCompoundConfigWrap.__Register);
-
- }
-
- static void wrapInit2(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- translator.DelayWrapLoader(typeof(ItemConfig), ItemConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ItemPlusConfig), ItemPlusConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ItemPlusMaxConfig), ItemPlusMaxConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ItemPlusSumAttrConfig), ItemPlusSumAttrConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(JadeDynastyBossConfig), JadeDynastyBossConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(JadeDynastyStoneAttrConfig), JadeDynastyStoneAttrConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(JadeDynastySuitAttrConfig), JadeDynastySuitAttrConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(JadeDynastyTowerConfig), JadeDynastyTowerConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(JobNameConfig), JobNameConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(JobSetupConfig), JobSetupConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(KickOutReasonConfig), KickOutReasonConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(KingTreasureConfig), KingTreasureConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(KingTreasureItemConfig), KingTreasureItemConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LVAawrdConfig), LVAawrdConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LanguageConfig), LanguageConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LoadingBackGroundConfig), LoadingBackGroundConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LoadingFunctionConfig), LoadingFunctionConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LoadingTipConfig), LoadingTipConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LoginAdConfig), LoginAdConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LoginRewardConfig), LoginRewardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LoginSeverListConfig), LoginSeverListConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MailConfig), MailConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MapConfig), MapConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MapEventPointConfig), MapEventPointConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MapResourcesConfig), MapResourcesConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MapUiControlConfig), MapUiControlConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MarketConfig), MarketConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MarketQueryConfig), MarketQueryConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ModelResConfig), ModelResConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MonsterNameColorConfig), MonsterNameColorConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MonsterRefreshPointConfig), MonsterRefreshPointConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(NPCConfig), NPCConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(NPCDialogueConfig), NPCDialogueConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(NPCDropItemConfig), NPCDropItemConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(NewAllPeoplePartyAwardConfig), NewAllPeoplePartyAwardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(NewAllPeoplePartyConfig), NewAllPeoplePartyConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(NewUniquenessArriveConfig), NewUniquenessArriveConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(OSCBillRankAwardConfig), OSCBillRankAwardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(OSCBillTagAwardConfig), OSCBillTagAwardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(OSRedAchieveConfig), OSRedAchieveConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(OccupationNameConfig), OccupationNameConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(OnlineAwardConfig), OnlineAwardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(OrderInfoConfig), OrderInfoConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PersonalBossConfig), PersonalBossConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PetClassCostConfig), PetClassCostConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PetEatEquipConfig), PetEatEquipConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PetInfoConfig), PetInfoConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PlayerLVConfig), PlayerLVConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PlayerPropertyConfig), PlayerPropertyConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PriorBundleConfig), PriorBundleConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PriorLanguageConfig), PriorLanguageConfigWrap.__Register);
-
- }
-
- static void wrapInit3(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- translator.DelayWrapLoader(typeof(PyTaskConfig), PyTaskConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(QuestionBankConfig), QuestionBankConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RandomNameConfig), RandomNameConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RankListConfig), RankListConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RealmConfig), RealmConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RealmPracticeConfig), RealmPracticeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RedPackConfig), RedPackConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RefineStoveConfig), RefineStoveConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ResourcesBackConfig), ResourcesBackConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RichTextMsgReplaceConfig), RichTextMsgReplaceConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RoleEquipStarsConfig), RoleEquipStarsConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RoleResourceConfig), RoleResourceConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RoleStrongerConfig), RoleStrongerConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RuleConfig), RuleConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RuneComposeConfig), RuneComposeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RuneConfig), RuneConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RuneTowerConfig), RuneTowerConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RuneTowerFloorConfig), RuneTowerFloorConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SceneReplaceConfig), SceneReplaceConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SceneShadowConfig), SceneShadowConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SignInConfig), SignInConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SkillClassifingConfig), SkillClassifingConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SkillConfig), SkillConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SkillFrameAnimationConfig), SkillFrameAnimationConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(StoreConfig), StoreConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(StoryMissionsConfig), StoryMissionsConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SuccessConfig), SuccessConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SuitEffectConfig), SuitEffectConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SysInfoConfig), SysInfoConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TASKINFOConfig), TASKINFOConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TalentConfig), TalentConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TaskListConfig), TaskListConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TaskPowerConfig), TaskPowerConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TeamTargetConfig), TeamTargetConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TreasureConfig), TreasureConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TreasureDungeonConfig), TreasureDungeonConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TreasureFindHostConfig), TreasureFindHostConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TreasurePrivilegeConfig), TreasurePrivilegeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TreasureRefineConfig), TreasureRefineConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TreasureSkillConfig), TreasureSkillConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TreasureUpConfig), TreasureUpConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TrialExchangeConfig), TrialExchangeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TrialRewardsConfig), TrialRewardsConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnionLivenConfig), UnionLivenConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UniquenessArriveConfig), UniquenessArriveConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(VIPAwardConfig), VIPAwardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(VIPKillNPCConfig), VIPKillNPCConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ViewRoleFuncConfig), ViewRoleFuncConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(VipPrivilegeConfig), VipPrivilegeConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(WHYJRewardConfig), WHYJRewardConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(WeatherConfig), WeatherConfigWrap.__Register);
-
- }
-
- static void wrapInit4(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- translator.DelayWrapLoader(typeof(WeekPartyConfig), WeekPartyConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(WeekPartyPointConfig), WeekPartyPointConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(WindowSearchConfig), WindowSearchConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(WingRefineAttrConfig), WingRefineAttrConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(WingRefineExpConfig), WingRefineExpConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(WorldBossConfig), WorldBossConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(XBGetItemConfig), XBGetItemConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(XMZZAchievementConfig), XMZZAchievementConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(bossSkillTipsConfig), bossSkillTipsConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(mapAreaConfig), mapAreaConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(mapbornConfig), mapbornConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(mapnpcConfig), mapnpcConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(maptransportConfig), maptransportConfigWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PlayerStoneData), PlayerStoneDataWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.MarketModel), SnxxzUIMarketModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PlayerDatas), PlayerDatasWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RealmModel), SnxxzUIRealmModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SnxxzGame), SnxxzGameWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GameNetSystem), GameNetSystemWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AssetBundleUtility), AssetBundleUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GameObjectPoolManager), GameObjectPoolManagerWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UILoader), UILoaderWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SDKUtility), SDKUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SFXPlayUtility), SFXPlayUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AnyCountDownUtility), AnyCountDownUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FlyObjectManager), FlyObjectManagerWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SkillHelper), SkillHelperWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(StatusMgr), StatusMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(BossFakeLineUtility), BossFakeLineUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(BattleEffectPlayRule), BattleEffectPlayRuleWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GAMgr), GAMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MapTransferUtility), MapTransferUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PreFightMission), PreFightMissionWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PrepareHandler), PrepareHandlerWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GuideDialogueModel), GuideDialogueModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GuideMessageModel), GuideMessageModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(NewGuideModel), NewGuideModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(StoryHintModel), StoryHintModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LuaBehaviour), LuaBehaviourWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LuaGameNetPackBase), LuaGameNetPackBaseWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LuaGameNetSystem), LuaGameNetSystemWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(object), SystemObjectWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Object), UnityEngineObjectWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Vector2), UnityEngineVector2Wrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Vector3), UnityEngineVector3Wrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Vector4), UnityEngineVector4Wrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Quaternion), UnityEngineQuaternionWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Color), UnityEngineColorWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Ray), UnityEngineRayWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Bounds), UnityEngineBoundsWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Ray2D), UnityEngineRay2DWrap.__Register);
-
- }
-
- static void wrapInit5(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- translator.DelayWrapLoader(typeof(UnityEngine.Time), UnityEngineTimeWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.GameObject), UnityEngineGameObjectWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Component), UnityEngineComponentWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Behaviour), UnityEngineBehaviourWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Transform), UnityEngineTransformWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Resources), UnityEngineResourcesWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.TextAsset), UnityEngineTextAssetWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Keyframe), UnityEngineKeyframeWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.AnimationCurve), UnityEngineAnimationCurveWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.AnimationClip), UnityEngineAnimationClipWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.MonoBehaviour), UnityEngineMonoBehaviourWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.ParticleSystem), UnityEngineParticleSystemWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.SkinnedMeshRenderer), UnityEngineSkinnedMeshRendererWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Renderer), UnityEngineRendererWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.WWW), UnityEngineWWWWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Light), UnityEngineLightWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Mathf), UnityEngineMathfWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(System.Collections.Generic.List<int>), SystemCollectionsGenericList_1_SystemInt32_Wrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnityEngine.Debug), UnityEngineDebugWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ModelUtility), ModelUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LuaWindow), LuaWindowWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LuaWindowUtility), LuaWindowUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.AchievementModel), SnxxzUIAchievementModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ActivityModel), SnxxzUIActivityModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(AssetVersionUtility), AssetVersionUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DownLoadAndDiscompressTask), DownLoadAndDiscompressTaskWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(InGameDownLoad), InGameDownLoadWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.BetterEquipGetModel), SnxxzUIBetterEquipGetModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ItemUseModel), SnxxzUIItemUseModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.PreciousItemGetModel), SnxxzUIPreciousItemGetModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RealmBetterEquipModel), SnxxzUIRealmBetterEquipModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(BlastFurnaceModel), BlastFurnaceModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GetItemPathModel), GetItemPathModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.PrayForDurgModel), SnxxzUIPrayForDurgModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.BossRebornModel), SnxxzUIBossRebornModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.BossShowModel), SnxxzUIBossShowModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ChatBubbleModel), SnxxzUIChatBubbleModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ChatCenter), SnxxzUIChatCenterWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(VoiceHttpRequest), VoiceHttpRequestWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(VersionUtility), VersionUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ComposeWinModel), ComposeWinModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SelectEquipModel), SelectEquipModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CrossServerUtility), CrossServerUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.CrossServerBossModel), SnxxzUICrossServerBossModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.CrossServerOneVsOneModel), SnxxzUICrossServerOneVsOneModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Item_Class), Item_ClassWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.OpponentInformation), SnxxzUIOpponentInformationWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.DailyQuestActionTimer), SnxxzUIDailyQuestActionTimerWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.DailyQuestModel), SnxxzUIDailyQuestModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ResourcesBackModel), SnxxzUIResourcesBackModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DebugUtility), DebugUtilityWrap.__Register);
-
- }
-
- static void wrapInit6(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.DogzModel), SnxxzUIDogzModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.DogzPackModel), SnxxzUIDogzPackModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.DogzDungeonModel), SnxxzUIDogzDungeonModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.DungeonAssistModel), SnxxzUIDungeonAssistModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.Dungeon), SnxxzUIDungeonWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.DungeonLiquidModel), SnxxzUIDungeonLiquidModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.DungeonModel), SnxxzUIDungeonModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(IceLodeStarAwardClass), IceLodeStarAwardClassWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.TrialDungeonModel), SnxxzUITrialDungeonModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FairyBossModel), SnxxzUIFairyBossModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FairyFeastModel), SnxxzUIFairyFeastModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FairyGrabBossModel), SnxxzUIFairyGrabBossModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FairyLeagueModel), SnxxzUIFairyLeagueModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FairyModel), SnxxzUIFairyModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.KingFairyModel), SnxxzUIKingFairyModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UnionTaskModel), UnionTaskModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FairylandCeremonyModel), SnxxzUIFairylandCeremonyModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FakeDungeonUtility), FakeDungeonUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FashionDecomposeModel), SnxxzUIFashionDecomposeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FashionDressModel), SnxxzUIFashionDressModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.BossHomeModel), SnxxzUIBossHomeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.DemonJarModel), SnxxzUIDemonJarModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ElderGodAreaModel), SnxxzUIElderGodAreaModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FindPreciousModel), SnxxzUIFindPreciousModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FindPreciousTimer), SnxxzUIFindPreciousTimerWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.PersonalBossModel), SnxxzUIPersonalBossModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RewardPreviewGroup), SnxxzUIRewardPreviewGroupWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.WorldBossModel), SnxxzUIWorldBossModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FriendsModel), FriendsModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GMCmdModel), GMCmdModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.GatherSoulComposeModel), SnxxzUIGatherSoulComposeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.GatherSoulDungeonModel), SnxxzUIGatherSoulDungeonModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.GatheringSoulModel), SnxxzUIGatheringSoulModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.VirtualPackModel), SnxxzUIVirtualPackModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.GuardModel), SnxxzUIGuardModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.HappyXBModel), SnxxzUIHappyXBModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.HeavenBattleInfo), SnxxzUIHeavenBattleInfoWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(HeavenBattleModel), HeavenBattleModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(HttpRequest), HttpRequestWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastyBossModel), SnxxzUIJadeDynastyBossModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastyDecomposeModel), SnxxzUIJadeDynastyDecomposeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastyEquipModel), SnxxzUIJadeDynastyEquipModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastyGemModel), SnxxzUIJadeDynastyGemModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastySkillModel), SnxxzUIJadeDynastySkillModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastyTowerModel), SnxxzUIJadeDynastyTowerModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FBHelpPointExchageModel), SnxxzUIFBHelpPointExchageModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.KnapsackTimeCDMgr), SnxxzUIKnapsackTimeCDMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.BoxGetItemModel), SnxxzUIBoxGetItemModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ItemLogicUtility), SnxxzUIItemLogicUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ItemOperateUtility), SnxxzUIItemOperateUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ItemOverdueModel), SnxxzUIItemOverdueModelWrap.__Register);
-
- }
-
- static void wrapInit7(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ItemTipsModel), SnxxzUIItemTipsModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.PackModel), SnxxzUIPackModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.TreasureEffectModel), SnxxzUITreasureEffectModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.BatchUseModel), SnxxzUIBatchUseModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.KingTreasureShowModel), SnxxzUIKingTreasureShowModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(KnapSackEventMgr), KnapSackEventMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.CrossServerLogin), SnxxzUICrossServerLoginWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.LoginModel), SnxxzUILoginModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ServerListCenter), ServerListCenterWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.LoginAdModel), SnxxzUILoginAdModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CapacityDelayModel), CapacityDelayModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CoinTaskTipModel), CoinTaskTipModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FeatureNoticeModel), FeatureNoticeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.MainRedDot), SnxxzUIMainRedDotWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.OffLineOnHookModel), SnxxzUIOffLineOnHookModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.PKModel), SnxxzUIPKModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.StoryMissionsModel), SnxxzUIStoryMissionsModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.TaskAllocation), SnxxzUITaskAllocationWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.TipPanel), SnxxzUITipPanelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PutawayData), PutawayDataWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.BattleHint), SnxxzUIBattleHintWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.GMNotify), SnxxzUIGMNotifyWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SysNotifyMgr), SysNotifyMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(HorseClass), HorseClassWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FunctionalGuideCenter), SnxxzUIFunctionalGuideCenterWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.NewBieCenter), SnxxzUINewBieCenterWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.NewYearFairylandCeremonyModel), SnxxzUINewYearFairylandCeremonyModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.OffLineTimeLackModel), SnxxzUIOffLineTimeLackModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.AccumulateRechargeModel), SnxxzUIAccumulateRechargeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FestivalRedpackModel), SnxxzUIFestivalRedpackModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FlashRushToBuyModel), SnxxzUIFlashRushToBuyModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FlashSaleModel), SnxxzUIFlashSaleModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ImpactRankModel), SnxxzUIImpactRankModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.OpenServerActivityCenter), SnxxzUIOpenServerActivityCenterWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(InSevenDayModel), InSevenDayModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LoginRewardModel), LoginRewardModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.LuckyTreasureModel), SnxxzUILuckyTreasureModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.MonthlyInvestmentModel), SnxxzUIMonthlyInvestmentModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.MysticalPurchaseModel), SnxxzUIMysticalPurchaseModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.OSGiftModel), SnxxzUIOSGiftModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.OSRedEnvelopeModel), SnxxzUIOSRedEnvelopeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.OpenServerActivityNotifyModel), SnxxzUIOpenServerActivityNotifyModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ActionTypeClass), ActionTypeClassWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RedEnvelopeModel), SnxxzUIRedEnvelopeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SpringFestivalModel), SpringFestivalModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.WishingPoolModel), SnxxzUIWishingPoolModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PetBackpack), PetBackpackWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PetReinforceModel), PetReinforceModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RidingAndPetActivationModel), SnxxzUIRidingAndPetActivationModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PlayerDeadModel), PlayerDeadModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RankModel), SnxxzUIRankModelWrap.__Register);
-
- }
-
- static void wrapInit8(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- translator.DelayWrapLoader(typeof(RealmPracticeModel), RealmPracticeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.Redpoint), SnxxzUIRedpointWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RedpointCenter), SnxxzUIRedpointCenterWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.MagicianModel), SnxxzUIMagicianModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RoleModel), SnxxzUIRoleModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RolePointModel), SnxxzUIRolePointModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.TitleModel), SnxxzUITitleModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RoleParticularModel), SnxxzUIRoleParticularModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RolePromoteModel), SnxxzUIRolePromoteModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RuneComposeModel), SnxxzUIRuneComposeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RuneModel), SnxxzUIRuneModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.RuneTowerModel), SnxxzUIRuneTowerModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(QuickSetting), QuickSettingWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.SkillModel), SnxxzUISkillModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.TalentModel), SnxxzUITalentModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(CoroutineMgr), CoroutineMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(BuyItemPopModel), BuyItemPopModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.BuySuccessModel), SnxxzUIBuySuccessModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(StoreModel), StoreModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipReinforceModel), EquipReinforceModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.PlayerSuitModel), SnxxzUIPlayerSuitModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EquipWashModel), EquipWashModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.GemModel), SnxxzUIGemModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GodBeastModel), GodBeastModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(HowToPlayModel), HowToPlayModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(WashProModel), WashProModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.WingsRedDotModel), SnxxzUIWingsRedDotModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ActivitiesPushModel), SnxxzUIActivitiesPushModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ChatSetting), ChatSettingWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FuncSwitchModel), SnxxzUIFuncSwitchModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(HangUpSetModel), HangUpSetModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PrivateRemind), PrivateRemindWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.SetPrivateModel), SnxxzUISetPrivateModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SettingEffectMgr), SettingEffectMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SettingMgr), SettingMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(SystemSetting), SystemSettingWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TaiChiModel), TaiChiModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.GroupDungeonChallengeProcessor), SnxxzUIGroupDungeonChallengeProcessorWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.TeamModel), SnxxzUITeamModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(PwdKeyboard), PwdKeyboardWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.TreasureModel), SnxxzUITreasureModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.TreasureSoulModel), SnxxzUITreasureSoulModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.TreasureFindHostModel), SnxxzUITreasureFindHostModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FairyJadeInvestmentModel), FairyJadeInvestmentModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FirstTimeRechargeModel), SnxxzUIFirstTimeRechargeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LimitedTimePackageItemClassModel), LimitedTimePackageItemClassModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(NeedForWhiteModel), NeedForWhiteModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.OSTimeLimitGiftModel), SnxxzUIOSTimeLimitGiftModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.VipInvestModel), SnxxzUIVipInvestModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.WheelOfFortuneModel), SnxxzUIWheelOfFortuneModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.VipModel), SnxxzUIVipModelWrap.__Register);
-
- }
-
- static void wrapInit9(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- translator.DelayWrapLoader(typeof(SpeechTranslate), SpeechTranslateWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.AwardExchangeModel), SnxxzUIAwardExchangeModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ConsumeRebateModel), SnxxzUIConsumeRebateModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.LevelGiftModel), SnxxzUILevelGiftModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.MultipleExpModel), SnxxzUIMultipleExpModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.MultipleRealmPointModel), SnxxzUIMultipleRealmPointModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.OperationTimeHepler), SnxxzUIOperationTimeHeplerWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.PrayerModel), SnxxzUIPrayerModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.SignInModel), SnxxzUISignInModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.WelfareCenter), SnxxzUIWelfareCenterWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ModelCenter), SnxxzUIModelCenterWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.WindowCenter), SnxxzUIWindowCenterWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(WindowJumpMgr), WindowJumpMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.MapModel), SnxxzUIMapModelWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(WorldMapSkip), WorldMapSkipWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.FunctionButton), SnxxzUIFunctionButtonWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.ItemBehaviour), SnxxzUIItemBehaviourWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TimeDownMgr), TimeDownMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(Snxxz.UI.UI3DModelExhibition), SnxxzUIUI3DModelExhibitionWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ButtonEx), ButtonExWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(EffectMgr), EffectMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TimeMgr), TimeMgrWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UIEffect), UIEffectWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(ComponentExtersion), ComponentExtersionWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(DeviceUtility), DeviceUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(FileExtersion), FileExtersionWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GMCommand), GMCommandWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(GlobalTimeEvent), GlobalTimeEventWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LanguageVerify), LanguageVerifyWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(LayerUtility), LayerUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(MaterialUtility), MaterialUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(OperationLogCollect), OperationLogCollectWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(RunTimeExceptionUtility), RunTimeExceptionUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TimeUtility), TimeUtilityWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(TransformExtension), TransformExtensionWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UIHelper), UIHelperWrap.__Register);
-
-
- translator.DelayWrapLoader(typeof(UIUtility), UIUtilityWrap.__Register);
-
-
-
- }
-
- static void Init(LuaEnv luaenv, ObjectTranslator translator)
- {
-
- wrapInit0(luaenv, translator);
-
- wrapInit1(luaenv, translator);
-
- wrapInit2(luaenv, translator);
-
- wrapInit3(luaenv, translator);
-
- wrapInit4(luaenv, translator);
-
- wrapInit5(luaenv, translator);
-
- wrapInit6(luaenv, translator);
-
- wrapInit7(luaenv, translator);
-
- wrapInit8(luaenv, translator);
-
- wrapInit9(luaenv, translator);
-
-
- translator.AddInterfaceBridgeCreator(typeof(System.Collections.IEnumerator), SystemCollectionsIEnumeratorBridge.__Create);
-
- }
-
- static XLua_Gen_Initer_Register__()
- {
- XLua.LuaEnv.AddIniter(Init);
- }
-
-
- }
-
-}
-namespace XLua
-{
- public partial class ObjectTranslator
- {
- static XLua.CSObjectWrap.XLua_Gen_Initer_Register__ s_gen_reg_dumb_obj = new XLua.CSObjectWrap.XLua_Gen_Initer_Register__();
- static XLua.CSObjectWrap.XLua_Gen_Initer_Register__ gen_reg_dumb_obj {get{return s_gen_reg_dumb_obj;}}
- }
-
- internal partial class InternalGlobals
- {
-
- static InternalGlobals()
- {
- extensionMethodMap = new Dictionary<Type, IEnumerable<MethodInfo>>()
- {
-
- };
-
- genTryArrayGetPtr = StaticLuaCallbacks.__tryArrayGet;
- genTryArraySetPtr = StaticLuaCallbacks.__tryArraySet;
- }
- }
-}
diff --git a/Lua/Gen/XLuaGenAutoRegister.cs.meta b/Lua/Gen/XLuaGenAutoRegister.cs.meta
deleted file mode 100644
index e5a70fe..0000000
--- a/Lua/Gen/XLuaGenAutoRegister.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: ff2dde43802d1d14795873c131842a1e
-timeCreated: 1551671694
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/System/Achievement/AchievementGotoPart3.cs b/System/Achievement/AchievementGotoPart3.cs
index e284d57..23ea0cd 100644
--- a/System/Achievement/AchievementGotoPart3.cs
+++ b/System/Achievement/AchievementGotoPart3.cs
@@ -59,15 +59,7 @@
public static void Goto3092(int _achievementId, SuccessConfig config)
{
if (config == null) return;
-
guideAchievementId = _achievementId;
- PlayerSuitModel suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>();
- int[] conditions = config.Condition;
- if(conditions != null && conditions.Length > 1)
- {
- suitModel.SetJumpToModel((SuitType)conditions[1],conditions[2]);
- }
-
}
public static void Goto3094(int _achievementId, SuccessConfig config)
diff --git a/System/Chat/ChatCtrl.cs b/System/Chat/ChatCtrl.cs
index 2ca76ec..1fe10f2 100644
--- a/System/Chat/ChatCtrl.cs
+++ b/System/Chat/ChatCtrl.cs
@@ -875,24 +875,7 @@
_textBuilder.Append(",");
}
}
- _textBuilder.Append("|");
- var _dictSuitLv = ModelCenter.Instance.GetModel<PlayerSuitModel>().GetServerSuitModelByPlace(itemPlaceList[i].itemPlace);
- if (_dictSuitLv != null && equip)
- {
- foreach (int key in _dictSuitLv.Keys)
- {
- _textBuilder.Append(StringUtility.Contact("'", key, "_", _dictSuitLv[key]));
- }
- }
- _textBuilder.Append("|");
- var _dictSuitCnt = ModelCenter.Instance.GetModel<PlayerSuitModel>().GetServerSuitCntByPlace(itemPlaceList[i].itemPlace);
- if (_dictSuitCnt != null && equip)
- {
- foreach (int key in _dictSuitCnt.Keys)
- {
- _textBuilder.Append(StringUtility.Contact("'", key, "_", _dictSuitCnt[(SuitType)key]));
- }
- }
+
_textBuilder.Append("|");
_textBuilder.Append(itemPlaceList[i].itemPlace);
_textBuilder.Append("|");
diff --git a/System/KnapSack/Logic/EquipTip.cs b/System/KnapSack/Logic/EquipTip.cs
index dd1da39..f071248 100644
--- a/System/KnapSack/Logic/EquipTip.cs
+++ b/System/KnapSack/Logic/EquipTip.cs
@@ -146,7 +146,6 @@
public void InitModel(ItemAttrData attrData)
{
curAttrTypeNum = 0;
- suirAttrCtrl.OnRefreshCell += RefreshSuitProCell;
KnapsackTimeCDMgr.Instance.RefreshItemOverdueTimeAct += RefreshRemainTime;
itemAttrData = attrData;
InitUI();
@@ -174,7 +173,6 @@
yield return null;
bottomPart.gameObject.SetActive(true);
SetBottomUI();
- SetSuitAttrUI();
StartCoroutine(SetPanelScale());
}
@@ -236,7 +234,6 @@
SetLegendAttrUI();
SetWashAttrUI();
SetGemAttrUI();
- SetSuitAttrUI();
for (int i = 0; i < attrCutLinelist.Count; i++)
{
if (i == curAttrTypeNum - 1)
@@ -355,7 +352,6 @@
private void OnDisable()
{
- suirAttrCtrl.OnRefreshCell -= RefreshSuitProCell;
KnapsackTimeCDMgr.Instance.RefreshItemOverdueTimeAct -= RefreshRemainTime;
}
@@ -678,184 +674,9 @@
}
}
- private void SetSuitAttrUI()
- {
- if(itemAttrData.suitAttrDataDict == null || itemAttrData.suitAttrDataDict.Count < 1)
- {
- suitAttr.SetActive(false);
- return;
- }
-
- switch (itemAttrData.itemConfig.EquipPlace)
- {
- case 101:
- case 102:
- case 103:
- case 104:
- case 105:
- suitAttr.SetActive(false);
- return;
- }
- curAttrTypeNum = 6;
- suitAttr.SetActive(true);
- CreateSuitProCell();
-
- }
-
private int length1 = 0;
private int length2 = 0;
private int length3 = 0;
-
- private void CreateSuitProCell()
- {
- suirAttrCtrl.Refresh();
- foreach(var type in itemAttrData.suitAttrDataDict.Keys)
- {
- int suitCnt = itemAttrData.GetSuitCntByType(type);
-
- ItemSuitAttrData suitAttrData = itemAttrData.suitAttrDataDict[type];
- length1 = suitAttrData.firstSuitAttrs.Length;
- CellInfo info = new CellInfo()
- {
- infoInt1 = (int)type,
- };
- if (suitCnt > 0)
- {
- suirAttrCtrl.AddCell(ScrollerDataType.Header, (int)type);
- for (int i = 0; i < length1;i++)
- {
- if (i == 0)
- {
- suirAttrCtrl.AddCell(ScrollerDataType.Normal, i,null,info);
- }
- else
- {
- suirAttrCtrl.AddCell(ScrollerDataType.Tail, i,null,info);
- }
- }
- length2 = length1 + suitAttrData.secondSuitAttrs.Length;
- for (int i = length1; i < length2; i++)
- {
- if (i == length1)
- {
- suirAttrCtrl.AddCell(ScrollerDataType.Normal, i, null, info);
- }
- else
- {
- suirAttrCtrl.AddCell(ScrollerDataType.Tail, i, null, info);
- }
- }
- length3 = length2 + suitAttrData.thirdSuitAttrs.Length;
- for (int i = length2; i < length3; i++)
- {
- if (i == length2)
- {
- suirAttrCtrl.AddCell(ScrollerDataType.Normal, i, null, info);
- }
- else
- {
- suirAttrCtrl.AddCell(ScrollerDataType.Tail, i, null, info);
- }
- }
- }
-
- }
-
- suirAttrCtrl.Restart();
- }
-
- private void RefreshSuitProCell(ScrollerDataType type, CellView cell)
- {
- ItemSuitAttrData suitAttrData = default(ItemSuitAttrData);
- switch (type)
- {
- case ScrollerDataType.Header:
- Text titleName = cell.transform.Find("TitleTextCell").GetComponent<Text>();
- suitAttrData = itemAttrData.suitAttrDataDict[(SuitType)cell.index];
- titleName.text = StringUtility.Contact(suitAttrData.suitAttrConfig.name, "(", itemAttrData.GetSuitCntByType((SuitType)cell.index), "/", suitAttrData.suitAttrConfig.count3, ")");
- break;
- case ScrollerDataType.Normal:
- case ScrollerDataType.Tail:
- Text curNum = cell.transform.Find("FirstSuitATT").GetComponent<Text>();
- Text curPro = cell.transform.Find("ATTTxt").GetComponent<Text>();
- suitAttrData = itemAttrData.suitAttrDataDict[(SuitType)cell.info.Value.infoInt1];
- if (cell.index == 0)
- {
- curNum.text = Language.Get("EquipSuit111", suitAttrData.suitAttrConfig.count1.ToString());
- curNum.gameObject.SetActive(true);
- }
- else if (cell.index == length1)
- {
- curNum.text = Language.Get("EquipSuit111", suitAttrData.suitAttrConfig.count2.ToString());
- curNum.gameObject.SetActive(true);
- }
- else if (cell.index == length2)
- {
- curNum.text = Language.Get("EquipSuit111", suitAttrData.suitAttrConfig.count3.ToString());
- curNum.gameObject.SetActive(true);
- }
- else
- {
- curNum.gameObject.SetActive(false);
- }
-
- PlayerPropertyConfig playerProModel = null;
- if (cell.index < length1)
- {
- playerProModel = PlayerPropertyConfig.Get(suitAttrData.firstSuitAttrs[cell.index]);
- if (playerProModel.Name.Contains("%s"))
- {
- curPro.text = playerProModel.Name.Replace("%s", itemTipsModel.GetProValueTypeStr(playerProModel, suitAttrData.firstSuitAttrValues[cell.index]));
- }
- else
- {
- curPro.text = StringUtility.Contact(playerProModel.Name, "+", itemTipsModel.GetProValueTypeStr(playerProModel, suitAttrData.firstSuitAttrValues[cell.index]));
- }
- ChangeSuitAttrColor(curNum,curPro,itemAttrData.GetSuitCntByType((SuitType)cell.info.Value.infoInt1), suitAttrData.suitAttrConfig.count1);
- }
- else if (cell.index >= length1 && cell.index < length2)
- {
- playerProModel = PlayerPropertyConfig.Get(suitAttrData.secondSuitAttrs[cell.index - length1]);
- if (playerProModel.Name.Contains("%s"))
- {
- curPro.text = playerProModel.Name.Replace("%s", itemTipsModel.GetProValueTypeStr(playerProModel, suitAttrData.secondSuitAttrValues[cell.index - length1]));
- }
- else
- {
- curPro.text = StringUtility.Contact(playerProModel.Name, "+", itemTipsModel.GetProValueTypeStr(playerProModel, suitAttrData.secondSuitAttrValues[cell.index - length1]));
- }
- ChangeSuitAttrColor(curNum, curPro, itemAttrData.GetSuitCntByType((SuitType)cell.info.Value.infoInt1), suitAttrData.suitAttrConfig.count2);
- }
- else if (cell.index >= length2 && cell.index < length3)
- {
- playerProModel = PlayerPropertyConfig.Get(suitAttrData.thirdSuitAttrs[cell.index - length2]);
- if (playerProModel.Name.Contains("%s"))
- {
- curPro.text = playerProModel.Name.Replace("%s", itemTipsModel.GetProValueTypeStr(playerProModel, suitAttrData.thirdSuitAttrValues[cell.index - length2]));
- }
- else
- {
- curPro.text = StringUtility.Contact(playerProModel.Name, "+", itemTipsModel.GetProValueTypeStr(playerProModel, suitAttrData.thirdSuitAttrValues[cell.index - length2]));
- }
- ChangeSuitAttrColor(curNum, curPro, itemAttrData.GetSuitCntByType((SuitType)cell.info.Value.infoInt1), suitAttrData.suitAttrConfig.count3);
- }
- break;
- }
- }
-
- private void ChangeSuitAttrColor(Text num,Text attr,int suitCnt,int needCnt)
- {
- if(suitCnt >= needCnt)
- {
- num.text = StringUtility.Contact("<color=#35e122>", num.text, "</color>");
- attr.text = StringUtility.Contact("<color=#35e122>", attr.text, "</color>");
- }
- else
- {
- num.text = StringUtility.Contact("<color=#9e8f73>", num.text, "</color>");
- attr.text = StringUtility.Contact("<color=#9e8f73>", attr.text, "</color>");
- }
- }
private void SetMidUIHeight(float midHeight)
{
diff --git a/System/KnapSack/Logic/ItemOperateUtility.cs b/System/KnapSack/Logic/ItemOperateUtility.cs
index 34e8a8c..da9da18 100644
--- a/System/KnapSack/Logic/ItemOperateUtility.cs
+++ b/System/KnapSack/Logic/ItemOperateUtility.cs
@@ -17,7 +17,6 @@
BuffModel Buffmodel { get { return ModelCenter.Instance.GetModel<BuffModel>(); } }
FairyModel fairyModel { get { return ModelCenter.Instance.GetModel<FairyModel>(); } }
BoxGetItemModel BoxModel { get { return ModelCenter.Instance.GetModel<BoxGetItemModel>(); } }
- PlayerSuitModel suitModel { get { return ModelCenter.Instance.GetModel<PlayerSuitModel>(); } }
DogzModel dogzModel { get { return ModelCenter.Instance.GetModel<DogzModel>(); } }
#region 瑁呭
@@ -118,76 +117,6 @@
return true;
}
- public void CheckSuitReplaceInfo(int equipPlace, ItemModel item)
- {
- if (item == null)
- {
- return;
- }
-
- var replaceDic = suitModel.SetReplaceSuitModel(item.itemId, equipPlace);
- var replaceTip = string.Empty;
- var isReplace = false;
- var equipPlaceName = UIHelper.GetEquipPlaceName(equipPlace);
- var lowSuitResult = replaceDic[SuitType.LowSuit];
- var highSuitResult = replaceDic[SuitType.HighSuit];
-
- if (lowSuitResult.isNoEffect && !highSuitResult.isNoEffect)
- {
- replaceTip = Language.Get("ReplaceSuitPrompt102", equipPlaceName, Language.Get("EquipSuitNormal2"));
- isReplace = true;
- }
- else if (lowSuitResult.isPerfect && highSuitResult.isNoEffect)
- {
- replaceTip = Language.Get("ReplaceSuitPrompt102", equipPlaceName, Language.Get("EquipSuitHigh"));
- isReplace = true;
- return;
- }
- else if (lowSuitResult.isNoEffect && highSuitResult.isNoEffect)
- {
- replaceTip = Language.Get("ReplaceSuitPrompt104", equipPlaceName);
- isReplace = true;
- }
- else if (lowSuitResult.effectLv > 0 && highSuitResult.effectLv <= 0
- && !highSuitResult.isNoEffect)
- {
- replaceTip = Language.Get("ReplaceSuitPrompt101", equipPlaceName, Language.Get("EquipSuitNormal2"), lowSuitResult.effectLv);
- isReplace = true;
- }
- else if (highSuitResult.effectLv > 0 && lowSuitResult.effectLv <= 0)
- {
- replaceTip = Language.Get("ReplaceSuitPrompt101", equipPlaceName, Language.Get("EquipSuitHigh"), lowSuitResult.effectLv);
- isReplace = true;
- }
- else if (highSuitResult.isNoEffect && lowSuitResult.effectLv > 0)
- {
- replaceTip = Language.Get("ReplaceSuitPrompt103", equipPlaceName, lowSuitResult.effectLv);
- isReplace = true;
- }
- else if (lowSuitResult.effectLv > 0 && highSuitResult.effectLv > 0)
- {
- replaceTip = Language.Get("ReplaceSuitPrompt105", equipPlaceName, highSuitResult.effectLv, lowSuitResult.effectLv);
- isReplace = true;
- }
-
- if (isReplace)
- {
- ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), replaceTip,
- (bool ok) =>
- {
- if (ok)
- {
- PutOnEquip(equipPlace, item.guid);
- }
- }
- );
- }
- else
- {
- PutOnEquip(equipPlace, item.guid);
- }
- }
-
void PutOnEquip(int equipPlace, string guid)
{
var clientPlaceInfo = EquipSet.ServerPlaceToClientPlace(equipPlace);
@@ -261,11 +190,6 @@
break;
}
}
- }
-
- if (suitModel.IsPerfectGetSuitLv(item.itemId, equipPlace))
- {
- SysNotifyMgr.Instance.ShowTip("SwitchEquip_SuitPanel");
}
var washPro = equipWashModel.GetWashEquipInfo(equipPlace);
diff --git a/System/KnapSack/Logic/ItemTipsModel.cs b/System/KnapSack/Logic/ItemTipsModel.cs
index 9a4b890..2e374f0 100644
--- a/System/KnapSack/Logic/ItemTipsModel.cs
+++ b/System/KnapSack/Logic/ItemTipsModel.cs
@@ -2526,15 +2526,11 @@
public Dictionary<int, int> wingsRefineMatDict { get; private set; }
public Dictionary<ItemOperateType, Action<ItemOperateType, string>> tipsFuncBtnDic { get; private set; }
- public Dictionary<SuitType, ItemSuitAttrData> suitAttrDataDict { get; private set; }
- public Dictionary<SuitType, int> suitTypeCntDict { get; private set; }
-
public bool isHavePutLimit { get; private set; }
StrengthenModel strengthengmodel { get { return ModelCenter.Instance.GetModel<StrengthenModel>(); } }
EquipWashModel washModel { get { return ModelCenter.Instance.GetModel<EquipWashModel>(); } }
ItemTipsModel itemTipsModel { get { return ModelCenter.Instance.GetModel<ItemTipsModel>(); } }
- PlayerSuitModel SuitModel { get { return ModelCenter.Instance.GetModel<PlayerSuitModel>(); } }
RuneModel runeModel { get { return ModelCenter.Instance.GetModel<RuneModel>(); } }
GodBeastModel beastModel { get { return ModelCenter.Instance.GetModel<GodBeastModel>(); } }
@@ -2645,7 +2641,6 @@
{
SetWashModel(washModel.OnGetWashType(index), washPro.XLAttrLV, washModel.WashProValues(index));
}
- SetSuitData(itemId, index);
}
switch (type)
@@ -2972,98 +2967,7 @@
this.stones = stones;
}
- /// <summary>
- /// 璁剧疆濂楄鏁版嵁
- /// </summary>
- /// <param name="suitType"></param>
- public void SetSuitData(int itemId, int equipPlace)
- {
- suitAttrDataDict = null;
- suitTypeCntDict = null;
-
-
- Dictionary<int, int> suitTypeDict = SuitModel.GetServerSuitModelByPlace(index);
- if (suitTypeDict == null) return;
-
- suitAttrDataDict = new Dictionary<SuitType, ItemSuitAttrData>();
- suitTypeCntDict = new Dictionary<SuitType, int>();
- int groupType = SuitModel.GetGroupType(index);
- int equipJob = SuitModel.GetEquipJob(itemId);
- foreach (var type in suitTypeDict.Keys)
- {
- bool isMaker = SuitModel.IsMakerSuit((SuitType)type, itemConfig.ItemColor, itemConfig.StarLevel);
-
- if (suitTypeDict[type] > 0 && isMaker)
- {
-
- List<int> placelist = null;
- int suitCnt = 0;
- ItemSuitAttrData suitAttrData = default(ItemSuitAttrData);
- if (this.itemConfig.LV < suitTypeDict[type])
- {
- suitAttrData = new ItemSuitAttrData(groupType, type, this.itemConfig.LV, equipJob);
- suitCnt = SuitModel.GetSameSuitCnt((SuitType)type, equipPlace, this.itemConfig.LV, out placelist, equipJob);
- }
- else
- {
- suitAttrData = new ItemSuitAttrData(groupType, type, suitTypeDict[type], equipJob);
- suitCnt = SuitModel.GetSameSuitCnt((SuitType)type, equipPlace, suitTypeDict[type], out placelist, equipJob);
- }
- suitAttrDataDict.Add((SuitType)type, suitAttrData);
- suitTypeCntDict.Add((SuitType)type, suitCnt);
- }
- }
- }
-
//璁剧疆鍏朵粬鐜╁鐨勫瑁呮暟鎹�
- public void SetOtherSuitData(int itemId, int equipPlace, Dictionary<int, int> suitTypeDict, Dictionary<SuitType, int> suitCntDict)
- {
- this.suitAttrDataDict = null;
- this.suitTypeCntDict = null;
- if (suitTypeDict == null || suitCntDict == null) return;
-
- suitAttrDataDict = new Dictionary<SuitType, ItemSuitAttrData>();
- suitTypeCntDict = new Dictionary<SuitType, int>();
-
- int groupType = SuitModel.GetGroupType(equipPlace);
- int equipJob = SuitModel.GetEquipJob(itemId);
- ItemConfig curConfig = ItemConfig.Get(itemId);
- foreach (var type in suitTypeDict.Keys)
- {
- bool isMaker = SuitModel.IsMakerSuit((SuitType)type, curConfig.ItemColor, curConfig.StarLevel);
-
- if (suitTypeDict[type] > 0 && isMaker)
- {
-
- List<int> placelist = null;
- int suitCnt = 0;
- ItemSuitAttrData suitAttrData = default(ItemSuitAttrData);
- if (curConfig.LV < suitTypeDict[type])
- {
- suitAttrData = new ItemSuitAttrData(groupType, type, curConfig.LV, equipJob);
- suitCnt = SuitModel.GetSameSuitCnt((SuitType)type, equipPlace, curConfig.LV, out placelist, equipJob);
- }
- else
- {
- suitAttrData = new ItemSuitAttrData(groupType, type, suitTypeDict[type], equipJob);
- suitCnt = SuitModel.GetSameSuitCnt((SuitType)type, equipPlace, suitTypeDict[type], out placelist, equipJob);
- }
- suitAttrDataDict.Add((SuitType)type, suitAttrData);
- this.suitTypeCntDict = suitCntDict;
- }
- }
- }
-
- public int GetSuitCntByType(SuitType suitType)
- {
- int cnt = 0;
- if (this.suitTypeCntDict != null)
- {
- this.suitTypeCntDict.TryGetValue(suitType, out cnt);
- }
- return cnt;
- }
-
public bool TryGetItemRemainTime(out double remainTime)
{
ItemCDCool cool = KnapsackTimeCDMgr.Instance.GetItemCoolById(guid);
diff --git a/System/KnapSack/Logic/UnionWarehouseEquipTip.cs b/System/KnapSack/Logic/UnionWarehouseEquipTip.cs
index f757e83..9d4e383 100644
--- a/System/KnapSack/Logic/UnionWarehouseEquipTip.cs
+++ b/System/KnapSack/Logic/UnionWarehouseEquipTip.cs
@@ -190,7 +190,6 @@
SetLegendAttrUI();
SetWashAttrUI();
SetGemAttrUI();
- SetSuitAttrUI();
for (int i = 0; i < attrCutLinelist.Count; i++)
{
if (i == curAttrTypeNum - 1)
@@ -576,16 +575,6 @@
}
}
}
- }
-
- private void SetSuitAttrUI()
- {
- if (itemAttrData.suitAttrDataDict == null)
- {
- suitAttr.SetActive(false);
- return;
- }
- curAttrTypeNum = 6;
}
private void SetMidUIHeight(float midHeight)
diff --git a/System/Message/RichTableEvent.cs b/System/Message/RichTableEvent.cs
index 925593c..eb3f8ba 100644
--- a/System/Message/RichTableEvent.cs
+++ b/System/Message/RichTableEvent.cs
@@ -24,12 +24,6 @@
}
}
- PlayerSuitModel _suitModel;
- PlayerSuitModel suitModel
- {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
-
public RichTableEvent()
{
RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.TABLE, this);
@@ -447,8 +441,6 @@
index = int.Parse(hrefInfo.mSplits["place"]);
}
- equipSuitList.Clear();
- suitCountDict.Clear();
if (hrefInfo.mSplits.ContainsKey("equippartsuite")
&& hrefInfo.mSplits["equippartsuite"] != string.Empty)
{
@@ -460,41 +452,6 @@
catch (Exception e)
{
DebugEx.Log(e.Message);
- }
- if (_json != null)
- {
- foreach (var _key in _json.Keys)
- {
- var _index = int.Parse(_key);
- RoleParticularModel.EquipSuit _suit = new RoleParticularModel.EquipSuit()
- {
- Index = _index,
- suitDict = new Dictionary<int, int>()
- };
- foreach (var _subKey in _json[_key].Keys)
- {
- var _type = int.Parse(_subKey);
- var _val = int.Parse(_json[_key][_subKey].ToJson());
- _suit.Add(_type, _val);
- }
- equipSuitList.Add(_suit);
- }
- for (int i = 0; i < equipSuitList.Count; i++)
- {
- var _suit = equipSuitList[i];
- Dictionary<SuitType, int> _dict = new Dictionary<SuitType, int>();
- suitCountDict.Add(_suit.Index, _dict);
- if (_suit.suitDict.ContainsKey((int)SuitType.HighSuit))
- {
- _dict.Add(SuitType.HighSuit, GetEquipSuitCount(SuitType.HighSuit, _suit.Index,
- _suit.suitDict[(int)SuitType.HighSuit]));
- }
- if (_suit.suitDict.ContainsKey((int)SuitType.LowSuit))
- {
- _dict.Add(SuitType.LowSuit, GetEquipSuitCount(SuitType.LowSuit, _suit.Index,
- _suit.suitDict[(int)SuitType.LowSuit]));
- }
- }
}
}
@@ -549,43 +506,10 @@
}
}
- Dictionary<SuitType, int> suitCntDict = null;
- if (hrefInfo.mSplits.ContainsKey("suitcnt"))
- {
- suitCntDict = new Dictionary<SuitType, int>();
- string suitCntData = hrefInfo.mSplits["suitcnt"];
- string[] split_data = suitCntData.Split('\'');
- for (int i = 0; i < split_data.Length; i++)
- {
- string[] split_value = split_data[i].Split('_');
- if (split_value.Length == 2)
- {
- int key = int.Parse(split_value[0]);
- suitCntDict.Add((SuitType)key, int.Parse(split_value[1]));
- }
- }
- }
-
ItemAttrData attrData = new ItemAttrData(itemId, false, (ulong)itemCount, -1, isBind, false, PackType.Deleted,
"", userdatadic);
attrData.SetGemModel(stone);
attrData.SetStrengthData(strengthenLv, GetStrengthenType(itemId));
- if (equipSuitList.Count != 0)
- {
- var _suit = equipSuitList.Find((x) =>
- {
- return x.Index == index;
- });
- if (!_suit.Equals(default(RoleParticularModel.EquipSuit)))
- {
- attrData.SetOtherSuitData(itemId, index, _suit.suitDict,
- suitCountDict.ContainsKey(index) ? suitCountDict[index] : null);
- }
- }
- else
- {
- attrData.SetOtherSuitData(itemId, index, suitLvDict, suitCntDict);
- }
if (!_equipWash.Equals(default(RoleParticularModel.EquipWash)))
{
attrData.SetWashModel(equipWashModel.OnGetWashType(index), _equipWash.LV, _equipWash.Value);
@@ -594,7 +518,6 @@
}
List<RoleParticularModel.EquipSuit> equipSuitList = new List<RoleParticularModel.EquipSuit>();
- Dictionary<int, Dictionary<SuitType, int>> suitCountDict = new Dictionary<int, Dictionary<SuitType, int>>();
int[][] equipItems = null;
public int GetItem(int _index)
@@ -631,44 +554,6 @@
default:
return Language.Get("EquipSuitWhite");
}
- }
-
- public int GetEquipSuitCount(SuitType _type, int _index, int suitLv)
- {
- var _count = 0;
- for (int i = 0; i < equipSuitList.Count; i++)
- {
- var _suit = equipSuitList[i];
- if (suitModel.GetGroupType(_suit.Index) == suitModel.GetGroupType(_index))
- {
- if (_suit.suitDict.ContainsKey((int)_type) && _suit.suitDict[(int)_type] > 0)
- {
- var _suitLv = _suit.suitDict[(int)_type];
- int _item = GetItem(_suit.Index);
- var _itemCfg = ItemConfig.Get(_item);
- if (_itemCfg == null)
- {
- continue;
- }
- if (suitModel.IsMakerSuit(_type, _itemCfg.ItemColor, _itemCfg.StarLevel))
- {
- if (_itemCfg.LV < _suit.suitDict[(int)_type])
- {
- _suitLv = _itemCfg.LV;
- }
- }
- else
- {
- _suitLv = 0;
- }
- if (_suitLv == suitLv)
- {
- _count++;
- }
- }
- }
- }
- return _count;
}
public static int GetStrengthenType(int _id)
diff --git a/System/RoleParticulars/RoleParticularModel.cs b/System/RoleParticulars/RoleParticularModel.cs
index 97a6aa0..0e641dd 100644
--- a/System/RoleParticulars/RoleParticularModel.cs
+++ b/System/RoleParticulars/RoleParticularModel.cs
@@ -696,89 +696,12 @@
public DateTime getTime;
- Dictionary<int, Dictionary<SuitType, int>> suitCountDict = new Dictionary<int, Dictionary<SuitType, int>>();
public void AnalysisEquipSuit()
{
- if (itemDatas == null)
- {
- return;
- }
- suitCountDict.Clear();
- for (int i = 0; i < itemDatas.Length; i++)
- {
- EquipSuit _suit;
- if (rolePlusData.TryGetEquipSuit(itemDatas[i].ItemIndex, out _suit))
- {
- Dictionary<SuitType, int> _dict = new Dictionary<SuitType, int>();
- suitCountDict.Add(itemDatas[i].ItemIndex, _dict);
- if (_suit.suitDict.ContainsKey((int)SuitType.HighSuit))
- {
- _dict.Add(SuitType.HighSuit, rolePlusData.GetEquipSuitCount(SuitType.HighSuit, itemDatas[i].ItemIndex,
- _suit.suitDict[(int)SuitType.HighSuit]));
- }
- if (_suit.suitDict.ContainsKey((int)SuitType.LowSuit))
- {
- _dict.Add(SuitType.LowSuit, rolePlusData.GetEquipSuitCount(SuitType.LowSuit, itemDatas[i].ItemIndex,
- _suit.suitDict[(int)SuitType.LowSuit]));
- }
- }
- }
- }
-
- public Dictionary<SuitType, int> GetEquipAllSuitCount(int _index)
- {
- Dictionary<SuitType, int> _dict = null;
- suitCountDict.TryGetValue(_index, out _dict);
- return _dict;
- }
-
- public int GetSuitTypeCount(SuitType _type)
- {
- return rolePlusData.GetEquipSuitCount(_type);
}
public int GetEquipSuitLevel()
{
- int _suitCount = 0;
- var _rank = 0;
- if (rolePlusData != null)
- {
- var _list = rolePlusData.equipSuitList;
- ItemData _itemData = null;
- roleEquipDataDic.TryGetValue(RoleEquipType.Clothes, out _itemData);
- if (_itemData == null)
- {
- return 0;
- }
- var itemConfig = ItemConfig.Get(_itemData.ItemID);
- _rank = itemConfig.LV;
- for (int i = 0; i < _list.Count; i++)
- {
- var _suit = _list[i];
- if (_suit.Index >= (int)RoleEquipType.Hat
- && _suit.Index <= (int)RoleEquipType.Shoes
- && roleEquipDataDic.TryGetValue((RoleEquipType)_suit.Index, out _itemData))
- {
- itemConfig = ItemConfig.Get(_itemData.ItemID);
- if (itemConfig.SuiteiD <= 0)
- {
- continue;
- }
-
- if (_suit.suitDict != null && (_suit.suitDict.ContainsKey(1) || _suit.suitDict.ContainsKey(2)))
- {
- if (itemConfig.LV >= _rank)
- {
- _suitCount += 1;
- }
- }
- }
- }
- }
- if (_suitCount >= 5)
- {
- return _suitCount;
- }
return 0;
}
@@ -837,12 +760,6 @@
public int AtkSpeed { get; private set; }
public int Rune { get; private set; }
-
- PlayerSuitModel _suitModel;
- PlayerSuitModel suitModel
- {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
RoleParticularModel m_Model;
RoleParticularModel model
@@ -929,57 +846,6 @@
return godWeaponDict[type];
}
return 0;
- }
-
- public int GetEquipSuitCount(SuitType _type)
- {
- var _count = 0;
- for (int i = 0; i < equipSuitList.Count; i++)
- {
- if (equipSuitList[i].suitDict != null && equipSuitList[i].suitDict.ContainsKey((int)_type))
- {
- _count++;
- }
- }
- return _count;
- }
-
- public int GetEquipSuitCount(SuitType _type, int _index, int suitLv)
- {
- var _count = 0;
- for (int i = 0; i < equipSuitList.Count; i++)
- {
- EquipSuit _suit = equipSuitList[i];
- if (suitModel.GetGroupType(_suit.Index) == suitModel.GetGroupType(_index))
- {
- if (_suit.suitDict.ContainsKey((int)_type) && _suit.suitDict[(int)_type] > 0)
- {
- var _suitLv = _suit.suitDict[(int)_type];
- ItemData _item = model.GetItemData((RoleEquipType)_suit.Index);
- if (_item == null)
- {
- continue;
- }
- var _itemCfg = ItemConfig.Get(_item.ItemID);
- if (suitModel.IsMakerSuit(_type, _itemCfg.ItemColor, _itemCfg.StarLevel))
- {
- if (_itemCfg.LV < _suit.suitDict[(int)_type])
- {
- _suitLv = _itemCfg.LV;
- }
- }
- else
- {
- _suitLv = 0;
- }
- if (_suitLv == suitLv)
- {
- _count++;
- }
- }
- }
- }
- return _count;
}
public bool TryGetEquipSuit(int _index, out EquipSuit _suit)
diff --git a/System/RoleParticulars/RoleParticularsWin.cs b/System/RoleParticulars/RoleParticularsWin.cs
index cc025f7..0878624 100644
--- a/System/RoleParticulars/RoleParticularsWin.cs
+++ b/System/RoleParticulars/RoleParticularsWin.cs
@@ -27,40 +27,11 @@
[SerializeField] Text fightPowerTxt;
[SerializeField] RawImage roleModel;
-
- RoleParticularModel m_Model;
- RoleParticularModel model {
- get {
- return m_Model ?? (m_Model = ModelCenter.Instance.GetModel<RoleParticularModel>());
- }
- }
-
- FriendsModel m_FriendModel;
- FriendsModel friendsModel {
- get {
- return m_FriendModel ?? (m_FriendModel = ModelCenter.Instance.GetModel<FriendsModel>());
- }
- }
-
- EquipWashModel m_EquipWashModel;
- EquipWashModel equipWashModel {
- get {
- return m_EquipWashModel ?? (m_EquipWashModel = ModelCenter.Instance.GetModel<EquipWashModel>());
- }
- }
- StrengthenModel m_StrengthengModel;
- StrengthenModel strengthengmodel {
- get {
- return m_StrengthengModel ?? (m_StrengthengModel = ModelCenter.Instance.GetModel<StrengthenModel>());
- }
- }
-
- ItemTipsModel _itemTipsModel;
- ItemTipsModel itemTipsModel {
- get {
- return _itemTipsModel ?? (_itemTipsModel = ModelCenter.Instance.GetModel<ItemTipsModel>());
- }
- }
+ RoleParticularModel model { get { return ModelCenter.Instance.GetModel<RoleParticularModel>(); } }
+ FriendsModel friendsModel { get { return ModelCenter.Instance.GetModel<FriendsModel>(); } }
+ EquipWashModel equipWashModel { get { return ModelCenter.Instance.GetModel<EquipWashModel>(); } }
+ StrengthenModel strengthengmodel { get { return ModelCenter.Instance.GetModel<StrengthenModel>(); } }
+ ItemTipsModel itemTipsModel { get { return ModelCenter.Instance.GetModel<ItemTipsModel>(); } }
#region Built-in
protected override void BindController()
@@ -99,11 +70,6 @@
if (equipWash.HasValue)
{
attrData.SetWashModel(equipWashModel.OnGetWashType((int)type), equipWash.Value.LV, equipWash.Value.Value);
- }
- RoleParticularModel.EquipSuit _suit;
- if (viewPlayerData.rolePlusData.TryGetEquipSuit(itemData.ItemIndex, out _suit))
- {
- attrData.SetOtherSuitData(itemData.ItemID, itemData.ItemIndex, _suit.suitDict, viewPlayerData.GetEquipAllSuitCount(itemData.ItemIndex));
}
itemTipsModel.SetItemTipsModel(attrData);
}
diff --git a/System/RoleParticulars/ViewFuncCell.cs b/System/RoleParticulars/ViewFuncCell.cs
index fdbc646..6e36162 100644
--- a/System/RoleParticulars/ViewFuncCell.cs
+++ b/System/RoleParticulars/ViewFuncCell.cs
@@ -45,12 +45,6 @@
}
}
- PlayerSuitModel _suitModel;
- PlayerSuitModel SuitModel
- {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
-
MountModel m_HorseModel;
MountModel horsemodel
{
@@ -143,15 +137,6 @@
case FuncPowerType.Stone:
targetValue = GetAllStoneLv(viewPlayerData.rolePlusData.GetAllEquipStone());
selfValue = equipGemModel.GetAllGemsLevel();
- break;
- case FuncPowerType.Suit:
- handled = true;
- var _targetSuitCount0 = viewPlayerData.GetSuitTypeCount(SuitType.LowSuit);
- var _targetSuitCount1 = viewPlayerData.GetSuitTypeCount(SuitType.HighSuit);
- var _selfSuitCount0 = SuitModel.GetSameSuitCntByType(SuitType.LowSuit);
- var _selfSuitCount1 = SuitModel.GetSameSuitCntByType(SuitType.HighSuit);
- targetCompareTxt.text = UIHelper.ReplaceNewLine(Language.Get("ViewFuncSuit_0", _targetSuitCount0, _targetSuitCount1));
- selfCompareTxt.text = UIHelper.ReplaceNewLine(Language.Get("ViewFuncSuit_0", _selfSuitCount0, _selfSuitCount1));
break;
case FuncPowerType.Wing:
{
diff --git a/System/RolePromote/RolePromoteModel.cs b/System/RolePromote/RolePromoteModel.cs
index 6b39b2f..bbece6b 100644
--- a/System/RolePromote/RolePromoteModel.cs
+++ b/System/RolePromote/RolePromoteModel.cs
@@ -121,12 +121,6 @@
}
}
- PlayerSuitModel _suitModel;
- PlayerSuitModel SuitModel
- {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
-
GemModel gemModel { get { return ModelCenter.Instance.GetModel<GemModel>(); } }
BlastFurnaceModel blastFurnaceModel { get { return ModelCenter.Instance.GetModel<BlastFurnaceModel>(); } }
diff --git a/System/Store/Logic/BuyEquipTip.cs b/System/Store/Logic/BuyEquipTip.cs
index 33eb423..e1fc453 100644
--- a/System/Store/Logic/BuyEquipTip.cs
+++ b/System/Store/Logic/BuyEquipTip.cs
@@ -238,7 +238,6 @@
SetLegendAttrUI();
SetWashAttrUI();
SetGemAttrUI();
- SetSuitAttrUI();
for (int i = 0; i < attrCutLinelist.Count; i++)
{
if (i == curAttrTypeNum - 1)
@@ -640,26 +639,6 @@
}
}
}
- }
-
- private void SetSuitAttrUI()
- {
- if (itemAttrData.suitAttrDataDict == null)
- {
- suitAttr.SetActive(false);
- return;
- }
- switch (itemAttrData.itemConfig.EquipPlace)
- {
- case 101:
- case 102:
- case 103:
- case 104:
- case 105:
- suitAttr.SetActive(false);
- return;
- }
- curAttrTypeNum = 6;
}
private void SetMidUIHeight(float midHeight)
diff --git a/System/Strengthening/EquipReinforceWin.cs b/System/Strengthening/EquipReinforceWin.cs
index a2df023..903005b 100644
--- a/System/Strengthening/EquipReinforceWin.cs
+++ b/System/Strengthening/EquipReinforceWin.cs
@@ -23,15 +23,6 @@
}
private Button _closeBtn;
- private EquipSuitTips _suitTips;
- public EquipSuitTips SuitTips {
- get {
- if (_suitTips == null)
- _suitTips = transform.Find("CommonPanel/EquipSuitPanel").GetComponent<EquipSuitTips>();
- return _suitTips;
- }
- }
-
private StrengtheningSripts _strengtheningPanel;
public StrengtheningSripts StrengthenPnl {
get {
@@ -106,7 +97,6 @@
StrengthenPnl.gameObject.SetActive(false);
_InlaidGemPanel.gameObject.SetActive(false);
WashTip.gameObject.SetActive(false);
- SuitTips.gameObject.SetActive(false);
_wingsRefinePanel.SetActive(false);
if (!WindowJumpMgr.Instance.IsJumpState)
@@ -182,7 +172,6 @@
_InlaidGemPanel.gameObject.SetActive(false);
WashTip.gameObject.SetActive(true);
- SuitTips.gameObject.SetActive(false);
_wingsRefinePanel.SetActive(false);
functionOrder = _washTitle.order;
}
@@ -197,7 +186,6 @@
_InlaidGemPanel.gameObject.SetActive(false);
WashTip.gameObject.SetActive(false);
_wingsRefinePanel.SetActive(false);
- SuitTips.gameObject.SetActive(true);
functionOrder = _equipSuitTitle.order;
}
@@ -210,7 +198,6 @@
}
_InlaidGemPanel.gameObject.SetActive(false);
WashTip.gameObject.SetActive(false);
- SuitTips.gameObject.SetActive(false);
_wingsRefinePanel.SetActive(true);
model.redPointStre.state = RedPointState.None;
functionOrder = _wingsRefineTitle.order;
@@ -225,7 +212,6 @@
}
_InlaidGemPanel.gameObject.SetActive(true);
WashTip.gameObject.SetActive(false);
- SuitTips.gameObject.SetActive(false);
_wingsRefinePanel.SetActive(false);
functionOrder = _inlayTitle.order;
}
@@ -236,7 +222,6 @@
StrengthenPnl.gameObject.SetActive(true);
_InlaidGemPanel.gameObject.SetActive(false);
WashTip.gameObject.SetActive(false);
- SuitTips.gameObject.SetActive(false);
_wingsRefinePanel.SetActive(false);
functionOrder = _strengthTitle.order;
}
diff --git a/System/Strengthening/EquipSuit/EquipSuitPreviewWin.cs b/System/Strengthening/EquipSuit/EquipSuitPreviewWin.cs
deleted file mode 100644
index 08614b4..0000000
--- a/System/Strengthening/EquipSuit/EquipSuitPreviewWin.cs
+++ /dev/null
@@ -1,95 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace Snxxz.UI
-{
- public class EquipSuitPreviewWin : Window
- {
- [SerializeField] PreviewCell previewCell;
- [SerializeField] RectTransform cellParent;
- [SerializeField] Button closeBtn;
- [SerializeField] GameObject noSuitObj;
-
- private List<PreviewCell> celllist = new List<PreviewCell>();
- PlayerSuitModel _suitModel;
- PlayerSuitModel SuitModel
- {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
-
- protected override void BindController()
- {
- celllist.Clear();
- CreatePreviewCell();
- }
- protected override void AddListeners()
- {
-
- }
- protected override void OnPreOpen()
- {
- RefreshPreviewCell();
- closeBtn.AddListener(CloseWin);
- }
-
- protected override void OnAfterOpen()
- {
-
- }
-
- protected override void OnPreClose()
- {
- closeBtn.RemoveAllListeners();
- }
-
- protected override void OnAfterClose()
- {
-
- }
-
- private void CreatePreviewCell()
- {
- Dictionary<string,EquipSuitAttrConfig.EquipSuitAttrData> suitAttrDict = EquipSuitAttrConfig.GetSuitAttrDict();
- foreach(var suitID in suitAttrDict.Keys)
- {
- PreviewCell cell = Instantiate(previewCell);
- previewCell.gameObject.SetActive(false);
- cell.transform.SetParent(cellParent);
- cell.transform.localScale = Vector3.one;
- cell.InitUI(suitID);
- if(!celllist.Contains(cell))
- {
- celllist.Add(cell);
- }
- }
- }
-
- private void RefreshPreviewCell()
- {
- SuitModel.GetActivateSuitModel();
- for(int i = 0; i < celllist.Count; i++)
- {
- celllist[i].RefreshUI(celllist[i].suitId);
- }
-
- if(SuitModel.activateAttrDict.Count > 0)
- {
- noSuitObj.SetActive(false);
- }
- else
- {
- noSuitObj.SetActive(true);
- }
- }
-
- private void CloseWin()
- {
- CloseImmediately();
- }
-
-
- }
-}
diff --git a/System/Strengthening/EquipSuit/EquipSuitPreviewWin.cs.meta b/System/Strengthening/EquipSuit/EquipSuitPreviewWin.cs.meta
deleted file mode 100644
index 20d50a1..0000000
--- a/System/Strengthening/EquipSuit/EquipSuitPreviewWin.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 49ad1be4ac9d15a4e92862e041ae259a
-timeCreated: 1520580141
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/System/Strengthening/EquipSuit/PlayerSuitModel.cs b/System/Strengthening/EquipSuit/PlayerSuitModel.cs
deleted file mode 100644
index a044e38..0000000
--- a/System/Strengthening/EquipSuit/PlayerSuitModel.cs
+++ /dev/null
@@ -1,1131 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-using LitJson;
-
-namespace Snxxz.UI
-{
- public enum SuitType
- {
- None = 0, //娌℃湁濂楄
- LowSuit = 1, //鏅�氬瑁�
- HighSuit = 2, //寮哄寲濂楄
- }
-
- [XLua.LuaCallCSharp]
- public class PlayerSuitModel : Model, IBeforePlayerDataInitialize, IAfterPlayerDataInitialize, IPlayerLoginOk
- {
- public List<int> suitPartlist { get; private set; }
- private Dictionary<int, Dictionary<int, int>> suitMaxLvDict = new Dictionary<int, Dictionary<int, int>>();
- private Dictionary<int, List<int>> suitConditionsDict = new Dictionary<int, List<int>>();
- private Dictionary<int, List<int>> suitGroupDict = new Dictionary<int, List<int>>();
-
- PackModel _playerPack;
- PackModel playerPack
- {
- get { return _playerPack ?? (_playerPack = ModelCenter.Instance.GetModel<PackModel>()); }
- }
-
- public override void Init()
- {
- FuncConfigConfig conditionConfig = FuncConfigConfig.Get("EquipSuitColorStar");
- JsonData conditionJson = JsonMapper.ToObject(conditionConfig.Numerical1);
- suitConditionsDict.Clear();
- foreach (var suitType in conditionJson.Keys)
- {
- List<int> conditonlist = new List<int>();
- suitConditionsDict.Add(int.Parse(suitType), conditonlist);
- if (conditionJson[suitType].IsArray)
- {
- for (int i = 0; i < conditionJson[suitType].Count; i++)
- {
- int con = int.Parse(conditionJson[suitType][i].ToString());
- conditonlist.Add(con);
- }
- }
- }
- FuncConfigConfig funcDisPlayModel = FuncConfigConfig.Get("StrengthenDisplay");
- int[] suitOrder = ConfigParse.GetMultipleStr<int>(funcDisPlayModel.Numerical1);
- suitPartlist = new List<int>();
- for (int i = 0; i < suitOrder.Length; i++)
- {
- if ((RoleEquipType)suitOrder[i] != RoleEquipType.Weapon && (RoleEquipType)suitOrder[i] != RoleEquipType.Weapon2)
- {
- suitPartlist.Add(suitOrder[i]);
- }
- }
-
- FuncConfigConfig suitGroupConfig = FuncConfigConfig.Get("EquipSuitType");
- JsonData groupJson = JsonMapper.ToObject(suitGroupConfig.Numerical1);
- suitGroupDict.Clear();
- foreach (var groupType in groupJson.Keys)
- {
- List<int> partlist = new List<int>();
- suitGroupDict.Add(int.Parse(groupType), partlist);
- if (groupJson[groupType].IsArray)
- {
- for (int i = 0; i < groupJson[groupType].Count; i++)
- {
- partlist.Add(int.Parse(groupJson[groupType][i].ToString()));
- }
- }
- }
-
- FuncConfigConfig maxLvConfig = FuncConfigConfig.Get("EquipSuitMaxLv");
- JsonData maxjsonData = JsonMapper.ToObject(maxLvConfig.Numerical1);
- suitMaxLvDict.Clear();
- foreach (var part in maxjsonData.Keys)
- {
- Dictionary<int, int> suitTypeDict = new Dictionary<int, int>();
- suitMaxLvDict.Add(int.Parse(part), suitTypeDict);
- foreach (var type in maxjsonData[part].Keys)
- {
- int maxLv = int.Parse(maxjsonData[part][type].ToString());
- suitTypeDict.Add(int.Parse(type), maxLv);
- }
- }
-
- SetSuitCellRedPointlist();
- }
-
- public void OnBeforePlayerDataInitialize()
- {
- suitModelDict.Clear();
- FuncOpen.Instance.OnFuncStateChangeEvent -= RefreshFuncOpenState;
- playerPack.refreshItemCountEvent -= RefreshMat;
- }
-
- public void OnAfterPlayerDataInitialize()
- {
- playerPack.refreshItemCountEvent += RefreshMat;
- FuncOpen.Instance.OnFuncStateChangeEvent += RefreshFuncOpenState;
- }
-
- public void OnPlayerLoginOk()
- {
- GetEquipOrderlist(EquipSuitTips.E_SuitType);
- int equipPlace = 0;
- CheckRedPointCondition(out equipPlace);
- CheckTypeBtnRedPointCondition();
- }
-
- #region 澶勭悊璺宠浆鏁版嵁
- public void SetJumpModel(int suitType)
- {
- EquipSuitTips.E_SuitType = (SuitType)suitType;
- }
- #endregion
-
- private void RefreshFuncOpenState(int funcId)
- {
- if (funcId != (int)FuncOpenEnum.Suit)
- return;
- int equipPlace = 0;
- CheckRedPointCondition(out equipPlace);
- CheckTypeBtnRedPointCondition();
- }
-
- private void RefreshMat(PackType type, int index, int id)
- {
- if (type != PackType.Item)
- return;
-
- int equipPlace = 0;
- CheckRedPointCondition(out equipPlace);
- CheckTypeBtnRedPointCondition();
- }
-
- public override void UnInit()
- {
-
- }
-
- /// <summary>
- /// 鑾峰彇鎺掑簭鍚庣殑瑁呭浣嶉『搴�
- /// </summary>
- Dictionary<int, ItemModel> equipDict;
- public List<int> GetEquipOrderlist(SuitType type)
- {
- List<int> orderlist = new List<int>();
- SinglePack singlePack = playerPack.GetSinglePack(PackType.Equip);
- if (singlePack == null)
- {
- orderlist.AddRange(suitPartlist);
- return orderlist;
- }
-
- equipDict = singlePack.GetAllItems();
- for(int i = 0; i < suitPartlist.Count; i++)
- {
- if(equipDict.ContainsKey(suitPartlist[i]))
- {
- ItemModel itemModel = equipDict[suitPartlist[i]];
- if(IsMakerSuit(type, itemModel.config.ItemColor,itemModel.config.StarLevel))
- {
- orderlist.Add(suitPartlist[i]);
- }
- }
- }
-
- for (int i = 0; i < suitPartlist.Count; i++)
- {
- if (equipDict.ContainsKey(suitPartlist[i]))
- {
- ItemModel itemModel = equipDict[suitPartlist[i]];
- if (!IsMakerSuit(type, itemModel.config.ItemColor, itemModel.config.StarLevel))
- {
- orderlist.Add(suitPartlist[i]);
- }
- }
- }
-
- for (int i = 0; i < suitPartlist.Count; i++)
- {
- if (!equipDict.ContainsKey(suitPartlist[i]))
- {
- orderlist.Add(suitPartlist[i]);
- }
- }
-
- return orderlist;
- }
-
- #region 鎺ユ敹鏈嶅姟绔暟鎹�
- public Dictionary<int, Dictionary<int, int>> suitModelDict = new Dictionary<int, Dictionary<int, int>>();
- public event Action RefreshSuitModelAct;
- public void GetServerSuitModel(HA309_tagMCEquipPartSuiteLVInfo info)
- {
- for (int i = 0; i < info.Count; i++)
- {
- int equipPlace = info.InfoList[i].EquipIndex;
- string suitLvInfo = info.InfoList[i].SuiteLVInfo;
- JsonData suitTypeJson = JsonMapper.ToObject(suitLvInfo);
- if (!suitModelDict.ContainsKey(equipPlace))
- {
- Dictionary<int, int> suitTypeDict = new Dictionary<int, int>();
- suitModelDict.Add(equipPlace, suitTypeDict);
- foreach (var type in suitTypeJson.Keys)
- {
- suitTypeDict.Add(int.Parse(type), int.Parse(suitTypeJson[type].ToString()));
- }
- }
- else
- {
- suitModelDict[equipPlace].Clear();
-
- foreach (var type in suitTypeJson.Keys)
- {
- if (!suitModelDict[equipPlace].ContainsKey(int.Parse(type)))
- {
- suitModelDict[equipPlace].Add(int.Parse(type), int.Parse(suitTypeJson[type].ToString()));
- }
- else
- {
- suitModelDict[equipPlace][int.Parse(type)] = int.Parse(suitTypeJson[type].ToString());
- }
- }
- }
- }
-
- if (RefreshSuitModelAct != null)
- {
- RefreshSuitModelAct();
- }
-
- int place = 0;
- CheckRedPointCondition(out place);
- }
-
- #endregion
-
- #region 鍙戦�佽姹�
- public void SendMakeSuit(int suitType, int equipPlace)
- {
- CA317_tagCMSuitCompose suitMaker = new CA317_tagCMSuitCompose();
- suitMaker.SuiteType = (byte)suitType;
- suitMaker.EquipPlace = (byte)equipPlace;
- GameNetSystem.Instance.SendInfo(suitMaker);
- }
-
- public void SendSplitSuit(int equipPlace, SuitType suitType)
- {
- CA308_tagCMSuiteDecompose decompose = new CA308_tagCMSuiteDecompose();
- decompose.EquipPlace = (byte)equipPlace;
- switch (suitType)
- {
- case SuitType.None:
- case SuitType.LowSuit:
- decompose.SuiteType = (byte)SuitType.None;
- break;
- case SuitType.HighSuit:
- decompose.SuiteType = (byte)SuitType.HighSuit;
- break;
- }
- GameNetSystem.Instance.SendInfo(decompose);
- }
- #endregion
-
- #region 澶勭悊濂楄棰勮鏁版嵁
- public Dictionary<string, ActivateSuitData> activateAttrDict { get; private set; }
- public void GetActivateSuitModel()
- {
- Dictionary<string, EquipSuitAttrConfig.EquipSuitAttrData> suitAttrDict = EquipSuitAttrConfig.GetSuitAttrDict();
- activateAttrDict = new Dictionary<string, ActivateSuitData>();
- foreach (var suitID in suitAttrDict.Keys)
- {
- var attrData = suitAttrDict[suitID];
- EquipSuitAttrConfig attrConfig = attrData.attrConfig;
- List<int> equipPlacelist = null;
- int suitCnt = GetSameSuitCnt((SuitType)attrConfig.suiteType, GetEquipPlaceByGroupType(attrConfig.groupType)[0], attrConfig.suiteLV, out equipPlacelist, attrConfig.job);
- if (suitCnt >= attrConfig.count1)
- {
- if (!activateAttrDict.ContainsKey(suitID))
- {
- ActivateSuitData suitData = new ActivateSuitData(suitCnt,attrData, equipPlacelist);
- activateAttrDict.Add(suitID, suitData);
- }
- }
- }
- }
-
- public ActivateSuitData GetSingleSuitAttr(string suitID)
- {
- ActivateSuitData suitData = default(ActivateSuitData);
- activateAttrDict.TryGetValue(suitID, out suitData);
- return suitData;
- }
-
- /// <summary>
- /// 鑾峰彇鎵�鏈夋縺娲诲瑁呯殑灞炴�у姞鎴�
- /// </summary>
- Dictionary<int, int> activateSuitAttrDict = new Dictionary<int, int>();
- public Dictionary<int,int> GetActiveSuitAttr()
- {
- activateSuitAttrDict.Clear();
- GetActivateSuitModel();
- foreach(var key in activateAttrDict.Keys)
- {
- ActivateSuitData suitData = activateAttrDict[key];
- int[] attrIds = null;
- int[] attrValues = null;
- if (suitData.suitCnt >= suitData.attrData.attrConfig.count1)
- {
- attrIds = suitData.attrData.attr1Ids;
- attrValues = suitData.attrData.attr1Values;
- SetActiveSuitAttr(attrIds,attrValues);
- }
-
- if(suitData.suitCnt >= suitData.attrData.attrConfig.count2)
- {
- attrIds = suitData.attrData.attr2Ids;
- attrValues = suitData.attrData.attr2Values;
- SetActiveSuitAttr(attrIds, attrValues);
- }
-
- if (suitData.suitCnt >= suitData.attrData.attrConfig.count3)
- {
- attrIds = suitData.attrData.attr3Ids;
- attrValues = suitData.attrData.attr3Values;
- SetActiveSuitAttr(attrIds, attrValues);
- }
- }
- return activateSuitAttrDict;
- }
-
- public void SetActiveSuitAttr(int[] attrIds,int[] attrValues)
- {
- for (int i = 0; i < attrIds.Length; i++)
- {
- if (!activateSuitAttrDict.ContainsKey(attrIds[i]))
- {
- activateSuitAttrDict.Add(attrIds[i], attrValues[i]);
- }
- else
- {
- activateSuitAttrDict[attrIds[i]] += attrValues[i];
- }
- }
- }
- #endregion
-
- public bool IsReachMax(int equipPlace, int suitType, int suitLv)
- {
- bool isReach = false;
- if (suitMaxLvDict.ContainsKey(equipPlace))
- {
- if (suitMaxLvDict[equipPlace].ContainsKey(suitType))
- {
- int maxLv = suitMaxLvDict[equipPlace][suitType];
- if (suitLv >= maxLv)
- {
- isReach = true;
- }
- }
- }
- return isReach;
- }
-
- /// <summary>
- /// 鍒ゆ柇褰撳墠瑁呭鏄惁闇�瑕佸崌闃舵墠鍙互杩涜閿婚��
- /// </summary>
- /// <returns></returns>
- public bool IsNeedUpgradEquipLv(int equipPlace,int suitType)
- {
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip,equipPlace);
- if (itemModel == null) return false;
-
- int suitLv = GetServerSuitLv(equipPlace, suitType);
- if(suitLv >= itemModel.config.LV)
- {
- if(!IsReachMax(equipPlace,suitType,suitLv))
- {
- return true;
- }
- }
- return false;
- }
-
- public bool IsFirstEquipMaker()
- {
- for(int i = 0; i < suitPartlist.Count; i++)
- {
- if(GetServerSuitLv(suitPartlist[i],(int)SuitType.LowSuit) > 0)
- {
- return false;
- }
- }
- return true;
- }
-
- public List<int> GetNeedConditions(int suitType)
- {
- List<int> list = null;
- suitConditionsDict.TryGetValue(suitType, out list);
- return list;
- }
-
- public int GetServerSuitLv(int equipPlace, int suitType)
- {
- int suitLv = 0;
- if (suitModelDict.ContainsKey(equipPlace))
- {
- if (suitModelDict[equipPlace].ContainsKey(suitType))
- {
- suitLv = suitModelDict[equipPlace][suitType];
- }
- }
- return suitLv;
- }
-
- public Dictionary<int, int> GetServerSuitModelByPlace(int equipPlace)
- {
- Dictionary<int, int> dictionary = null;
- suitModelDict.TryGetValue(equipPlace, out dictionary);
- return dictionary;
- }
-
- public Dictionary<SuitType, int> GetServerSuitCntByPlace(int equipPlace)
- {
- Dictionary<SuitType, int> dictionary = null;
- if (suitModelDict.ContainsKey(equipPlace))
- {
- dictionary = new Dictionary<SuitType, int>();
-
- foreach (var type in suitModelDict[equipPlace].Keys)
- {
- SuitType suitType = (SuitType)type;
- int suitLv = suitModelDict[equipPlace][type];
- List<int> placelist;
- int suitCnt = GetSameSuitCnt(suitType, equipPlace, suitLv, out placelist);
- dictionary.Add(suitType, suitCnt);
- }
- }
- return dictionary;
- }
-
- public bool IsMakerSuit(SuitType suitType, int itemColor, int starLv)
- {
- bool isMaker = false;
- if (suitConditionsDict.ContainsKey((int)suitType))
- {
- List<int> list = suitConditionsDict[(int)suitType];
- if (itemColor >= list[0] && starLv >= list[1])
- {
- isMaker = true;
- }
- }
- return isMaker;
- }
-
- public int GetSameSuitCnt(SuitType suitType, int equipPlace, int suitLv, out List<int> equipPlacelist, int job = 0)
- {
- equipPlacelist = new List<int>();
- int sumNumber = 0;
- SinglePack singlePack = playerPack.GetSinglePack(PackType.Equip);
- if (singlePack == null || suitLv <= 0)
- return sumNumber;
-
- if (PlayerDatas.Instance.baseData.Job != job && job != 0)
- return sumNumber;
-
- Dictionary<int, ItemModel> equipDict = singlePack.GetAllItems();
- foreach (ItemModel model in equipDict.Values)
- {
- if (GetGroupType(model.itemPlace) == GetGroupType(equipPlace))
- {
- int serverSuitLv = GetServerSuitLv(model.itemPlace, (int)suitType);
-
- if (serverSuitLv != 0)
- {
- if (IsMakerSuit(suitType, model.config.ItemColor, model.config.StarLevel))
- {
- if (model.config.LV < serverSuitLv)
- {
- serverSuitLv = model.config.LV;
- }
- }
- else
- {
- serverSuitLv = 0;
- }
-
- if (serverSuitLv == suitLv)
- {
- sumNumber++;
- equipPlacelist.Add(model.itemPlace);
- }
- }
- }
- }
- return sumNumber;
- }
-
- public int GetSameSuitCntByType(SuitType suitType)
- {
- int sumCnt = 0;
- SinglePack singlePack = playerPack.GetSinglePack(PackType.Equip);
- if (singlePack == null)
- return sumCnt;
-
- Dictionary<int, ItemModel> equipDict = singlePack.GetAllItems();
- foreach (ItemModel model in equipDict.Values)
- {
- Dictionary<int, int> suitTypeDic = GetServerSuitModelByPlace(model.itemPlace);
- if (suitTypeDic != null)
- {
- if (suitTypeDic.ContainsKey((int)suitType))
- {
- if (suitTypeDic[(int)suitType] > 0)
- {
- sumCnt++;
- }
- }
- }
- }
- return sumCnt;
- }
-
- public int GetGroupType(int equipPlace)
- {
- foreach (var groupType in suitGroupDict.Keys)
- {
- if (suitGroupDict[groupType].Contains(equipPlace))
- {
- return groupType;
- }
- }
-
- return 0;
- }
-
- public List<int> GetEquipPlaceByGroupType(int groupType)
- {
- if (suitGroupDict.ContainsKey(groupType))
- {
- return suitGroupDict[groupType];
- }
-
- return null;
- }
-
- public int GetEquipJob(int itemId)
- {
- ItemConfig itemConfig = ItemConfig.Get(itemId);
- return (int)Math.Floor((double)itemConfig.JobLimit / 100);
- }
-
- public bool IsUpgradSuitLv(int equipPlace, int suitType, int suitlv)
- {
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip, equipPlace);
- if (itemModel == null)
- {
- return false;
- }
- else
- {
- bool isUpgrad = true;
- bool isMaker = IsMakerSuit((SuitType)suitType, itemModel.config.ItemColor, itemModel.config.StarLevel);
- if (isMaker)
- {
- if (!IsReachMax(equipPlace, suitType, suitlv))
- {
- if (suitlv >= itemModel.config.LV)
- {
- isUpgrad = false;
- }
- if (suitType == (int)SuitType.HighSuit)
- {
- int lowSuitLv = GetServerSuitLv(equipPlace, (int)SuitType.LowSuit);
- if (suitlv >= lowSuitLv)
- {
- isUpgrad = false;
- }
- }
- }
- else
- {
- isUpgrad = false;
- }
- }
- else
- {
- isUpgrad = false;
- }
- return isUpgrad;
- }
- }
-
- public bool IsPerfectGetSuitLv(int itemId, int equipPlace)
- {
- ItemConfig itemConfig = ItemConfig.Get(itemId);
- if (itemConfig == null)
- return false;
-
- bool isPerfect = true;
- if (IsMakerSuit(SuitType.LowSuit, itemConfig.ItemColor, itemConfig.StarLevel))
- {
- int suitLv = GetServerSuitLv(equipPlace, (int)SuitType.LowSuit);
- if (suitLv > 0)
- {
- if (itemConfig.LV < suitLv)
- {
- isPerfect = false;
- }
- }
- else
- {
- isPerfect = false;
- }
- }
- else if (IsMakerSuit(SuitType.HighSuit, itemConfig.ItemColor, itemConfig.StarLevel))
- {
- int suitLv = GetServerSuitLv(equipPlace, (int)SuitType.HighSuit);
- if (suitLv > 0)
- {
- if (itemConfig.LV < suitLv)
- {
- isPerfect = false;
- }
- }
- else
- {
- isPerfect = false;
- }
- }
- else
- {
- isPerfect = false;
- }
-
- return isPerfect;
-
- }
-
- public Dictionary<SuitType, ReplaceSuit> SetReplaceSuitModel(int itemId, int equipPlace)
- {
- ItemConfig itemConfig = ItemConfig.Get(itemId);
- Dictionary<SuitType, ReplaceSuit> replaceDict = new Dictionary<SuitType, ReplaceSuit>();
- if (itemConfig == null)
- return replaceDict;
-
- ItemModel putOnModel = playerPack.GetItemByIndex(PackType.Equip, equipPlace);
-
- ReplaceSuit replaceLowSuit = new ReplaceSuit();
- replaceLowSuit.isNoEffect = false;
- replaceLowSuit.isPerfect = false;
- replaceLowSuit.effectLv = 0;
-
- ReplaceSuit replaceHighSuit = new ReplaceSuit();
- replaceHighSuit.isNoEffect = false;
- replaceHighSuit.isPerfect = false;
- replaceHighSuit.effectLv = 0;
- int suitLv = GetServerSuitLv(equipPlace, (int)SuitType.LowSuit);
- int realSuitLv = 0;
- if(putOnModel != null)
- {
- if(IsMakerSuit(SuitType.LowSuit, putOnModel.config.ItemColor, putOnModel.config.StarLevel))
- {
- if(putOnModel.config.LV < suitLv)
- {
- realSuitLv = putOnModel.config.LV;
- }
- else
- {
- realSuitLv = suitLv;
- }
- }
- }
- if (!IsMakerSuit(SuitType.LowSuit, itemConfig.ItemColor, itemConfig.StarLevel))
- {
- if (realSuitLv > 0)
- {
- replaceLowSuit.isNoEffect = true;
- }
- }
- else
- {
- if (realSuitLv > 0)
- {
- if (itemConfig.LV < realSuitLv)
- {
-
- replaceLowSuit.effectLv = itemConfig.LV;
- }
- else
- {
- replaceLowSuit.isPerfect = true;
- }
- }
- }
-
- suitLv = GetServerSuitLv(equipPlace, (int)SuitType.HighSuit);
- realSuitLv = 0;
- if (putOnModel != null)
- {
- if (IsMakerSuit(SuitType.HighSuit, putOnModel.config.ItemColor, putOnModel.config.StarLevel))
- {
- if (putOnModel.config.LV < suitLv)
- {
- realSuitLv = putOnModel.config.LV;
- }
- else
- {
- realSuitLv = suitLv;
- }
- }
- }
- if (!IsMakerSuit(SuitType.HighSuit, itemConfig.ItemColor, itemConfig.StarLevel))
- {
- if (realSuitLv > 0)
- {
- replaceHighSuit.isNoEffect = true;
- }
- }
- else
- {
- if (realSuitLv > 0)
- {
- if (itemConfig.LV < realSuitLv)
- {
- replaceHighSuit.effectLv = itemConfig.LV;
- }
- else
- {
- replaceHighSuit.isPerfect = true;
- }
- }
- }
-
-
- replaceDict.Add(SuitType.LowSuit, replaceLowSuit);
- replaceDict.Add(SuitType.HighSuit, replaceHighSuit);
- return replaceDict;
- }
-
- #region 绾㈢偣閫昏緫澶勭悊
- public const int SUITTYPEBTNREDPOINT_KEY = 106041000;
- public Redpoint typeBtnRedPoint = new Redpoint(MainRedDot.RedPoint_SuitFuncKey, SUITTYPEBTNREDPOINT_KEY);
- public Dictionary<int, Redpoint> suitCellRedPointDict { get; private set; }
- SuitType redSuitType = SuitType.None;
-
- public void SetSuitCellRedPointlist()
- {
- if (suitPartlist == null)
- return;
-
- suitCellRedPointDict = new Dictionary<int, Redpoint>();
- int i = 0;
- for (i = 0; i < suitPartlist.Count; i++)
- {
- int id = MainRedDot.RedPoint_SuitFuncKey * 1000 + i;
- Redpoint suitRedPoint = new Redpoint(MainRedDot.RedPoint_SuitFuncKey, id);
- suitCellRedPointDict.Add(suitPartlist[i], suitRedPoint);
- }
- }
-
- public void CheckRedPointCondition(out int equipPlace)
- {
- equipPlace = 0;
- for (int i = 0; i < suitPartlist.Count; i++)
- {
- if (suitCellRedPointDict.ContainsKey(suitPartlist[i]))
- {
- suitCellRedPointDict[suitPartlist[i]].state = RedPointState.None;
- }
- }
-
- if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Suit))
- return;
-
- redSuitType = EquipSuitTips.E_SuitType;
- List<int> orderPlacelist = GetEquipOrderlist(redSuitType);
- orderPlacelist.Sort(CompareSuitLV);
-
- for (int i = 0; i < orderPlacelist.Count; i++)
- {
- if (IsShowRedPoint(orderPlacelist[i], redSuitType))
- {
- suitCellRedPointDict[orderPlacelist[i]].state = RedPointState.Simple;
- equipPlace = orderPlacelist[i];
- return;
- }
- }
- if (IsReachSuitActive(redSuitType, orderPlacelist, out equipPlace))
- {
- suitCellRedPointDict[equipPlace].state = RedPointState.Simple;
- return;
- }
- }
-
- public void CheckTypeBtnRedPointCondition()
- {
- typeBtnRedPoint.state = RedPointState.None;
- if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Suit))
- return;
-
- redSuitType = SuitType.None;
- switch (EquipSuitTips.E_SuitType)
- {
- case SuitType.LowSuit:
- redSuitType = SuitType.HighSuit;
- break;
- case SuitType.HighSuit:
- redSuitType = SuitType.LowSuit;
- break;
- }
-
- List<int> orderPlacelist = GetEquipOrderlist(redSuitType);
- orderPlacelist.Sort(CompareSuitLV);
-
- for (int i = 0; i < orderPlacelist.Count; i++)
- {
- if (IsShowRedPoint(orderPlacelist[i], redSuitType))
- {
- typeBtnRedPoint.state = RedPointState.Simple;
- return;
- }
-
- }
- int equipPlace = 0;
- if (IsReachSuitActive(redSuitType, orderPlacelist, out equipPlace))
- {
- typeBtnRedPoint.state = RedPointState.Simple;
- return;
- }
- }
-
- public int CompareSuitLV(int startPlace, int endPlace)
- {
- int startSuitLv = GetServerSuitLv(startPlace, (int)redSuitType);
- int endSuitLv = GetServerSuitLv(endPlace, (int)redSuitType);
- if (startSuitLv.CompareTo(endSuitLv) != 0)
- return startSuitLv.CompareTo(endSuitLv);
- int startIndex = suitPartlist.IndexOf(startPlace);
- int endIndex = suitPartlist.IndexOf(endPlace);
- if (startIndex.CompareTo(endIndex) != 0)
- return startIndex.CompareTo(endIndex);
-
- return 0;
- }
-
- private bool IsShowRedPoint(int equipPlace, SuitType suitType)
- {
- int groupType = GetGroupType(equipPlace);
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip, equipPlace);
- if (groupType == 0 || itemModel == null)
- return false;
-
- bool isShow = false;
- int suitLv = GetServerSuitLv(equipPlace, (int)suitType);
-
- EquipSuitCompoundConfig matConfig = EquipSuitCompoundConfig.GetMakerEquipSuitMatModel((int)suitType,
- equipPlace, suitLv + 1, GetEquipJob(itemModel.itemId));
-
- var suitAttrData = EquipSuitAttrConfig.GetSuitAttrData(groupType
- , (int)suitType, 1, GetEquipJob(itemModel.itemId));
- EquipSuitAttrConfig attrConfig = suitAttrData == null ? null : suitAttrData.attrConfig;
-
- bool isUpgrad = IsUpgradSuitLv(equipPlace,(int)suitType,suitLv);
- if (isUpgrad)
- {
- bool isMatEnough = true;
- if (matConfig != null)
- {
- int[] matIds = matConfig.CostItemID;
- int[] matCnts = matConfig.CostItemCnt;
- for (int i = 0; i < matIds.Length; i++)
- {
- int haveCnt = playerPack.GetItemCountByID(PackType.Item, matIds[i]);
- if (haveCnt < matCnts[i])
- {
- isMatEnough = false;
- break;
- }
- }
- }
- else
- {
- isMatEnough = false;
- }
-
- if (isMatEnough)
- {
- List<int> placelist = null;
- int nowSuitCnt = GetSameSuitCnt(suitType, equipPlace, suitLv, out placelist);
- int willSuitCnt = GetSameSuitCnt(suitType, equipPlace, suitLv + 1, out placelist) + 1;
- DebugEx.Log("瑁呭浣嶇疆锛�" + equipPlace);
- if (IsAdaptRules(groupType, nowSuitCnt, willSuitCnt, attrConfig))
- {
- isShow = true;
- }
- }
- }
-
- return isShow;
- }
-
- private bool IsAdaptRules(int groupType, int nowSuitCnt, int willSuitCnt, EquipSuitAttrConfig attrConfig)
- {
- if (attrConfig == null)
- return false;
-
- bool isAdapt = true;
- if (willSuitCnt != attrConfig.count1 && willSuitCnt != attrConfig.count2 && willSuitCnt != attrConfig.count3)
- {
- isAdapt = false;
- }
- //DesignDebug.Log("groupType:" + groupType + "NowSuitCnt:" + nowSuitCnt + "willSuitCnt:" + willSuitCnt);
- //if (nowSuitCnt == attrConfig.count1 || nowSuitCnt == attrConfig.count2 || nowSuitCnt == attrConfig.count3)
- //{
- // if (willSuitCnt != attrConfig.count1 && willSuitCnt != attrConfig.count2 && willSuitCnt != attrConfig.count3)
- // {
- // isAdapt = false;
- // }
- //}
- return isAdapt;
- }
-
- public bool IsReachSuitActive(SuitType suitType, List<int> partlist, out int equipPlace)
- {
- equipPlace = 0;
- if (partlist == null)
- return false;
-
- Dictionary<int, Dictionary<int, int>> needMatCntDict = new Dictionary<int, Dictionary<int, int>>(); //缇ょ粍 id 鏁伴噺
- Dictionary<int, int> minActiveSuitCntDic = new Dictionary<int, int>();
- Dictionary<int, List<int>> upgradEquipPlaceDict = new Dictionary<int, List<int>>();
- for (int i = 0; i < partlist.Count; i++)
- {
- int groupType = GetGroupType(partlist[i]);
- int suitLv = GetServerSuitLv(partlist[i], (int)suitType);
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip, partlist[i]);
- if (itemModel != null)
- {
- bool isUpgrad = IsUpgradSuitLv(partlist[i], (int)suitType, suitLv);
- EquipSuitCompoundConfig matConfig = EquipSuitCompoundConfig.GetMakerEquipSuitMatModel((int)suitType,
- partlist[i], suitLv + 1, GetEquipJob(itemModel.itemId));
-
- if (isUpgrad)
- {
- if (matConfig != null)
- {
- if (!needMatCntDict.ContainsKey(groupType))
- {
- Dictionary<int, int> matCntDict = new Dictionary<int, int>();
- needMatCntDict.Add(groupType, matCntDict);
- //minActiveSuitCntDic.Add(groupType, 1);
- List<int> equipPlacelist = new List<int>();
- upgradEquipPlaceDict.Add(groupType, equipPlacelist);
- }
-
- int[] matIds = matConfig.CostItemID;
- int[] matCnts = matConfig.CostItemCnt;
- for (int j = 0; j < matIds.Length; j++)
- {
- if (!needMatCntDict[groupType].ContainsKey(matIds[j]))
- {
- needMatCntDict[groupType].Add(matIds[j], matCnts[j]);
- }
- else
- {
- needMatCntDict[groupType][matIds[j]] += matCnts[j];
- }
- }
-
- bool isReach = true;
- foreach(var id in needMatCntDict[groupType].Keys)
- {
- int haveCnt = playerPack.GetItemCountByID(PackType.Item, id);
- if (haveCnt < needMatCntDict[groupType][id])
- {
- isReach = false;
- break;
- }
- }
- if(isReach)
- {
- upgradEquipPlaceDict[groupType].Add(partlist[i]);
- }
- }
- }
- }
- }
-
- foreach(var type in upgradEquipPlaceDict.Keys)
- {
- if(upgradEquipPlaceDict[type].Count > 0)
- {
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip, upgradEquipPlaceDict[type][0]);
- var suitAttrData = EquipSuitAttrConfig.GetSuitAttrData(type
- , (int)suitType, 1, GetEquipJob(itemModel.itemId));
- EquipSuitAttrConfig attrConfig = suitAttrData == null ? null : suitAttrData.attrConfig;
- if(attrConfig != null)
- {
- if (upgradEquipPlaceDict[type].Count >= attrConfig.count1)
- {
- equipPlace = upgradEquipPlaceDict[type][0];
- return true;
- }
- }
- }
- }
- return false;
- }
- #endregion
-
- #region 鎴愬氨鍓嶅線鏁版嵁
- public SuitType jumpToSuitType { get; private set;}
- public int jumpToGroupType { get; private set; } //1.闃插叿 2.浠欏櫒
- public int jumpToEquipPlace { get; private set; }
- /// <summary>
- /// 璁剧疆鎴愬氨鍓嶅線鏁版嵁
- /// </summary>
- /// <param name="suitType"></param>
- /// <param name="groupType"></param>
- public void SetJumpToModel(SuitType suitType,int groupType)
- {
- jumpToSuitType = suitType;
- jumpToGroupType = groupType;
- //jumpToEquipPlace = GetMakerEquipPlace();
- }
-
- public void ClearJumpModel()
- {
- jumpToSuitType = SuitType.None;
- jumpToGroupType = 0;
- jumpToEquipPlace = 0;
- }
- #endregion
-
- public int GetMakerEquipPlace()
- {
- SinglePack singlePack = playerPack.GetSinglePack(PackType.Equip);
- if (singlePack == null) return 0;
-
- Dictionary<int, ItemModel> dic = singlePack.GetAllItems();
- List<int> placelist = new List<int>();
- placelist.AddRange(suitPartlist);
- placelist.Sort(CompareBySuitLv);
- for(int i = 0; i <placelist.Count; i++)
- {
- int group = GetGroupType(placelist[i]);
- if(dic.ContainsKey(placelist[i]) && group == jumpToGroupType)
- {
- int suitLv = GetServerSuitLv(placelist[i], (int)jumpToSuitType);
- bool isMatEnough = IsEnoughSuitMat((int)jumpToSuitType,placelist[i], suitLv, dic[placelist[i]].itemId);
- bool isMaker = IsMakerSuit(jumpToSuitType, dic[placelist[i]].config.ItemColor, dic[placelist[i]].config.StarLevel);
- if(isMaker && dic[placelist[i]].config.LV > suitLv && isMatEnough)
- {
- return placelist[i];
- }
- }
- }
-
- return 0;
- }
-
- public bool IsEnoughSuitMat(int suitTye,int equipPlace,int suitLv,int itemId)
- {
- EquipSuitCompoundConfig matConfig = EquipSuitCompoundConfig.GetMakerEquipSuitMatModel((int)suitTye,
- equipPlace, suitLv + 1, GetEquipJob(itemId));
-
- bool isMatEnough = true;
- if (matConfig != null)
- {
- int[] matIds = matConfig.CostItemID;
- int[] matCnts = matConfig.CostItemCnt;
- for (int i = 0; i < matIds.Length; i++)
- {
- int haveCnt = playerPack.GetItemCountByID(PackType.Item, matIds[i]);
- if (haveCnt < matCnts[i])
- {
- isMatEnough = false;
- break;
- }
- }
- }
- else
- {
- isMatEnough = false;
- }
-
- return isMatEnough;
- }
-
- public int CompareBySuitLv(int starPlace,int endPlace)
- {
- int suitLv1 = GetServerSuitLv(starPlace,(int)jumpToSuitType);
- int suitLv2 = GetServerSuitLv(endPlace,(int)jumpToSuitType);
- if (suitLv1.CompareTo(suitLv2) != 0) return suitLv1.CompareTo(suitLv2);
-
- int starIndex = suitPartlist.IndexOf(starPlace);
- int endIndex = suitPartlist.IndexOf(endPlace);
- if (starIndex.CompareTo(endIndex) != 0) return starIndex.CompareTo(endIndex);
-
- return 0;
- }
-
- }
-
- public struct ActivateSuitData
- {
- public int suitCnt;
- public EquipSuitAttrConfig.EquipSuitAttrData attrData;
- public List<int> equipPlacelist;
- public ActivateSuitData(int cnt, EquipSuitAttrConfig.EquipSuitAttrData data, List<int> list)
- {
- suitCnt = cnt;
- attrData = data;
- equipPlacelist = list;
- }
- }
-
- public struct ReplaceSuit
- {
- public bool isNoEffect;
- public bool isPerfect;
- public int effectLv;
- }
-}
diff --git a/System/Strengthening/EquipSuit/PlayerSuitModel.cs.meta b/System/Strengthening/EquipSuit/PlayerSuitModel.cs.meta
deleted file mode 100644
index e81db3a..0000000
--- a/System/Strengthening/EquipSuit/PlayerSuitModel.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: ae9ff5d2c43b4c5499cef5622b5aa48c
-timeCreated: 1520487401
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/System/Strengthening/EquipSuit/PreviewCell.cs b/System/Strengthening/EquipSuit/PreviewCell.cs
deleted file mode 100644
index 8f3f8ac..0000000
--- a/System/Strengthening/EquipSuit/PreviewCell.cs
+++ /dev/null
@@ -1,232 +0,0 @@
-锘縰sing System;
-
-using UnityEngine;
-using UnityEngine.UI;
-using System.Collections.Generic;
-
-namespace Snxxz.UI
-{
- public class PreviewCell : MonoBehaviour
- {
- [SerializeField] Text suitNameText;
- [SerializeField] Text partNameText;
- [SerializeField] RectTransform partParent;
- [SerializeField] GameObject suitAttrObj;
- [SerializeField] RectTransform suitAttrParent;
-
- PlayerSuitModel _suitModel;
- PlayerSuitModel SuitModel
- {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
-
- ActivateSuitData suitData;
- EquipSuitAttrConfig suitAttrConfig = null;
- public string suitId { get; private set; }
- public Dictionary<int,Text> partNameDict = new Dictionary<int, Text>();
- public Dictionary<int, List<Text>> suitAttrDict = new Dictionary<int, List<Text>>();
-
- public readonly Color32 noActivityColor = new Color32(255, 244, 205, 153);
- Color32 lowSuitColor = new Color32(248, 152, 59, 255);
- Color32 highSuitColor = new Color32(250,1,1, 255);
-
- public void InitUI(string suitID)
- {
- this.suitId = suitID;
- suitAttrConfig = EquipSuitAttrConfig.GetSuitAttrDataBySuitID(suitID).attrConfig;
- if (suitAttrConfig == null) return;
- partNameDict.Clear();
- suitAttrDict.Clear();
- CreatePart();
- CreateSuitAttr();
- }
-
- public void RefreshUI(string suitID)
- {
- this.suitId = suitID;
- suitData = SuitModel.GetSingleSuitAttr(suitID);
- if(!suitData.Equals(default(ActivateSuitData)))
- {
- DebugEx.Log("RefreshUI:" + suitID);
- string suitName = StringUtility.Contact(suitData.attrData.attrConfig.name, "锛�", suitData.suitCnt,"/", suitData.attrData.attrConfig.count3, "锛�");
- suitNameText.text = suitName;
- if(suitData.attrData.attrConfig.suiteType == 1)
- {
- suitNameText.color = lowSuitColor;
- }
- else if(suitData.attrData.attrConfig.suiteType == 2)
- {
- suitNameText.color = highSuitColor;
- }
- this.gameObject.SetActive(true);
- foreach (var place in partNameDict.Keys)
- {
- partNameDict[place].gameObject.SetActive(true);
- if(suitData.equipPlacelist.Contains(place))
- {
- partNameDict[place].color = UIHelper.s_DarkGreenColor;
- }
- else
- {
- partNameDict[place].color = noActivityColor;
- }
- }
-
- foreach(var suitCnt in suitAttrDict.Keys)
- {
- if(suitData.suitCnt >= suitCnt)
- {
- for(int i= 0; i < suitAttrDict[suitCnt].Count; i++)
- {
- suitAttrDict[suitCnt][i].color = UIHelper.s_DarkGreenColor;
- }
- }
- else
- {
- for (int i = 0; i < suitAttrDict[suitCnt].Count; i++)
- {
- suitAttrDict[suitCnt][i].color = noActivityColor;
- }
- }
- }
- }
- else
- {
- this.gameObject.SetActive(false);
- }
- }
-
- private void CreatePart()
- {
- for(int i = 0; i < suitAttrConfig.count3;i++)
- {
- Text go = Instantiate(partNameText);
- partNameText.gameObject.SetActive(false);
- go.transform.SetParent(partParent);
- go.transform.localPosition = Vector3.zero;
- go.transform.localScale = Vector3.one;
- string partName = StringUtility.Contact(suitAttrConfig.name, UIHelper.GetEquipPlaceName(SuitModel.GetEquipPlaceByGroupType(suitAttrConfig.groupType)[i]));
- go.text = partName;
- int equipPlace = SuitModel.GetEquipPlaceByGroupType(suitAttrConfig.groupType)[i];
- partNameDict.Add(equipPlace,go);
- }
- }
-
- private void CreateSuitAttr()
- {
- var suitAttrData = EquipSuitAttrConfig.GetSuitAttrDataBySuitID(this.suitId);
- int[] firstProlist = suitAttrData.attr1Ids;
- int[] firstProValuelist = suitAttrData.attr1Values;
- int[] secondProlist = suitAttrData.attr2Ids;
- int[] secondProValuelist = suitAttrData.attr2Values;
- int[] thirdProlist = suitAttrData.attr3Ids;
- int[] thirdProValuelist = suitAttrData.attr3Values;
-
- int sumLength = firstProlist.Length + secondProlist.Length + thirdProlist.Length;
- int length1 = firstProlist.Length;
- int length2 = firstProlist.Length + secondProlist.Length;
- List<Text> attrCnt1Textlist = new List<Text>();
- List<Text> attrCnt2Textlist = new List<Text>();
- List<Text> attrCnt3Textlist = new List<Text>();
- for (int i = 0; i < sumLength; i++)
- {
- GameObject go = Instantiate(suitAttrObj);
- suitAttrObj.SetActive(false);
- go.SetActive(true);
- go.transform.SetParent(suitAttrParent);
- go.transform.localPosition = Vector3.zero;
- go.transform.localScale = Vector3.one;
- Text numText = go.transform.Find("NumText").GetComponent<Text>();
- Text attrDesText = go.transform.Find("AttrDes").GetComponent<Text>();
- if (i == 0)
- {
- numText.text = Language.Get("EquipSuit111", suitAttrConfig.count1.ToString());
- numText.gameObject.SetActive(true);
- }
- else if (i == length1)
- {
- numText.text = Language.Get("EquipSuit111", suitAttrConfig.count2.ToString());
- numText.gameObject.SetActive(true);
- }
- else if (i == length2)
- {
- numText.text = Language.Get("EquipSuit111", suitAttrConfig.count3.ToString());
- numText.gameObject.SetActive(true);
- }
- else
- {
- numText.gameObject.SetActive(false);
- }
-
- PlayerPropertyConfig playerproModel = null;
- string attrDes = "";
- if (i < length1)
- {
- playerproModel = PlayerPropertyConfig.Get(firstProlist[i]);
- if (playerproModel != null)
- {
- attrDes = StringUtility.Contact(playerproModel.Name,"+", GetProValueTypeStr(playerproModel, firstProValuelist[i]));
- attrDesText.text = attrDes;
- }
- attrCnt1Textlist.Add(numText);
- attrCnt1Textlist.Add(attrDesText);
- if (!suitAttrDict.ContainsKey(suitAttrConfig.count1))
- {
- suitAttrDict.Add(suitAttrConfig.count1, attrCnt1Textlist);
- }
- }
-
- else if (i >= length1 && i < length2)
- {
- playerproModel = PlayerPropertyConfig.Get(secondProlist[i - length1]);
- if (playerproModel != null)
- {
- attrDes = StringUtility.Contact(playerproModel.Name, "+", GetProValueTypeStr(playerproModel, secondProValuelist[i-length1]));
- attrDesText.text = attrDes;
- }
- attrCnt2Textlist.Add(numText);
- attrCnt2Textlist.Add(attrDesText);
- if (!suitAttrDict.ContainsKey(suitAttrConfig.count2))
- {
- suitAttrDict.Add(suitAttrConfig.count2, attrCnt2Textlist);
- }
- }
-
- else if (i >= length2 && i < sumLength)
- {
- playerproModel = PlayerPropertyConfig.Get(thirdProlist[i - length2]);
- if (playerproModel != null)
- {
- attrDes = StringUtility.Contact(playerproModel.Name, "+", GetProValueTypeStr(playerproModel, thirdProValuelist[i - length2]));
- attrDesText.text = attrDes;
- }
- attrCnt3Textlist.Add(numText);
- attrCnt3Textlist.Add(attrDesText);
- if (!suitAttrDict.ContainsKey(suitAttrConfig.count3))
- {
- suitAttrDict.Add(suitAttrConfig.count3, attrCnt3Textlist);
- }
- }
-
- }
- }
-
- public string GetProValueTypeStr(PlayerPropertyConfig playerproModel, int value)
- {
- string s = "";
- if (playerproModel.ISPercentage == 0)
- {
- s = value.ToString();
- }
- else if (playerproModel.ISPercentage == 1)
- {
- s = (float)Math.Round(value / 100f, 1) + "%";
- }
- else if (playerproModel.ISPercentage == 2)
- {
- s = ((float)Math.Round(value / 100f, 1)).ToString();
- }
- return s;
- }
- }
-}
diff --git a/System/Strengthening/EquipSuit/PreviewCell.cs.meta b/System/Strengthening/EquipSuit/PreviewCell.cs.meta
deleted file mode 100644
index 8954519..0000000
--- a/System/Strengthening/EquipSuit/PreviewCell.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 0f6ec0383c45fac409559a3e22a101e7
-timeCreated: 1520580246
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/System/Strengthening/EquipSuitCell.cs b/System/Strengthening/EquipSuitCell.cs
deleted file mode 100644
index bf9b8dc..0000000
--- a/System/Strengthening/EquipSuitCell.cs
+++ /dev/null
@@ -1,157 +0,0 @@
-锘縰sing Snxxz.UI;
-using System.Collections.Generic;
-
-using UnityEngine;
-using UnityEngine.UI;
-
-public class EquipSuitCell : CellView
-{
- [SerializeField]
- public Button suitCellToggle;
- [SerializeField]
- public GameObject equipBg;
- [SerializeField]
- public ItemCell itemCell;
- [SerializeField]
- public GameObject haveEquip;
- [SerializeField]
- public Text haveCondiText;
- [SerializeField]
- public GameObject noEquip;
- [SerializeField]
- public Text placeText;
- [SerializeField]
- public Text condiText;
-
- [SerializeField]
- public Text nameText;
- [SerializeField]
- public GameObject suitLvObj;
- [SerializeField]
- public Text suitLvText;
- [SerializeField]
- public GameObject selectImg;
- [SerializeField]
- public GameObject unSelectImg;
- [SerializeField]
- public Image groupTypeIcon;
- [SerializeField]
- public RedpointBehaviour redpoint;
-
- PlayerSuitModel _suitModel;
- PlayerSuitModel SuitModel
- {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
-
- PackModel _playerPack;
- PackModel playerPack
- {
- get { return _playerPack ?? (_playerPack = ModelCenter.Instance.GetModel<PackModel>()); }
- }
-
- public void SetDisplayModel(int repointId,int equipPlace,SuitType suitType,int selectIndex)
- {
- redpoint.redpointId = repointId;
- int suitLv = SuitModel.GetServerSuitLv(equipPlace, (int)suitType);
- int groupType = SuitModel.GetGroupType(equipPlace);
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip,equipPlace);
- suitLvObj.SetActive(false);
- haveCondiText.gameObject.SetActive(false);
- if (itemModel != null)
- {
- itemCell.gameObject.SetActive(true);
- itemCell.Init(itemModel);
- bool isMaker = SuitModel.IsMakerSuit(suitType, itemModel.config.ItemColor, itemModel.config.StarLevel);
- switch (suitType)
- {
- case SuitType.LowSuit:
- if (!isMaker)
- {
- haveEquip.SetActive(false);
- noEquip.SetActive(true);
- placeText.text = Language.Get("EquipWash101") + UIHelper.GetEquipPlaceName(equipPlace);
- condiText.text = Language.Get("EquipSuitUnLowNeed",StringUtility.Contact(Language.Get("EquipSuitOrange"), 1, Language.Get("EquipSuitStar")));
- }
- else
- {
- haveEquip.SetActive(true);
- noEquip.SetActive(false);
-
- if (suitLv > 0)
- {
- suitLvObj.SetActive(true);
- suitLvText.text = Language.Get("EquipSuitLV", suitLv);
- }
- }
- break;
- case SuitType.HighSuit:
- int lowSuitLv = SuitModel.GetServerSuitLv(equipPlace,(int)SuitType.LowSuit);
- if (!isMaker)
- {
- haveEquip.SetActive(false);
- noEquip.SetActive(true);
- placeText.text = Language.Get("EquipWash101") + UIHelper.GetEquipPlaceName(equipPlace);
- condiText.text = Language.Get("EquipSuitUnLowNeed", StringUtility.Contact(Language.Get("EquipSuitRed"),2, Language.Get("EquipSuitStar")));
- }
- else
- {
- haveEquip.SetActive(true);
- noEquip.SetActive(false);
- if (suitLv > 0)
- {
- suitLvObj.SetActive(true);
- suitLvText.text = Language.Get("EquipSuitLV", suitLv);
- }
-
- if(suitLv >= lowSuitLv && !SuitModel.IsReachMax(equipPlace,(int)suitType,suitLv))
- {
- haveCondiText.gameObject.SetActive(true);
- haveCondiText.text = Language.Get("NewEquipSuitNormal",lowSuitLv + 1);
- }
- }
- break;
- }
- nameText.text = UIHelper.AppendStringColor(itemModel.config.ItemColor, itemModel.config.ItemName, true);
- }
- else
- {
- haveEquip.SetActive(false);
- noEquip.SetActive(true);
- itemCell.gameObject.SetActive(false);
- placeText.text = Language.Get("EquipWash101") + UIHelper.GetEquipPlaceName(equipPlace);
- switch (suitType)
- {
- case SuitType.LowSuit:
- condiText.text = Language.Get("EquipSuitUnLowNeed", StringUtility.Contact(Language.Get("EquipSuitOrange"), 1, Language.Get("EquipSuitStar")));
- break;
- case SuitType.HighSuit:
- condiText.text = Language.Get("EquipSuitUnLowNeed", StringUtility.Contact(Language.Get("EquipSuitRed"), 2, Language.Get("EquipSuitStar")));
- break;
- }
- }
-
- if (this.index == selectIndex)
- {
- selectImg.SetActive(true);
- unSelectImg.SetActive(false);
- }
- else
- {
- selectImg.SetActive(false);
- unSelectImg.SetActive(true);
- }
-
- switch(groupType)
- {
- case 1:
- groupTypeIcon.SetSprite("Biaoqian_fang");
- break;
- case 2:
- groupTypeIcon.SetSprite("Biaoqian_Xian");
- break;
- }
- }
-
-
-}
diff --git a/System/Strengthening/EquipSuitCell.cs.meta b/System/Strengthening/EquipSuitCell.cs.meta
deleted file mode 100644
index 55f4242..0000000
--- a/System/Strengthening/EquipSuitCell.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: cd4d1b9b42af79242a7b7de3b9aa0a7f
-timeCreated: 1508579151
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/System/Strengthening/EquipSuitTips.cs b/System/Strengthening/EquipSuitTips.cs
deleted file mode 100644
index 41dfb47..0000000
--- a/System/Strengthening/EquipSuitTips.cs
+++ /dev/null
@@ -1,905 +0,0 @@
-锘縰sing System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.UI;
-
-using System.Collections;
-using System.Linq;
-using System.Text;
-using Snxxz.UI;
-using System;
-using Snxxz;
-
-public class EquipSuitTips : MonoBehaviour
-{
- #region 灞炴��
-
- [SerializeField] private Transform _suitCellParent;
- [SerializeField] private Button _equipMaker; //瑁呭閿婚��
- [SerializeField] private Button splitBtn; //鎷嗚В濂楄
- [SerializeField] private Transform _equipParent;
- [SerializeField] private Transform _material1Parent;
- [SerializeField] private Transform _material2Parent;
- [SerializeField] private Transform _material3Parent;
- [SerializeField] private Text _makerSuitName;
- [SerializeField] private Text _makerSuitNumber;
- [SerializeField] private Text _needConditionText;
- [SerializeField] private GameObject _armorSuitGo;
- [SerializeField] private GameObject _equipSuitGo;
-
- [SerializeField] private Button _previewBtn;
- [SerializeField] private ScrollerController _equipSuitCtrl;
- [SerializeField] private ScrollRect _suitCellRect;
- [SerializeField] private ScrollerController _suitProCtrl;
- [SerializeField] UIEffect oneMatEffect;
- [SerializeField] UIEffect twoMatEffect;
- [SerializeField] UIEffect threeMatEffect;
- [SerializeField] UIEffect makeSuccessEffect;
- [SerializeField] UIEffect makerEquipEffect;
- [SerializeField] SuitTypeSwitchBtn swichBtn;
- [SerializeField] GameObject maxSuitLvObj;
- [SerializeField] GameObject makerMatlistObj;
- [SerializeField] Text upgradeLvText;
- #endregion
-
- #region 鏁版嵁
- private List<int> equipPartlist;
- private EquipSuitAttrConfig _equipSuitProModel;
- private EquipSuitCompoundConfig _equipSuitMatModel;
- private List<Transform> _materialPoslist = new List<Transform>();
-
- HowToPlayModel _toPlayModel;
- HowToPlayModel toPlayModel
- {
- get { return _toPlayModel ?? (_toPlayModel = ModelCenter.Instance.GetModel<HowToPlayModel>()); }
- }
-
- PlayerSuitModel _suitModel;
- PlayerSuitModel SuitModel
- {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
-
-
- GetItemPathModel _itemPathModel;
- GetItemPathModel itemPathModel
- {
- get { return _itemPathModel ?? (_itemPathModel = ModelCenter.Instance.GetModel<GetItemPathModel>()); }
- }
-
-
- ItemTipsModel _itemTipsModel;
- ItemTipsModel itemTipsModel
- {
- get
- {
- return _itemTipsModel ?? (_itemTipsModel = ModelCenter.Instance.GetModel<ItemTipsModel>());
- }
- }
-
- PackModel _playerPack;
- PackModel playerPack
- {
- get { return _playerPack ?? (_playerPack = ModelCenter.Instance.GetModel<PackModel>()); }
- }
-
- private int presentIndex; //鐢ㄤ簬璁板綍褰撳墠閫夐」
- private string suitId;
- public static SuitType E_SuitType = SuitType.LowSuit;
- public int equipPlace = 0;
- public int curSuitLv = 0;
- private bool firstOpen = true;
- [SerializeField] float offest = 50;
- #endregion
-
- private int redEquipPlace = 0;
- AchievementGuideEffect guideEffect = null;
-
- private void OnEnable()
- {
- guideEffect = null;
- swichBtn.switchBtn.AddListener(OnClickSwitchBtn);
- _previewBtn.onClick.AddListener(OnClickPreViewBtn);
- _equipSuitCtrl.OnRefreshCell += RefreshEquipSuitCell;
- _suitProCtrl.OnRefreshCell += RefreshSuitProCell;
- DTC0721_tagMakeItemAnswer.MakeItemAnswerEvent += GetMakeResult;
- //_equipSuitCtrl.lockType = EnhanceLockType.KeepVertical;
- SuitModel.RefreshSuitModelAct += CreateEquipSuitCell;
- _materialPoslist.Clear();
- _materialPoslist.Add(_material1Parent);
- _materialPoslist.Add(_material2Parent);
- _materialPoslist.Add(_material3Parent);
- firstOpen = true;
- CheckJumpToModel();
- }
-
- private void OnDisable()
- {
- swichBtn.switchBtn.RemoveAllListeners();
- _previewBtn.onClick.RemoveAllListeners();
- _equipSuitCtrl.OnRefreshCell -= RefreshEquipSuitCell;
- _suitProCtrl.OnRefreshCell -= RefreshSuitProCell;
- DTC0721_tagMakeItemAnswer.MakeItemAnswerEvent -= GetMakeResult;
- SuitModel.RefreshSuitModelAct -= CreateEquipSuitCell;
- SuitModel.ClearJumpModel();
- E_SuitType = SuitType.LowSuit;
- int equipPlace = 0;
- SuitModel.CheckRedPointCondition(out equipPlace);
- SuitModel.CheckTypeBtnRedPointCondition();
- AchievementGoto.guideAchievementId = 0;
- }
-
- private void CheckJumpToModel()
- {
- SuccessConfig successConfig = SuccessConfig.Get(AchievementGoto.guideAchievementId);
- if (successConfig != null && successConfig.Type == 92)
- {
- AchievementGoto.guideAchievementId = 0;
- E_SuitType = SuitModel.jumpToSuitType;
- }
- else
- {
- if(!WindowJumpMgr.Instance.IsJumpState)
- {
- E_SuitType = SuitType.LowSuit;
- bool isSwitch = true;
- foreach (var red in SuitModel.suitCellRedPointDict.Values)
- {
- if (red.state == RedPointState.Simple)
- {
- isSwitch = false;
- break;
- }
- }
- if (SuitModel.typeBtnRedPoint.state == RedPointState.Simple && isSwitch)
- {
- E_SuitType = SuitType.HighSuit;
- }
- }
- }
- equipPartlist = SuitModel.GetEquipOrderlist(E_SuitType);
- CreateEquipSuitCell();
- StartCoroutine(SetOffestPos());
- }
-
- private void CreateEquipSuitCell()
- {
- int equipPlace = 0;
- SuitModel.CheckRedPointCondition(out equipPlace);
- if (_equipSuitCtrl.GetNumberOfCells(_equipSuitCtrl.m_Scorller) > 0)
- {
- _equipSuitCtrl.m_Scorller.RefreshActiveCellViews();
- }
- else
- {
- _equipSuitCtrl.Refresh();
- for (int i = 0; i < equipPartlist.Count; i++)
- {
- _equipSuitCtrl.AddCell(ScrollerDataType.Header, i);
- }
- _equipSuitCtrl.Restart();
- }
- ChooseSuitCell();
- SuitModel.CheckTypeBtnRedPointCondition();
- }
-
- private IEnumerator SetOffestPos()
- {
- yield return null;
- redEquipPlace = 0;
- int equipPlace = 0;
- SuitModel.CheckRedPointCondition(out equipPlace);
- int index = 0;
- for (int i = 0; i < equipPartlist.Count; i++)
- {
- if (equipPlace == equipPartlist[i])
- {
- redEquipPlace = equipPlace;
- index = i;
- if(SuitModel.jumpToGroupType != 0)
- {
- guideEffect = AchievementGuideEffectPool.Require(1);
- guideEffect.transform.SetParentEx(_equipMaker.transform, Vector3.zero, Quaternion.identity, Vector3.one);
- }
- break;
- }
- }
- presentIndex = index;
- _equipSuitCtrl.JumpIndex(index);
- _equipSuitCtrl.m_Scorller.RefreshActiveCellViews();
- ChooseSuitCell();
- yield return null;
- if (presentIndex != 0)
- {
- _equipSuitCtrl.JumpIndex(-offest, 0, EnhancedUI.EnhancedScroller.EnhancedScroller.TweenType.immediate);
- }
- }
-
- private void ChooseSuitCell()
- {
- int realSuitLv = 0;
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip, equipPartlist[presentIndex]);
- int suitLv = SuitModel.GetServerSuitLv(equipPartlist[presentIndex], (int)E_SuitType);
- if (itemModel != null)
- {
- bool isMaker = SuitModel.IsMakerSuit(E_SuitType, itemModel.config.ItemColor, itemModel.config.StarLevel);
- realSuitLv = suitLv;
- switch (E_SuitType)
- {
- case SuitType.LowSuit:
- if (!isMaker)
- {
- realSuitLv = 0;
- }
- else
- {
- if (suitLv != 0)
- {
- if (suitLv > itemModel.config.LV)
- {
- realSuitLv = itemModel.config.LV;
- }
- }
- }
- break;
- case SuitType.HighSuit:
- int lowSuitLv = SuitModel.GetServerSuitLv(equipPartlist[presentIndex], (int)SuitType.LowSuit);
- if (!isMaker)
- {
- realSuitLv = 0;
- }
- else
- {
- if (suitLv != 0)
- {
- if (suitLv > itemModel.config.LV)
- {
- realSuitLv = itemModel.config.LV;
- }
- }
- }
- break;
- }
- }
-
- OnClickSuitCell(realSuitLv,presentIndex);
-
- }
-
- private void RefreshEquipSuitCell(ScrollerDataType type, CellView cell)
- {
- EquipSuitCell suitCell = cell.GetComponent<EquipSuitCell>();
- int equipPlace = equipPartlist[cell.index];
- int suitLv = SuitModel.GetServerSuitLv(equipPlace, (int)E_SuitType);
- if (suitCell != null)
- {
- suitCell.SetDisplayModel(SuitModel.suitCellRedPointDict[equipPlace].id,equipPlace,E_SuitType,presentIndex);
- }
-
- suitCell.suitCellToggle.RemoveAllListeners();
- suitCell.suitCellToggle.AddListener(()=>{
- OnClickSuitCell(suitLv, cell.index);
- });
- }
-
- private void OnClickSuitCell(int realSuitLv,int index)
- {
- presentIndex = index;
- curSuitLv = realSuitLv;
- equipPlace = equipPartlist[index];
- ControllerShowMidUI(equipPlace, realSuitLv);
- ControllerShowRightUI(equipPlace,realSuitLv);
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip, equipPlace);
-
- if(equipPlace != redEquipPlace)
- {
- if(guideEffect != null)
- {
- AchievementGuideEffectPool.Recycle(guideEffect);
- guideEffect = null;
- SuitModel.ClearJumpModel();
- }
- }
-
- if(itemModel == null)
- {
- ChangeMakerBtnState(false, Language.Get("EquipSuit_Cannot"));
- }
- else
- {
- bool isMaker = SuitModel.IsMakerSuit(E_SuitType, itemModel.config.ItemColor, itemModel.config.StarLevel);
- if(!isMaker)
- {
- ChangeMakerBtnState(false, Language.Get("EquipSuit_Cannot"));
- }
- else
- {
- if(SuitModel.IsUpgradSuitLv(equipPartlist[index],(int)E_SuitType,realSuitLv))
- {
- switch (E_SuitType)
- {
- case SuitType.LowSuit:
- ChangeMakerBtnState(true, Language.Get("EquipSuitPanel_SmithTxt_1"));
- break;
- case SuitType.HighSuit:
- ChangeMakerBtnState(true, Language.Get("EquipSuitPanel_SmithTxt_2"));
- break;
- }
- }
- else
- {
- switch (E_SuitType)
- {
- case SuitType.LowSuit:
- ChangeMakerBtnState(false, Language.Get("EquipSuit_Finished"));
- break;
- case SuitType.HighSuit:
- bool isReachMax = SuitModel.IsReachMax(equipPartlist[index],(int)SuitType.HighSuit,realSuitLv);
- if(!isReachMax
- && SuitModel.GetServerSuitLv(equipPartlist[index], (int)SuitType.LowSuit) <= SuitModel.GetServerSuitLv(equipPartlist[index], (int)SuitType.HighSuit))
- {
- ChangeMakerBtnState(false, Language.Get("EquipSuit_Cannot"));
- }
- else
- {
- ChangeMakerBtnState(false, Language.Get("EquipSuit_Finished"));
- }
- break;
- }
-
- }
- }
- }
-
- int serverSuitLv = SuitModel.GetServerSuitLv(equipPlace,(int)E_SuitType);
- if(serverSuitLv > 0)
- {
- splitBtn.gameObject.SetActive(true);
- splitBtn.RemoveAllListeners();
- splitBtn.AddListener(()=>
- {
- switch (E_SuitType)
- {
- case SuitType.LowSuit:
- ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("EquipSuitSplit101", UIHelper.GetEquipPlaceName(equipPlace)),
- (bool isOk) =>
- {
- if (isOk)
- {
- SuitModel.SendSplitSuit(equipPlace,E_SuitType);
- }
- });
- break;
- case SuitType.HighSuit:
- ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("EquipSuitSplit102", UIHelper.GetEquipPlaceName(equipPlace)),
- (bool isOk) =>
- {
- if (isOk)
- {
- SuitModel.SendSplitSuit(equipPlace, E_SuitType);
- }
- });
- break;
- }
-
- });
- }
- else
- {
- splitBtn.gameObject.SetActive(false);
- }
-
- _equipSuitCtrl.m_Scorller.RefreshActiveCellViews();
- }
-
- public void ChangeMakerBtnState(bool isClick, string btnDes)
- {
- Text btnText = _equipMaker.transform.Find("SmithTxt").GetComponent<Text>();
- Image btnIcon = _equipMaker.GetComponent<Image>();
- btnText.text = btnDes;
- _equipMaker.RemoveAllListeners();
- if (isClick)
- {
- _equipMaker.interactable = true;
- _equipMaker.onClick.AddListener(OnClickEquipMaker);
- btnIcon.SetSprite("CanUseBtn");
- }
- else
- {
- _equipMaker.interactable = false;
- btnIcon.SetSprite("BlackBtn_a");
- }
- }
-
- public void IsLockGridCell(bool islock, GameObject go)
- {
-
- GameObject itemCell = go.transform.Find("ItemCell").gameObject;
- GameObject gridLock = go.transform.Find("GridLock").gameObject;
- GameObject lockBg = go.transform.Find("ItemBG").gameObject;
- if (islock)
- {
- itemCell.SetActive(false);
- gridLock.SetActive(true);
- lockBg.SetActive(true);
- }
- else
- {
- itemCell.SetActive(true);
- gridLock.SetActive(false);
- lockBg.SetActive(false);
- }
-
- }
-
- public void ControllerShowMidUI(int equipPlace,int realSuitLv)
- {
- swichBtn.SetInit(E_SuitType);
- GameObject equipGridCell = _equipParent.transform.Find("GridCell").gameObject;
- GameObject mater1GridCell = _material1Parent.transform.Find("GridCell").gameObject;
- GameObject mater2GridCell = _material2Parent.transform.Find("GridCell").gameObject;
- GameObject mater3GridCell = _material3Parent.transform.Find("GridCell").gameObject;
- maxSuitLvObj.SetActive(false);
- makerMatlistObj.SetActive(true);
-
- if (makerEquipEffect.IsPlaying)
- {
- makerEquipEffect.StopImediatly();
- }
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip,equipPlace);
-
- if (itemModel == null)
- {
- IsLockGridCell(true, equipGridCell);
- IsLockGridCell(true, mater1GridCell);
- IsLockGridCell(true, mater2GridCell);
- IsLockGridCell(true, mater3GridCell);
- }
- else
- {
- IsLockGridCell(false, equipGridCell);
- ItemCell itemCell = equipGridCell.transform.Find("ItemCell").GetComponent<ItemCell>();
- //pdr ToDo
- itemCell.Init(itemModel);
- itemCell.cellBtn.RemoveAllListeners();
- itemCell.cellBtn.AddListener(() =>
- {
- itemTipsModel.SetItemTipsModel(PackType.Equip,itemModel.guid);
- });
- bool isMaker = SuitModel.IsMakerSuit(E_SuitType,itemModel.config.ItemColor,itemModel.config.StarLevel);
- if(E_SuitType == SuitType.HighSuit)
- {
- if (isMaker)
- {
- if (!makerEquipEffect.IsPlaying)
- {
- makerEquipEffect.Play();
- }
- }
- }
-
- if(SuitModel.IsNeedUpgradEquipLv(equipPlace,(int)E_SuitType))
- {
- maxSuitLvObj.SetActive(true);
- makerMatlistObj.SetActive(false);
- upgradeLvText.text = Language.Get("EquipSuitUpgradLv",itemModel.config.LV + 1);
- }
- else
- {
- int suitLv = SuitModel.GetServerSuitLv(equipPlace,(int)E_SuitType);
- if (SuitModel.IsReachMax(equipPlace, (int)E_SuitType,suitLv))
- {
- maxSuitLvObj.SetActive(true);
- makerMatlistObj.SetActive(false);
- upgradeLvText.text = Language.Get("NewEquipSuitFull");
- }
- }
-
- #region 鏉愭枡UI鐨勬樉绀�
- _equipSuitMatModel = EquipSuitCompoundConfig.GetMakerEquipSuitMatModel((int)E_SuitType, equipPlace,SuitModel.GetServerSuitLv(equipPlace,(int)E_SuitType) + 1, SuitModel.GetEquipJob(itemModel.itemId));
- if (_equipSuitMatModel == null || !SuitModel.IsUpgradSuitLv(equipPlace,(int)E_SuitType,curSuitLv))
- {
- IsLockGridCell(true, mater1GridCell);
- IsLockGridCell(true, mater2GridCell);
- IsLockGridCell(true, mater3GridCell);
- return;
- }
-
- int materIndex = 0;
- for (materIndex = 0; materIndex < _materialPoslist.Count; materIndex++)
- {
- GameObject matGridCell = _materialPoslist[materIndex].transform.Find("GridCell").gameObject;
- ItemCell materItemCell = _materialPoslist[materIndex].transform.Find("GridCell/ItemCell").GetComponent<ItemCell>();
- Text materCount = materItemCell.transform.Find("CountText").GetComponent<Text>();
- if(isMaker)
- {
- if (materIndex < _equipSuitMatModel.CostItemID.Length)
- {
- IsLockGridCell(false, matGridCell);
- int itemid = _equipSuitMatModel.CostItemID[materIndex];
- ItemCellModel cellModel = new ItemCellModel(itemid);
- materItemCell.Init(cellModel);
- materItemCell.cellBtn.RemoveAllListeners();
- materItemCell.cellBtn.AddListener(() =>
- {
- itemPathModel.SetChinItemModel(itemid);
- });
-
- materCount.gameObject.SetActive(true);
- int haveCount = playerPack.GetItemCountByID(PackType.Item, _equipSuitMatModel.CostItemID[materIndex]);
- if (haveCount >= _equipSuitMatModel.CostItemCnt[materIndex])
- {
- materCount.text = StringUtility.Contact(UIHelper.AppendStringColor(TextColType.Green, haveCount.ToString(), true), "/", _equipSuitMatModel.CostItemCnt[materIndex]);
- }
- else
- {
- materCount.text = StringUtility.Contact(UIHelper.AppendStringColor(TextColType.Red, haveCount.ToString()), "/", _equipSuitMatModel.CostItemCnt[materIndex]);
- }
- }
- else
- {
- IsLockGridCell(true, matGridCell);
- }
- }
- else
- {
- IsLockGridCell(true, matGridCell);
- }
- }
- #endregion
-
- }
-
- }
-
- public void ControllerShowRightUI(int equipPlace, int realSuitLv)
- {
- _needConditionText.gameObject.SetActive(true);
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip,equipPlace);
- switch (E_SuitType)
- {
- case SuitType.LowSuit:
- _needConditionText.text = Language.Get("SuitPanel_FourStage");
- break;
- case SuitType.HighSuit:
- _needConditionText.text = Language.Get("EquipSuit_Honghuang");
- break;
- }
- if (itemModel != null)
- {
- bool isMaker = SuitModel.IsMakerSuit(E_SuitType, itemModel.config.ItemColor, itemModel.config.StarLevel);
- if (isMaker)
- {
- _equipSuitGo.gameObject.SetActive(true);
- _armorSuitGo.gameObject.SetActive(true);
- List<int> equipPlacelist = null;
- int previewSuitLv = realSuitLv;
- if (realSuitLv <= 0)
- {
- previewSuitLv += 1;
- }
- curSuitNum = SuitModel.GetSameSuitCnt(E_SuitType, equipPlace, previewSuitLv, out equipPlacelist);
- var suitAttrData = EquipSuitAttrConfig.GetSuitAttrData(SuitModel.GetGroupType(equipPlace)
- , (int)E_SuitType, previewSuitLv, SuitModel.GetEquipJob(itemModel.itemId));
- EquipSuitAttrConfig attrConfig = suitAttrData == null ? null : suitAttrData.attrConfig;
-
- if(attrConfig != null)
- {
- _makerSuitName.text = StringUtility.Contact(Language.Get("KnapS143"),":");
- _makerSuitNumber.text = StringUtility.Contact(curSuitNum, "/", attrConfig.count3);
- }
-
- OnGetSuitProValue(attrConfig);
- _needConditionText.gameObject.SetActive(false);
- }
- else
- {
- _equipSuitGo.gameObject.SetActive(false);
- _armorSuitGo.gameObject.SetActive(false);
- }
- }
- else
- {
- _equipSuitGo.gameObject.SetActive(false);
- _armorSuitGo.gameObject.SetActive(false);
- }
- }
-
- private int[] firstProlist = null;
- private int[] firstProValuelist = null;
- private int[] secondProlist = null;
- private int[] secondProValuelist = null;
- private int[] thirdProlist = null;
- private int[] thirdProValuelist = null;
-
- public void OnGetSuitProValue(EquipSuitAttrConfig attrConfig)
- {
- if (attrConfig == null)
- return;
-
- _equipSuitProModel = attrConfig;
- string key = StringUtility.Contact(attrConfig.groupType, attrConfig.suiteType, attrConfig.suiteLV,attrConfig.job);
- var attrData = EquipSuitAttrConfig.GetSuitAttrDataBySuitID(key);
- firstProlist = attrData.attr1Ids;
- firstProValuelist = attrData.attr1Values;
- secondProlist = attrData.attr2Ids;
- secondProValuelist = attrData.attr2Values;
- thirdProlist = attrData.attr3Ids;
- thirdProValuelist = attrData.attr3Values;
- CreateSuitProCell();
- }
-
- private int length1 = 0;
- private int length2 = 0;
- private int length3 = 0;
- private int curSuitNum = 0;
-
- private void CreateSuitProCell()
- {
- _suitProCtrl.Refresh();
- int i = 0;
- length1 = firstProlist.Length;
- for (i = 0; i < length1; i++)
- {
- _suitProCtrl.AddCell(ScrollerDataType.Header, i);
- }
- _suitProCtrl.AddCell(ScrollerDataType.Normal, length1);
- length2 = length1 + secondProlist.Length + 1;
- for (i = length1 + 1; i < length2; i++)
- {
- _suitProCtrl.AddCell(ScrollerDataType.Header, i);
- }
- _suitProCtrl.AddCell(ScrollerDataType.Normal, length2);
- length3 = length2 + thirdProlist.Length + 1;
- for (i = length2 + 1; i < length3; i++)
- {
- _suitProCtrl.AddCell(ScrollerDataType.Header, i);
- }
- _suitProCtrl.Restart();
- }
-
- private void RefreshSuitProCell(ScrollerDataType type, CellView cell)
- {
- if (type != ScrollerDataType.Header) return;
-
- Text curNum = cell.transform.Find("FirstSuitATT").GetComponent<Text>();
- Text curPro = cell.transform.Find("ATTNum").GetComponent<Text>();
- Text curProName = cell.transform.Find("ATTTxt").GetComponent<Text>();
-
- if (cell.index == 0)
- {
- curNum.text = Language.Get("EquipSuit111", _equipSuitProModel.count1.ToString());
- curNum.gameObject.SetActive(true);
- }
- else if (cell.index == length1 + 1)
- {
- curNum.text = Language.Get("EquipSuit111", _equipSuitProModel.count2.ToString());
- curNum.gameObject.SetActive(true);
- }
- else if (cell.index == length2 + 1)
- {
- curNum.text = Language.Get("EquipSuit111", _equipSuitProModel.count3.ToString());
- curNum.gameObject.SetActive(true);
- }
- else
- {
- curNum.gameObject.SetActive(false);
- }
-
- PlayerPropertyConfig playerproModel = null;
- if (cell.index < length1)
- {
- playerproModel = PlayerPropertyConfig.Get(firstProlist[cell.index]);
- if (playerproModel != null)
- {
- curProName.text = playerproModel.Name;
- curPro.text = StringUtility.Contact("+", GetProValueTypeStr(playerproModel, firstProValuelist[cell.index]));
- }
-
- ChangeSuitProTextColor(curNum, curPro, curProName, _equipSuitProModel.count1);
- }
-
- else if (cell.index >= length1 + 1 && cell.index < length2)
- {
-
- playerproModel = PlayerPropertyConfig.Get(secondProlist[cell.index - length1 -1]);
- if (playerproModel != null)
- {
- curProName.text = playerproModel.Name;
- curPro.text = StringUtility.Contact("+", GetProValueTypeStr(playerproModel, secondProValuelist[cell.index - length1 - 1]));
- }
- ChangeSuitProTextColor(curNum, curPro, curProName, _equipSuitProModel.count2);
- }
-
- else if (cell.index >= length2 + 1 && cell.index < length3)
- {
- playerproModel = PlayerPropertyConfig.Get(thirdProlist[cell.index - length2 - 1]);
- if (playerproModel != null)
- {
- curProName.text = playerproModel.Name;
- curPro.text = StringUtility.Contact("+", GetProValueTypeStr(playerproModel, thirdProValuelist[cell.index - length2 - 1]));
- }
- ChangeSuitProTextColor(curNum, curPro, curProName, _equipSuitProModel.count3);
- }
- }
-
- private void ChangeSuitProTextColor(Text num, Text pro, Text proName, int needSuitNum)
- {
- string nameStr = GetSuitNameByName(proName.text);
- if (curSuitNum >= needSuitNum)
- {
- num.text = StringUtility.Contact("<color=#109D06FF>", num.text, "</color>");
- pro.text = StringUtility.Contact("<color=#109D06FF> ", pro.text, "</color>");
- proName.text = StringUtility.Contact("<color=#109D06FF>", nameStr, "</color>");
-
- }
- else
- {
- num.text = StringUtility.Contact("<color=#686868FF>", num.text, "</color>");
- pro.text = StringUtility.Contact("<color=#686868FF>", pro.text, "</color>");
- proName.text = StringUtility.Contact("<color=#686868FF>", nameStr, "</color>");
- }
- }
- public string GetSuitNameByName(string attrName)
- {
- string suitStr = "";
- for (int i = 0; i < attrName.Length; i++)
- {
- if (i != attrName.Length - 1)
- {
- if (attrName.Length == 2)
- {
- suitStr = StringUtility.Contact(suitStr, attrName[i], " ");
- }
- else
- {
- suitStr = StringUtility.Contact(suitStr, attrName[i]);
- }
- }
- else
- {
- suitStr = StringUtility.Contact(suitStr, attrName[i]);
- }
- }
- return suitStr;
-
- }
-
- /// <summary>
- /// 濂楄灞炴�у�肩殑UI灞曠ず
- /// </summary>
- /// <param name="playerproModel"></param>
- /// <param name="value"></param>
- /// <returns></returns>
- public string GetProValueTypeStr(PlayerPropertyConfig playerproModel, int value)
- {
- string s = "";
- if (playerproModel.ISPercentage == 0)
- {
- s = value.ToString();
- }
- else if (playerproModel.ISPercentage == 1)
- {
- s = (float)Math.Round(value / 100f, 1) + "%";
- }
- else if (playerproModel.ISPercentage == 2)
- {
- s = ((float)Math.Round(value / 100f, 1)).ToString();
- }
- return s;
- }
-
- #region 鎸夐挳鐩戝惉
- private void OnClickSwitchBtn()
- {
- int curSelect = equipPartlist[presentIndex];
- E_SuitType = E_SuitType == SuitType.LowSuit ? SuitType.HighSuit : SuitType.LowSuit;
- equipPartlist = SuitModel.GetEquipOrderlist(E_SuitType);
- for (int i = 0; i < equipPartlist.Count; i++)
- {
- if (equipPartlist[i] == curSelect)
- {
- presentIndex = i;
- break;
- }
- }
- if (guideEffect != null)
- {
- AchievementGuideEffectPool.Recycle(guideEffect);
- guideEffect = null;
- SuitModel.ClearJumpModel();
- }
- CreateEquipSuitCell();
- }
-
- private void OnClickHowToPlayerBtn()
- {
- }
-
- private void OnClickPreViewBtn()
- {
- WindowCenter.Instance.Open<EquipSuitPreviewWin>();
- }
-
- private void OnClickEquipMaker()
- {
- ItemModel itemModel = playerPack.GetItemByIndex(PackType.Equip, equipPlace);
- if (itemModel == null) return;
-
- bool canMaker = true;
- if (SuitModel.IsUpgradSuitLv(equipPlace, (int)E_SuitType, curSuitLv))
- {
- for (int i = _equipSuitMatModel.CostItemID.Length - 1; i > -1; i--)
- {
- int haveCnt = playerPack.GetItemCountByID(PackType.Item, _equipSuitMatModel.CostItemID[i]);
- if (haveCnt < _equipSuitMatModel.CostItemCnt[i])
- {
- itemPathModel.SetChinItemModel(_equipSuitMatModel.CostItemID[i]);
- canMaker = false;
- break;
- }
- }
- }
- else
- {
- canMaker = false;
- }
-
- if (canMaker)
- {
- if(SuitModel.IsFirstEquipMaker())
- {
- ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("EquipSuit112"),(bool isOk)=>
- {
- if(isOk)
- {
- switch (_equipSuitMatModel.CostItemID.Length)
- {
- case 1:
- oneMatEffect.Play();
- break;
- case 2:
- twoMatEffect.Play();
- break;
- case 3:
- threeMatEffect.Play();
- break;
- }
- SuitModel.SendMakeSuit((int)E_SuitType, equipPlace);
- }
- }
- );
- }
- else
- {
- switch (_equipSuitMatModel.CostItemID.Length)
- {
- case 1:
- oneMatEffect.Play();
- break;
- case 2:
- twoMatEffect.Play();
- break;
- case 3:
- threeMatEffect.Play();
- break;
- }
- SuitModel.SendMakeSuit((int)E_SuitType, equipPlace);
- }
-
- }
- }
-
- #endregion
- private void GetMakeResult(H0721_tagMakeItemAnswer result)
- {
- if (result.MakeType != (int)MakeType.Def_mitSuiteCompound)
- return;
-
- if (result.Result == 1)
- {
- CreateEquipSuitCell();
- makeSuccessEffect.Play();
- }
-
- }
-}
\ No newline at end of file
diff --git a/System/Strengthening/EquipSuitTips.cs.meta b/System/Strengthening/EquipSuitTips.cs.meta
deleted file mode 100644
index 8c1c3f0..0000000
--- a/System/Strengthening/EquipSuitTips.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 6f881cdda5c71af4b909eee7433ed9ab
-timeCreated: 1503389604
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/System/Strengthening/SuitTypeSwitchBtn.cs b/System/Strengthening/SuitTypeSwitchBtn.cs
deleted file mode 100644
index 4e7a3c9..0000000
--- a/System/Strengthening/SuitTypeSwitchBtn.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-锘縰sing Snxxz.UI;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace Snxxz
-{
- public class SuitTypeSwitchBtn : MonoBehaviour
- {
- [SerializeField] Image switchBG;
- [SerializeField] RectTransform switchIcon;
- [SerializeField] public GameObject onObj;
- [SerializeField] GameObject offObj;
- [SerializeField] public Button switchBtn;
-
- [Header("ON鏃跺浘鏍囦綅缃�")]
- [SerializeField]
- Vector3 OnPos = new Vector3(31, 1, 0);
- [Header("OFF鏃跺浘鏍囦綅缃�")]
- [SerializeField]
- Vector3 OffPos = new Vector3(-31, 1, 0);
-
- public void SetInit(SuitType type)
- {
- RefreshSwitchUI(type);
- }
-
- public void RefreshSwitchUI(SuitType type)
- {
- switch (type)
- {
- case SuitType.LowSuit:
- switchIcon.anchoredPosition3D = OnPos;
- onObj.SetActive(true);
- offObj.SetActive(false);
- switchBG.SetSprite("NormalBottom");
- break;
- case SuitType.HighSuit:
- switchIcon.anchoredPosition3D = OffPos;
- onObj.SetActive(false);
- offObj.SetActive(true);
- switchBG.SetSprite("QiangHuaBottom");
- break;
- }
-
- }
-
- }
-}
diff --git a/System/Strengthening/SuitTypeSwitchBtn.cs.meta b/System/Strengthening/SuitTypeSwitchBtn.cs.meta
deleted file mode 100644
index b1f977a..0000000
--- a/System/Strengthening/SuitTypeSwitchBtn.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 45215d75b5c4a204fb47f611db1a00b2
-timeCreated: 1529919258
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/System/Treasure/TreasureSoulPattern4.cs b/System/Treasure/TreasureSoulPattern4.cs
index c74a48d..4795cdd 100644
--- a/System/Treasure/TreasureSoulPattern4.cs
+++ b/System/Treasure/TreasureSoulPattern4.cs
@@ -10,7 +10,6 @@
[SerializeField] RectTransform m_ContainerHas;
[SerializeField] List<PropertyBehaviour> properties;
- PlayerSuitModel suitModel { get { return ModelCenter.Instance.GetModel<PlayerSuitModel>(); } }
PackModel pack { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
public StrengthenModel strengthengmodel
{
@@ -58,24 +57,6 @@
properties[_index].DisplayUpper(_key, _value);
_index++;
}
- break;
- case TreasurePrivilege.Suit:
- var percentSuit = (float)special.propertyDict[87] / 10000;
- var dict = suitModel.GetActiveSuitAttr();
- var _suitIndex = 0;
- foreach (var _key in dict.Keys)
- {
- var propertyConfig = PlayerPropertyConfig.Get(_key);
- if (propertyConfig == null || propertyConfig.type != 1)
- {
- continue;
- }
- properties[_suitIndex].gameObject.SetActive(true);
- properties[_suitIndex].DisplayUpper(_key, (int)(percentSuit * dict[_key]));
- _suitIndex++;
- }
- m_ContainerHas.gameObject.SetActive(_suitIndex > 0);
- m_ContainerNone.gameObject.SetActive(_suitIndex == 0);
break;
case TreasurePrivilege.Wing:
var percentWing = (float)special.propertyDict[86] / 10000;
diff --git a/System/Treasure/TreasureSoulWin.cs b/System/Treasure/TreasureSoulWin.cs
index e9a7ded..827ad43 100644
--- a/System/Treasure/TreasureSoulWin.cs
+++ b/System/Treasure/TreasureSoulWin.cs
@@ -43,7 +43,6 @@
return m_Model ?? (m_Model = ModelCenter.Instance.GetModel<TreasureSoulModel>());
}
}
- PlayerSuitModel suitModel { get { return ModelCenter.Instance.GetModel<PlayerSuitModel>(); } }
PackModel pack { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
public StrengthenModel strengthengmodel
@@ -334,23 +333,6 @@
m_PreviewPropretys[_index].DisplayUpper(_key, _value);
_index++;
}
- break;
- case TreasurePrivilege.Suit:
- var percentSuit = (float)special.propertyDict[87] / 10000;
- var dict = suitModel.GetActiveSuitAttr();
- var _suitIndex = 0;
- foreach (var _key in dict.Keys)
- {
- var propertyConfig = PlayerPropertyConfig.Get(_key);
- if (propertyConfig == null || propertyConfig.type != 1)
- {
- continue;
- }
- m_PreviewPropretys[_suitIndex].gameObject.SetActive(true);
- m_PreviewPropretys[_suitIndex].DisplayUpper(_key, (int)(percentSuit * dict[_key]));
- _suitIndex++;
- }
- m_ContainerPreview.gameObject.SetActive(_suitIndex > 0);
break;
case TreasurePrivilege.Wing:
var percentWing = (float)special.propertyDict[86] / 10000;
diff --git a/System/TreasureFindHost/TreasureFindHostModel.cs b/System/TreasureFindHost/TreasureFindHostModel.cs
index d3a6ae5..ff3fd88 100644
--- a/System/TreasureFindHost/TreasureFindHostModel.cs
+++ b/System/TreasureFindHost/TreasureFindHostModel.cs
@@ -11,7 +11,6 @@
{
private Dictionary<int, List<FindTreasureInfo>> findTreasureDict = new Dictionary<int, List<FindTreasureInfo>>();
PackModel playerPack { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
- PlayerSuitModel playerSuit { get { return ModelCenter.Instance.GetModel<PlayerSuitModel>(); } }
TreasureModel treasureModel { get { return ModelCenter.Instance.GetModel<TreasureModel>(); } }
public List<int> treasureIdlist { get; set; }
@@ -43,7 +42,6 @@
SetTreasureCellRedKey();
PlayerDatas.Instance.playerDataRefreshEvent += RefreshPlayerData;
playerPack.refreshItemCountEvent += RefreshEquipInfo;
- playerSuit.RefreshSuitModelAct += RefreshSuitInfo;
treasureModel.treasureStateChangeEvent += RefreshTreasureState;
FuncConfigConfig SamboSpecialUnlock = FuncConfigConfig.Get("SamboSpecialUnlock");
specEquipIds = ConfigParse.GetMultipleStr<int>(SamboSpecialUnlock.Numerical1);
@@ -92,7 +90,6 @@
{
PlayerDatas.Instance.playerDataRefreshEvent -= RefreshPlayerData;
playerPack.refreshItemCountEvent -= RefreshEquipInfo;
- playerSuit.RefreshSuitModelAct -= RefreshSuitInfo;
treasureModel.treasureStateChangeEvent -= RefreshTreasureState;
}
@@ -191,25 +188,6 @@
foreach(var condi in treasureInfo.needConditionsDict.Values)
{
progress = 0;
- foreach (var place in equipDict.Keys)
- {
- int serverSuitLv = playerSuit.GetServerSuitLv(equipDict[place].itemPlace,condi[1]);
- bool isMaker = playerSuit.IsMakerSuit((SuitType)condi[1], equipDict[place].config.ItemColor,
- equipDict[place].config.StarLevel);
-
- if (isMaker)
- {
- int realSuitLv = serverSuitLv;
- if (equipDict[place].config.LV < serverSuitLv)
- {
- realSuitLv = equipDict[place].config.LV;
- }
- if(realSuitLv >= condi[0])
- {
- progress += 1;
- }
- }
- }
if(progress >= treasureInfo.targetNum)
{
return true;
@@ -435,26 +413,6 @@
}
return 0;
- }
-
- private void RefreshSuitInfo()
- {
- for(int i = 0; i < treasureIdlist.Count;i++)
- {
- if(i == 0)
- {
- RedPointStateCtrl(treasureIdlist[i]);
- }
- else
- {
- Treasure treasure = null;
- treasureModel.TryGetTreasure(treasureIdlist[i-1], out treasure);
- if(treasure != null && treasure.state == TreasureState.Collected)
- {
- RedPointStateCtrl(treasureIdlist[i]);
- }
- }
- }
}
private void RefreshEquipInfo(PackType type, int index, int itemId)
diff --git a/System/WindowBase/ModelCenter.cs b/System/WindowBase/ModelCenter.cs
index 84917a2..bd03773 100644
--- a/System/WindowBase/ModelCenter.cs
+++ b/System/WindowBase/ModelCenter.cs
@@ -158,7 +158,6 @@
RegisterModel<ImpactRankModel>();
RegisterModel<InSevenDayModel>();
RegisterModel<LevelGiftModel>();
- RegisterModel<PlayerSuitModel>();
RegisterModel<CapacityDelayModel>();
RegisterModel<TreasureEffectModel>();
RegisterModel<MonthlyInvestmentModel>();
diff --git a/System/WindowJump/WindowJumpMgr.cs b/System/WindowJump/WindowJumpMgr.cs
index 107e626..99efa99 100644
--- a/System/WindowJump/WindowJumpMgr.cs
+++ b/System/WindowJump/WindowJumpMgr.cs
@@ -34,7 +34,6 @@
ImpactRankModel rankModel { get { return ModelCenter.Instance.GetModel<ImpactRankModel>(); } }
ComposeWinModel composeModel { get { return ModelCenter.Instance.GetModel<ComposeWinModel>(); } }
MapModel mapModel { get { return ModelCenter.Instance.GetModel<MapModel>(); } }
- PlayerSuitModel suitModel { get { return ModelCenter.Instance.GetModel<PlayerSuitModel>(); } }
#region 瑙f瀽鏈湴鏁版嵁
public Dictionary<int, WindowSearchData> windowSearchDataDict { get; private set; }
@@ -151,10 +150,6 @@
break;
case JumpUIType.EquipHighSuit:
case JumpUIType.EquipLowSuit:
- int suitType = 0;
- int.TryParse(_tagWinSearchModel.SelectActive, out suitType);
- suitModel.SetJumpModel(suitType);
- SetJumpLogic<EquipReinforceWin>(_tagWinSearchModel.TABID);
break;
case JumpUIType.ComposeFunc1:
case JumpUIType.ComposeFunc2:
diff --git a/UI/Common/UI3DShowHero.cs b/UI/Common/UI3DShowHero.cs
index 7f9a91e..0f6ca21 100644
--- a/UI/Common/UI3DShowHero.cs
+++ b/UI/Common/UI3DShowHero.cs
@@ -595,7 +595,6 @@
wingsId = resourceId;
}
- PlayerSuitModel suitModel { get { return ModelCenter.Instance.GetModel<PlayerSuitModel>(); } }
PackModel packModel { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
private void LoadClothesEffect()
@@ -641,18 +640,6 @@
if (i == (int)RoleEquipType.Clothes)
{
_rank = _itemModel.config.LV;
- }
-
- if (suitModel.suitModelDict.ContainsKey(i))
- {
- if (suitModel.suitModelDict[i].ContainsKey(1)
- || suitModel.suitModelDict[i].ContainsKey(2))
- {
- if (_itemModel.config.LV >= _rank)
- {
- _suitCount += 1;
- }
- }
}
}
--
Gitblit v1.8.0