From a87120c155c48fa45b20a97c1a58bdbeb77318b7 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 20 二月 2019 16:54:13 +0800
Subject: [PATCH] 3335 物品相关类型重构
---
System/KnapSack/New/TempKnapSackBasic.cs | 2
System/Strengthening/EquipSuit/PlayerSuitModel.cs | 8
System/Chat/ChatExtentWin.cs | 4
System/KnapSack/New/BatchWin.cs | 4
System/KnapSack/Logic/WashAttrPointWin.cs | 2
System/KnapSack/New/SplitWin.cs | 2
System/FairyAu/WarehouseTipsWin.cs | 2
System/SystemSetting/SettingEffectMgr.cs | 2
System/KnapSack/Logic/PlayerStarNumWin.cs | 2
System/RolePromote/RolePromoteModel.cs | 4
System/KnapSack/Logic/BoxGetItemWin.cs | 2
System/KnapSack/Logic/PackModelInterface.cs | 17
System/Mount/MountWin.cs | 12
System/Strengthening/WingsRedDot.cs | 2
System/RoleParticulars/ViewFuncCell.cs | 8
UI/Common/UI3DShowHero.cs | 4
System/KnapSack/New/FairyWearWin.cs | 10
Core/NetworkPackage/DTCFile/ServerPack/HAF_Merge.meta | 9
System/Achievement/AchievementModel.cs | 10
System/Strengthening/EquipWashModel.cs | 2
System/Strengthening/StrengtheningSripts.cs | 8
Fight/Stage/StageLoad.cs | 18
System/KnapSack/Logic/MakeDrugCell.cs | 4
System/KnapSack/BetterItemGetBehaviour.cs | 2
System/Strengthening/GodBeastSlidingList.cs | 2
System/KnapSack/Logic/ItemOperateUtility.cs | 4
System/Strengthening/WingsBouncedWin.cs | 4
System/Dungeon/DungeonLiquidCell.cs | 4
System/MainInterfacePanel/FlyingShoesTask.cs | 2
System/JadeDynastyKnapSack/JadeDynastyEquipWin.cs | 2
System/KnapSack/New/BagWin.cs | 4
System/HappyXB/HappyXBModel.cs | 4
System/Strengthening/PlayerStrengthengDatas.cs | 6
Core/NetworkPackage/DTCFile/ServerPack/HB0_Event.meta | 9
System/MainInterfacePanel/PlayerTaskDatas.cs | 2
System/Market/MarketPutawayWin.cs | 2
System/KnapSack/Logic/BoxGetItemModel.cs | 2
Core/NetworkPackage/ServerPack/HAF_Merge.meta | 9
Core/NetworkPackage/ServerPack/HAD_SaleActivity.meta | 9
System/KnapSack/PreciousItemGetBehaviour.cs | 4
System/Pet/PetAttributeWin.cs | 12
System/Pet/PlayerPetDatas.cs | 8
Utility/EnumHelper.cs | 6
System/KnapSack/Logic/SinglePackModel.cs | 88 +++----
Core/NetworkPackage/ServerPack/HAE_Truck.meta | 9
System/KnapSack/Logic/ItemOperateUtility.cs.meta | 0
System/KnapSack/Logic/PlayerPackModels.cs | 18
System/Strengthening/WingsRefined.cs | 8
System/KnapSack/RealmBetterEquipBehaviour.cs | 2
System/FairyAu/DonateEquipTipsWin.cs | 2
Core/NetworkPackage/ServerPack/HB0_Event.meta | 9
System/Compose/New/SelectEquipModel.cs | 4
System/Dungeon/TrialExchangeWin.cs | 8
System/BetterItemGet/PreciousItemGetModel.cs | 2
Utility/CalculateSkillGetAttrHurtUtility.cs | 2
System/Dungeon/TrialDungeonModel.cs | 4
Fight/GameActor/GA_Hero.cs | 6
System/Guard/GuardModel.cs | 2
Core/NetworkPackage/DTCFile/ServerPack/HAD_SaleActivity.meta | 9
System/FairyAu/FamilyChangeNameWin.cs | 6
Core/NetworkPackage/DTCFile/ClientPack.meta | 9
System/HappyXB/XBWarehouseWin.cs | 2
System/MainInterfacePanel/DungeonGuardCheckBehaviour.cs | 2
System/TreasureFindHost/TreasureFindHostModel.cs | 4
System/BlastFurnace/BlastFurnaceModel.cs | 2
System/KnapSack/Logic/ItemTipsModel.cs | 138 ++++--------
System/Strengthening/GodBeastModel.cs | 2
Core/NetworkPackage/DTCFile/ServerPack/HAE_Truck.meta | 9
System/KnapSack/New/OfflineHangUpUseWin.cs | 6
Fight/Actor/AI/HeroAI_Base.cs | 4
System/KnapSack/New/RoleEquipStarTips.cs | 2
/dev/null | 12 -
System/KnapSack/Logic/WashPointBatchUseWin.cs | 2
System/KnapSack/ItemUseBehaviour.cs | 2
System/WindowJump/WindowJumpMgr.cs | 12
System/BetterItemGet/BetterEquipGetModel.cs | 2
System/KnapSack/New/DepotWin.cs | 4
System/FairyAu/PlayerFairyAuTreasureData.cs | 2
System/KnapSack/New/ChooseItemWin.cs | 2
System/JadeDynastyKnapSack/JadeDynastyDecomposeModel.cs | 2
System/Dogz/DogzModel.cs | 8
System/Mount/PlayerMountDatas.cs | 4
System/JadeDynastyBoss/JadeDynastyBossModel.cs | 2
System/Dogz/DogzPackModel.cs | 2
84 files changed, 335 insertions(+), 315 deletions(-)
diff --git a/Core/NetworkPackage/DTCFile/ClientPack.meta b/Core/NetworkPackage/DTCFile/ClientPack.meta
new file mode 100644
index 0000000..a5a6f03
--- /dev/null
+++ b/Core/NetworkPackage/DTCFile/ClientPack.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 722e5e3d30096674e811f5bd191246a0
+folderAsset: yes
+timeCreated: 1539228128
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Core/NetworkPackage/DTCFile/ServerPack/HAD_SaleActivity.meta b/Core/NetworkPackage/DTCFile/ServerPack/HAD_SaleActivity.meta
new file mode 100644
index 0000000..56e5988
--- /dev/null
+++ b/Core/NetworkPackage/DTCFile/ServerPack/HAD_SaleActivity.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 3e05761d690b75440a6be79207d0fb01
+folderAsset: yes
+timeCreated: 1547643019
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Core/NetworkPackage/DTCFile/ServerPack/HAE_Truck.meta b/Core/NetworkPackage/DTCFile/ServerPack/HAE_Truck.meta
new file mode 100644
index 0000000..1044caa
--- /dev/null
+++ b/Core/NetworkPackage/DTCFile/ServerPack/HAE_Truck.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 1d70ccd06161e0443b7a802ad94292f8
+folderAsset: yes
+timeCreated: 1547643019
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Core/NetworkPackage/DTCFile/ServerPack/HAF_Merge.meta b/Core/NetworkPackage/DTCFile/ServerPack/HAF_Merge.meta
new file mode 100644
index 0000000..314efd1
--- /dev/null
+++ b/Core/NetworkPackage/DTCFile/ServerPack/HAF_Merge.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 71e878ac60c49ad4f964dd2dbc725739
+folderAsset: yes
+timeCreated: 1547643019
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Core/NetworkPackage/DTCFile/ServerPack/HB0_Event.meta b/Core/NetworkPackage/DTCFile/ServerPack/HB0_Event.meta
new file mode 100644
index 0000000..6ed37c0
--- /dev/null
+++ b/Core/NetworkPackage/DTCFile/ServerPack/HB0_Event.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: eed34091b0568664b9fb42f0634496c1
+folderAsset: yes
+timeCreated: 1547643019
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Core/NetworkPackage/ServerPack/HAD_SaleActivity.meta b/Core/NetworkPackage/ServerPack/HAD_SaleActivity.meta
new file mode 100644
index 0000000..418ee88
--- /dev/null
+++ b/Core/NetworkPackage/ServerPack/HAD_SaleActivity.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 32ceb8b7faf99f84a8b73ce53c5e3e4d
+folderAsset: yes
+timeCreated: 1547643019
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Core/NetworkPackage/ServerPack/HAE_Truck.meta b/Core/NetworkPackage/ServerPack/HAE_Truck.meta
new file mode 100644
index 0000000..ea614a3
--- /dev/null
+++ b/Core/NetworkPackage/ServerPack/HAE_Truck.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 77f69c2b862d1704299a32d0d8eeb71e
+folderAsset: yes
+timeCreated: 1547643019
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Core/NetworkPackage/ServerPack/HAF_Merge.meta b/Core/NetworkPackage/ServerPack/HAF_Merge.meta
new file mode 100644
index 0000000..86e4eea
--- /dev/null
+++ b/Core/NetworkPackage/ServerPack/HAF_Merge.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: fa14960fa44b0d1439bab471a764e34f
+folderAsset: yes
+timeCreated: 1547643019
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Core/NetworkPackage/ServerPack/HB0_Event.meta b/Core/NetworkPackage/ServerPack/HB0_Event.meta
new file mode 100644
index 0000000..95487fc
--- /dev/null
+++ b/Core/NetworkPackage/ServerPack/HB0_Event.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: d914565b65f8e8145988734c4d915834
+folderAsset: yes
+timeCreated: 1547643019
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Fight/Actor/AI/HeroAI_Base.cs b/Fight/Actor/AI/HeroAI_Base.cs
index 35fe891..87fd188 100644
--- a/Fight/Actor/AI/HeroAI_Base.cs
+++ b/Fight/Actor/AI/HeroAI_Base.cs
@@ -227,7 +227,7 @@
if (_singleModel != null)
{
// 濡傛灉鏈夊畧鎶�
- var _itemModel = _singleModel.GetItemModelByIndex((int)RoleEquipType.SpiritAnimal);
+ var _itemModel = _singleModel.GetItemByIndex((int)RoleEquipType.SpiritAnimal);
if (_itemModel != null // 鏈夊畧鎶�
&& GeneralDefine.GuardianPickUpID.Contains(_itemModel.itemId))// 瀹堟姢鏈夋嬀鍙栧姛鑳�
{
@@ -242,7 +242,7 @@
if (_singleModel != null)
{
// 濡傛灉鏈夊畧鎶�
- var _itemModel = _singleModel.GetItemModelByIndex((int)RoleEquipType.SpiritAnimal);
+ var _itemModel = _singleModel.GetItemByIndex((int)RoleEquipType.SpiritAnimal);
if (_itemModel != null // 鏈夊畧鎶�
&& GeneralDefine.GuardianPickUpID.Contains(_itemModel.itemId))// 瀹堟姢鏈夋嬀鍙栧姛鑳�
{
diff --git a/Fight/GameActor/GA_Hero.cs b/Fight/GameActor/GA_Hero.cs
index 9200bf0..c679f44 100644
--- a/Fight/GameActor/GA_Hero.cs
+++ b/Fight/GameActor/GA_Hero.cs
@@ -198,7 +198,7 @@
ItemModel _itemModel = null;
// 鍏堝彇寰楄。鏈嶇殑闃舵暟
- _itemModel = _equipModel.GetItemModelByIndex((int)RoleEquipType.Clothes);
+ _itemModel = _equipModel.GetItemByIndex((int)RoleEquipType.Clothes);
if (_itemModel == null)
{
return;
@@ -208,7 +208,7 @@
for (int i = _start; i <= _end; ++i)
{
- _itemModel = _equipModel.GetItemModelByIndex(i);
+ _itemModel = _equipModel.GetItemByIndex(i);
if (_itemModel == null)
{
@@ -621,7 +621,7 @@
SinglePackModel _horsePackModel = _packModel.GetSinglePackModel(PackType.Equip);
if (_horsePackModel != null)
{
- ItemModel _horseItem = _horsePackModel.GetItemModelByIndex((int)RoleEquipType.mount);
+ ItemModel _horseItem = _horsePackModel.GetItemByIndex((int)RoleEquipType.mount);
SwitchHorse((uint)_horseItem.itemId);
}
}
diff --git a/Fight/Stage/StageLoad.cs b/Fight/Stage/StageLoad.cs
index fd4467d..16fbbfe 100644
--- a/Fight/Stage/StageLoad.cs
+++ b/Fight/Stage/StageLoad.cs
@@ -320,8 +320,8 @@
var packModel = ModelCenter.Instance.GetModel<PlayerPackModel>();
var equipModel = packModel.GetSinglePackModel(PackType.Equip);
- var itemModel = equipModel.GetItemModelByIndex((int)RoleEquipType.Clothes);
- var fashion = equipModel.GetItemModelByIndex((int)RoleEquipType.FashionClothes);
+ var itemModel = equipModel.GetItemByIndex((int)RoleEquipType.Clothes);
+ var fashion = equipModel.GetItemByIndex((int)RoleEquipType.FashionClothes);
m_InitHeroStep = 4;
if (fashion != null)
{
@@ -338,8 +338,8 @@
m_InitHeroStep = 5;
- itemModel = equipModel.GetItemModelByIndex((int)RoleEquipType.Weapon);
- fashion = equipModel.GetItemModelByIndex((int)RoleEquipType.FashionWeapon);
+ itemModel = equipModel.GetItemByIndex((int)RoleEquipType.Weapon);
+ fashion = equipModel.GetItemByIndex((int)RoleEquipType.FashionWeapon);
if (fashion != null)
{
@@ -355,8 +355,8 @@
}
m_InitHeroStep = 6;
- itemModel = equipModel.GetItemModelByIndex((int)RoleEquipType.Weapon2);
- fashion = equipModel.GetItemModelByIndex((int)RoleEquipType.FashionWeapon2);
+ itemModel = equipModel.GetItemByIndex((int)RoleEquipType.Weapon2);
+ fashion = equipModel.GetItemByIndex((int)RoleEquipType.FashionWeapon2);
if (fashion != null)
{
@@ -373,7 +373,7 @@
m_InitHeroStep = 7;
- itemModel = equipModel.GetItemModelByIndex((int)RoleEquipType.Wing);
+ itemModel = equipModel.GetItemByIndex((int)RoleEquipType.Wing);
if (itemModel != null)
{
hero.SwitchWing((uint)itemModel.itemId);
@@ -383,7 +383,7 @@
var mapConfig = MapConfig.Get(PlayerDatas.Instance.baseData.MapID);
if (mapConfig.CanRide == 1)
{
- itemModel = equipModel.GetItemModelByIndex((int)RoleEquipType.mount);
+ itemModel = equipModel.GetItemByIndex((int)RoleEquipType.mount);
if (itemModel != null)
{
var mountModel = ModelCenter.Instance.GetModel<PlayerMountDatas>();
@@ -396,7 +396,7 @@
m_InitHeroStep = 9;
- itemModel = equipModel.GetItemModelByIndex((int)RoleEquipType.SpiritAnimal);
+ itemModel = equipModel.GetItemByIndex((int)RoleEquipType.SpiritAnimal);
if (itemModel != null)
{
hero.SwitchGuard((uint)itemModel.itemId);
diff --git a/Lua/Gen/SnxxzUIItemTipsModelWrap.cs b/Lua/Gen/SnxxzUIItemTipsModelWrap.cs
deleted file mode 100644
index 688cf14..0000000
--- a/Lua/Gen/SnxxzUIItemTipsModelWrap.cs
+++ /dev/null
@@ -1,2709 +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 SnxxzUIItemTipsModelWrap
- {
- public static void __Register(RealStatePtr L)
- {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
- System.Type type = typeof(Snxxz.UI.ItemTipsModel);
- Utils.BeginObjectRegister(type, L, translator, 0, 56, 48, 4);
-
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetAtkSpeedColor", _m_TryGetAtkSpeedColor);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetJadeDynastyLegendCount", _m_TryGetJadeDynastyLegendCount);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetJadeDynastyLegendAttr", _m_TryGetJadeDynastyLegendAttr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetJadeDyanastyLegendColorType", _m_TryGetJadeDyanastyLegendColorType);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetJadeDyanastyLegendColor", _m_TryGetJadeDyanastyLegendColor);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetJadeDynastyLegendValue", _m_GetJadeDynastyLegendValue);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemTipsModel", _m_SetItemTipsModel);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCurrentAttrData", _m_SetCurrentAttrData);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCompareAttrData", _m_SetCompareAttrData);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowUICtrl", _m_ShowUICtrl);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetItemTipsTitle", _m_GetItemTipsTitle);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipJobName", _m_GetEquipJobName);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetBagTipsBtn", _m_SetBagTipsBtn);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDepotTipsBtn", _m_SetDepotTipsBtn);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDogzItemBtn", _m_SetDogzItemBtn);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDogzEquipBtn", _m_SetDogzEquipBtn);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDepotBagTipsBtn", _m_SetDepotBagTipsBtn);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPutOnTipsBtn", _m_SetPutOnTipsBtn);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJadeDynastyItemTipsBtn", _m_SetJadeDynastyItemTipsBtn);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJadeDynastyPutOnTipsBtn", _m_SetJadeDynastyPutOnTipsBtn);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWaysList", _m_GetWaysList);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBasicAttr", _m_GetBasicAttr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetProValueType", _m_GetProValueType);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetLegendAttr", _m_GetLegendAttr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipLegendAttrCntPreview", _m_GetEquipLegendAttrCntPreview);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetJadeDynastyAttrCntPreview", _m_GetJadeDynastyAttrCntPreview);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzLegendAttrCntPreview", _m_GetDogzLegendAttrCntPreview);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWingsLegendAttrCntPreview", _m_GetWingsLegendAttrCntPreview);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPreviewLegendAttr", _m_GetPreviewLegendAttr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWingsRefineMatStr", _m_GetWingsRefineMatStr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWashAttr", _m_GetWashAttr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetExhaustedAtrr", _m_GetExhaustedAtrr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipExhaustedAtrr", _m_GetEquipExhaustedAtrr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetExhaustedMaxLv", _m_GetExhaustedMaxLv);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetProValueTypeStr", _m_GetProValueTypeStr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemEffectDict", _m_SetItemEffectDict);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCurTips", _m_SetCurTips);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCompareTips", _m_SetCompareTips);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetTipsPos", _m_SetTipsPos);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCommonTipPos", _m_SetCommonTipPos);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetExtendGirdModel", _m_SetExtendGirdModel);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAddExpValue", _m_GetAddExpValue);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPetSkillDict", _m_GetPetSkillDict);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQualityName", _m_GetQualityName);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMountSkillDict", _m_GetMountSkillDict);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPetAttrStr", _m_SetPetAttrStr);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetFightPowerByItemId", _m_TryGetFightPowerByItemId);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsPeerlessEquip", _m_IsPeerlessEquip);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipFightPower", _m_GetEquipFightPower);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetShareNumItemDes", _m_GetShareNumItemDes);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsShowModel", _m_IsShowModel);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetItemFashionData", _m_TryGetItemFashionData);
- Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetMagicFightPower", _m_TryGetMagicFightPower);
-
-
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "equipLegendAttrTypeDict", _g_get_equipLegendAttrTypeDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsLegendAttrColorDict", _g_get_wingsLegendAttrColorDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "legendAttrCntPreviewDict", _g_get_legendAttrCntPreviewDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "legendAttrIDPreviewDict", _g_get_legendAttrIDPreviewDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "legendAttrColorValuePreviewDict", _g_get_legendAttrColorValuePreviewDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "legendAttrLvValuePreviewDict", _g_get_legendAttrLvValuePreviewDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsLegendAttrCntPreviewDict", _g_get_wingsLegendAttrCntPreviewDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsLegendAttrValuePreviewDict", _g_get_wingsLegendAttrValuePreviewDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzLegendAttrIDPreviewDict", _g_get_dogzLegendAttrIDPreviewDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzLegendAttrColorValuePreviewDict", _g_get_dogzLegendAttrColorValuePreviewDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzLegendAttrCntPreviewDict", _g_get_dogzLegendAttrCntPreviewDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzLegendAttrTypeDict", _g_get_dogzLegendAttrTypeDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "guardDesDict", _g_get_guardDesDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "unlockPetDict", _g_get_unlockPetDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "unlockMountDict", _g_get_unlockMountDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "itemParamsDict", _g_get_itemParamsDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "exhaustedAttrFormula", _g_get_exhaustedAttrFormula);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "exhaustedMaxLvDict", _g_get_exhaustedMaxLvDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "gemOpenLvs", _g_get_gemOpenLvs);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyGemOpenLvs", _g_get_jadeDynastyGemOpenLvs);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "gemOpenVipLv", _g_get_gemOpenVipLv);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "gemType1s", _g_get_gemType1s);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "gemType2s", _g_get_gemType2s);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "equipMidHeights", _g_get_equipMidHeights);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsMidHeights", _g_get_wingsMidHeights);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpAndUseTypes", _g_get_jumpAndUseTypes);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "equipSuitStar", _g_get_equipSuitStar);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "ItemRenewalIds", _g_get_ItemRenewalIds);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "tryPutOnEquipIds", _g_get_tryPutOnEquipIds);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "randomRuneIds", _g_get_randomRuneIds);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "PeerlessEquipIds", _g_get_PeerlessEquipIds);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "atkSpeedColorDict", _g_get_atkSpeedColorDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyLegendCountDict", _g_get_jadeDynastyLegendCountDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyLegendGroupDict", _g_get_jadeDynastyLegendGroupDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyLegendIdDict", _g_get_jadeDynastyLegendIdDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyLegendColorDict", _g_get_jadeDynastyLegendColorDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyColorDict", _g_get_jadeDynastyColorDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyLegendValueDict", _g_get_jadeDynastyLegendValueDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "curAttrData", _g_get_curAttrData);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "compareAttrData", _g_get_compareAttrData);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "OpenCount", _g_get_OpenCount);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "packType", _g_get_packType);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "Index", _g_get_Index);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "strengthengmodel", _g_get_strengthengmodel);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "petAndMountQualityDict", _g_get_petAndMountQualityDict);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "expValueFormula", _g_get_expValueFormula);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "guardAutoDrops", _g_get_guardAutoDrops);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "showModelAttrDict", _g_get_showModelAttrDict);
-
- Utils.RegisterFunc(L, Utils.SETTER_IDX, "petAndMountQualityDict", _s_set_petAndMountQualityDict);
- Utils.RegisterFunc(L, Utils.SETTER_IDX, "expValueFormula", _s_set_expValueFormula);
- Utils.RegisterFunc(L, Utils.SETTER_IDX, "guardAutoDrops", _s_set_guardAutoDrops);
- Utils.RegisterFunc(L, Utils.SETTER_IDX, "showModelAttrDict", _s_set_showModelAttrDict);
-
-
- 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.ItemTipsModel gen_ret = new Snxxz.UI.ItemTipsModel();
- 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.ItemTipsModel constructor!");
-
- }
-
-
-
-
-
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_Init(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)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.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)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_UnInit(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)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_TryGetAtkSpeedColor(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _atkSpeed = LuaAPI.xlua_tointeger(L, 2);
- string _color;
-
- bool gen_ret = gen_to_be_invoked.TryGetAtkSpeedColor( _atkSpeed, out _color );
- LuaAPI.lua_pushboolean(L, gen_ret);
- LuaAPI.lua_pushstring(L, _color);
-
-
-
-
- return 2;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_TryGetJadeDynastyLegendCount(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
- int _minCount;
- int _maxCount;
-
- bool gen_ret = gen_to_be_invoked.TryGetJadeDynastyLegendCount( _itemId, out _minCount, out _maxCount );
- LuaAPI.lua_pushboolean(L, gen_ret);
- LuaAPI.xlua_pushinteger(L, _minCount);
-
- LuaAPI.xlua_pushinteger(L, _maxCount);
-
-
-
-
- return 3;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_TryGetJadeDynastyLegendAttr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
- System.Collections.Generic.Dictionary<int, int> _attrDict;
-
- bool gen_ret = gen_to_be_invoked.TryGetJadeDynastyLegendAttr( _itemId, out _attrDict );
- LuaAPI.lua_pushboolean(L, gen_ret);
- translator.Push(L, _attrDict);
-
-
-
-
- return 2;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_TryGetJadeDyanastyLegendColorType(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _attrId = LuaAPI.xlua_tointeger(L, 2);
- int _attrValue = LuaAPI.xlua_tointeger(L, 3);
- int _colorType;
-
- bool gen_ret = gen_to_be_invoked.TryGetJadeDyanastyLegendColorType( _attrId, _attrValue, out _colorType );
- LuaAPI.lua_pushboolean(L, gen_ret);
- LuaAPI.xlua_pushinteger(L, _colorType);
-
-
-
-
- return 2;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_TryGetJadeDyanastyLegendColor(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _colorType = LuaAPI.xlua_tointeger(L, 2);
- string _color;
-
- bool gen_ret = gen_to_be_invoked.TryGetJadeDyanastyLegendColor( _colorType, out _color );
- LuaAPI.lua_pushboolean(L, gen_ret);
- LuaAPI.lua_pushstring(L, _color);
-
-
-
-
- return 2;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetJadeDynastyLegendValue(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _attrId = LuaAPI.xlua_tointeger(L, 2);
-
- int gen_ret = gen_to_be_invoked.GetJadeDynastyLegendValue( _attrId );
- 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_SetItemTipsModel(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
- int gen_param_count = LuaAPI.lua_gettop(L);
-
- if(gen_param_count == 3&& translator.Assignable<Snxxz.UI.ItemAttrData>(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
- {
- Snxxz.UI.ItemAttrData _itemAttrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
- bool _isShowUINow = LuaAPI.lua_toboolean(L, 3);
-
- gen_to_be_invoked.SetItemTipsModel( _itemAttrData, _isShowUINow );
-
-
-
- return 0;
- }
- if(gen_param_count == 2&& translator.Assignable<Snxxz.UI.ItemAttrData>(L, 2))
- {
- Snxxz.UI.ItemAttrData _itemAttrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.SetItemTipsModel( _itemAttrData );
-
-
-
- return 0;
- }
- if(gen_param_count == 6&& translator.Assignable<PackType>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)&& translator.Assignable<ItemTipChildType>(L, 6))
- {
- PackType _type;translator.Get(L, 2, out _type);
- string _guid = LuaAPI.lua_tostring(L, 3);
- bool _isShowUINow = LuaAPI.lua_toboolean(L, 4);
- bool _isCompare = LuaAPI.lua_toboolean(L, 5);
- ItemTipChildType _childType;translator.Get(L, 6, out _childType);
-
- gen_to_be_invoked.SetItemTipsModel( _type, _guid, _isShowUINow, _isCompare, _childType );
-
-
-
- return 0;
- }
- if(gen_param_count == 5&& translator.Assignable<PackType>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5))
- {
- PackType _type;translator.Get(L, 2, out _type);
- string _guid = LuaAPI.lua_tostring(L, 3);
- bool _isShowUINow = LuaAPI.lua_toboolean(L, 4);
- bool _isCompare = LuaAPI.lua_toboolean(L, 5);
-
- gen_to_be_invoked.SetItemTipsModel( _type, _guid, _isShowUINow, _isCompare );
-
-
-
- return 0;
- }
- if(gen_param_count == 4&& translator.Assignable<PackType>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4))
- {
- PackType _type;translator.Get(L, 2, out _type);
- string _guid = LuaAPI.lua_tostring(L, 3);
- bool _isShowUINow = LuaAPI.lua_toboolean(L, 4);
-
- gen_to_be_invoked.SetItemTipsModel( _type, _guid, _isShowUINow );
-
-
-
- return 0;
- }
- if(gen_param_count == 3&& translator.Assignable<PackType>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING))
- {
- PackType _type;translator.Get(L, 2, out _type);
- string _guid = LuaAPI.lua_tostring(L, 3);
-
- gen_to_be_invoked.SetItemTipsModel( _type, _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.ItemTipsModel.SetItemTipsModel!");
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetCurrentAttrData(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
- bool _isCompare = LuaAPI.lua_toboolean(L, 3);
-
- gen_to_be_invoked.SetCurrentAttrData( _itemModel, _isCompare );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetCompareAttrData(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemModel _itemModel = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
-
- gen_to_be_invoked.SetCompareAttrData( _itemModel );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_ShowUICtrl(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.ShowUICtrl( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetItemTipsTitle(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetItemTipsTitle( _attrData );
- 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_GetEquipJobName(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetEquipJobName( _attrData );
- 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_SetBagTipsBtn(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.SetBagTipsBtn( _attrData );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetDepotTipsBtn(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.SetDepotTipsBtn( _attrData );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetDogzItemBtn(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.SetDogzItemBtn( _attrData );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetDogzEquipBtn(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.SetDogzEquipBtn( _attrData );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetDepotBagTipsBtn(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.SetDepotBagTipsBtn( _attrData );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetPutOnTipsBtn(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.SetPutOnTipsBtn( _attrData );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetJadeDynastyItemTipsBtn(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.SetJadeDynastyItemTipsBtn( _attrData );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetJadeDynastyPutOnTipsBtn(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- gen_to_be_invoked.SetJadeDynastyPutOnTipsBtn( _attrData );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetWaysList(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- System.Collections.Generic.List<GetItemWaysConfig> gen_ret = gen_to_be_invoked.GetWaysList( _attrData );
- 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_GetBasicAttr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetBasicAttr( _attrData );
- 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_GetProValueType(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _precentType = LuaAPI.xlua_tointeger(L, 2);
- int _value = LuaAPI.xlua_tointeger(L, 3);
-
- int gen_ret = gen_to_be_invoked.GetProValueType( _precentType, _value );
- LuaAPI.xlua_pushinteger(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetLegendAttr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
- int gen_param_count = LuaAPI.lua_gettop(L);
-
- if(gen_param_count == 2&& translator.Assignable<Snxxz.UI.ItemAttrData>(L, 2))
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetLegendAttr( _attrData );
- LuaAPI.lua_pushstring(L, gen_ret);
-
-
-
- return 1;
- }
- if(gen_param_count == 4&& translator.Assignable<System.Collections.Generic.List<int>>(L, 2)&& translator.Assignable<System.Collections.Generic.List<int>>(L, 3)&& translator.Assignable<ItemConfig>(L, 4))
- {
- System.Collections.Generic.List<int> _idlist = (System.Collections.Generic.List<int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<int>));
- System.Collections.Generic.List<int> _valuelist = (System.Collections.Generic.List<int>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<int>));
- ItemConfig _itemConfig = (ItemConfig)translator.GetObject(L, 4, typeof(ItemConfig));
-
- string gen_ret = gen_to_be_invoked.GetLegendAttr( _idlist, _valuelist, _itemConfig );
- LuaAPI.lua_pushstring(L, gen_ret);
-
-
-
- return 1;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.ItemTipsModel.GetLegendAttr!");
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetEquipLegendAttrCntPreview(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetEquipLegendAttrCntPreview( _attrData );
- 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_GetJadeDynastyAttrCntPreview(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetJadeDynastyAttrCntPreview( _attrData );
- 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_GetDogzLegendAttrCntPreview(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetDogzLegendAttrCntPreview( _attrData );
- 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_GetWingsLegendAttrCntPreview(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetWingsLegendAttrCntPreview( _attrData );
- 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_GetPreviewLegendAttr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- System.Collections.Generic.List<int> _idlist = (System.Collections.Generic.List<int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<int>));
- System.Collections.Generic.List<int> _valuelist = (System.Collections.Generic.List<int>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<int>));
- ItemConfig _itemConfig = (ItemConfig)translator.GetObject(L, 4, typeof(ItemConfig));
- bool _isCustom = LuaAPI.lua_toboolean(L, 5);
-
- string gen_ret = gen_to_be_invoked.GetPreviewLegendAttr( _idlist, _valuelist, _itemConfig, _isCustom );
- 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_GetWingsRefineMatStr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetWingsRefineMatStr( _attrData );
- 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_GetWashAttr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetWashAttr( _attrData );
- 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_GetExhaustedAtrr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
-
- string gen_ret = gen_to_be_invoked.GetExhaustedAtrr( _attrData );
- 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_GetEquipExhaustedAtrr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- System.Collections.Generic.List<int> _idlist = (System.Collections.Generic.List<int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<int>));
- System.Collections.Generic.List<int> _valuelist = (System.Collections.Generic.List<int>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<int>));
-
- string gen_ret = gen_to_be_invoked.GetEquipExhaustedAtrr( _idlist, _valuelist );
- 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_GetExhaustedMaxLv(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipLV = LuaAPI.xlua_tointeger(L, 2);
-
- int gen_ret = gen_to_be_invoked.GetExhaustedMaxLv( _equipLV );
- 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_GetProValueTypeStr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- PlayerPropertyConfig _playerproModel = (PlayerPropertyConfig)translator.GetObject(L, 2, typeof(PlayerPropertyConfig));
- int _value = LuaAPI.xlua_tointeger(L, 3);
-
- string gen_ret = gen_to_be_invoked.GetProValueTypeStr( _playerproModel, _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_SetItemEffectDict(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- ItemConfig _config = (ItemConfig)translator.GetObject(L, 2, typeof(ItemConfig));
-
- System.Collections.Generic.Dictionary<int, int> gen_ret = gen_to_be_invoked.SetItemEffectDict( _config );
- 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_SetCurTips(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 2, typeof(UnityEngine.RectTransform));
-
- gen_to_be_invoked.SetCurTips( _rect );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetCompareTips(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 2, typeof(UnityEngine.RectTransform));
-
- gen_to_be_invoked.SetCompareTips( _rect );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetTipsPos(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
-
- gen_to_be_invoked.SetTipsPos( );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetCommonTipPos(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- UnityEngine.RectTransform _rect = (UnityEngine.RectTransform)translator.GetObject(L, 2, typeof(UnityEngine.RectTransform));
-
- gen_to_be_invoked.SetCommonTipPos( _rect );
-
-
-
- return 0;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_SetExtendGirdModel(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)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)&& translator.Assignable<PackType>(L, 4))
- {
- int _openCount = LuaAPI.xlua_tointeger(L, 2);
- int _index = LuaAPI.xlua_tointeger(L, 3);
- PackType _type;translator.Get(L, 4, out _type);
-
- gen_to_be_invoked.SetExtendGirdModel( _openCount, _index, _type );
-
-
-
- return 0;
- }
- if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
- {
- int _openCount = LuaAPI.xlua_tointeger(L, 2);
- int _index = LuaAPI.xlua_tointeger(L, 3);
-
- gen_to_be_invoked.SetExtendGirdModel( _openCount, _index );
-
-
-
- return 0;
- }
- if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
- {
- int _openCount = LuaAPI.xlua_tointeger(L, 2);
-
- gen_to_be_invoked.SetExtendGirdModel( _openCount );
-
-
-
- return 0;
- }
- if(gen_param_count == 1)
- {
-
- gen_to_be_invoked.SetExtendGirdModel( );
-
-
-
- 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.ItemTipsModel.SetExtendGirdModel!");
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_GetAddExpValue(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _timeValue = LuaAPI.xlua_tointeger(L, 2);
- int _maxExpLv = LuaAPI.xlua_tointeger(L, 3);
-
- ulong gen_ret = gen_to_be_invoked.GetAddExpValue( _timeValue, _maxExpLv );
- LuaAPI.lua_pushuint64(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_GetPetSkillDict(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _unlockId = LuaAPI.xlua_tointeger(L, 2);
-
- System.Collections.Generic.Dictionary<int, int> gen_ret = gen_to_be_invoked.GetPetSkillDict( _unlockId );
- 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_GetQualityName(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _quality = LuaAPI.xlua_tointeger(L, 2);
-
- string gen_ret = gen_to_be_invoked.GetQualityName( _quality );
- 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_GetMountSkillDict(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _unlockId = LuaAPI.xlua_tointeger(L, 2);
-
- System.Collections.Generic.Dictionary<int, System.Collections.Generic.List<int>> gen_ret = gen_to_be_invoked.GetMountSkillDict( _unlockId );
- 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_SetPetAttrStr(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)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)&& (LuaAPI.lua_isnil(L, 4) || LuaAPI.lua_type(L, 4) == LuaTypes.LUA_TSTRING))
- {
- int _attrId = LuaAPI.xlua_tointeger(L, 2);
- int _attrValue = LuaAPI.xlua_tointeger(L, 3);
- string _attrName;
- string _attrValueStr;
- string _contanctStr = LuaAPI.lua_tostring(L, 4);
-
- gen_to_be_invoked.SetPetAttrStr( _attrId, _attrValue, out _attrName, out _attrValueStr, _contanctStr );
- LuaAPI.lua_pushstring(L, _attrName);
-
- LuaAPI.lua_pushstring(L, _attrValueStr);
-
-
-
-
- return 2;
- }
- if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
- {
- int _attrId = LuaAPI.xlua_tointeger(L, 2);
- int _attrValue = LuaAPI.xlua_tointeger(L, 3);
- string _attrName;
- string _attrValueStr;
-
- gen_to_be_invoked.SetPetAttrStr( _attrId, _attrValue, out _attrName, out _attrValueStr );
- LuaAPI.lua_pushstring(L, _attrName);
-
- LuaAPI.lua_pushstring(L, _attrValueStr);
-
-
-
-
- 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.ItemTipsModel.SetPetAttrStr!");
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_TryGetFightPowerByItemId(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
- int _fightPower;
-
- bool gen_ret = gen_to_be_invoked.TryGetFightPowerByItemId( _itemId, out _fightPower );
- LuaAPI.lua_pushboolean(L, gen_ret);
- LuaAPI.xlua_pushinteger(L, _fightPower);
-
-
-
-
- return 2;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_IsPeerlessEquip(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
-
- bool gen_ret = gen_to_be_invoked.IsPeerlessEquip( _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_GetEquipFightPower(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _equipScore = LuaAPI.xlua_tointeger(L, 2);
-
- int gen_ret = gen_to_be_invoked.GetEquipFightPower( _equipScore );
- 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_GetShareNumItemDes(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
-
- string gen_ret = gen_to_be_invoked.GetShareNumItemDes( _itemId );
- 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_IsShowModel(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
- Snxxz.UI.ModelShowPerfab _showPerfab = (Snxxz.UI.ModelShowPerfab)translator.GetObject(L, 3, typeof(Snxxz.UI.ModelShowPerfab));
-
- bool gen_ret = gen_to_be_invoked.IsShowModel( _itemId, _showPerfab );
- 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_TryGetItemFashionData(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- int _itemId = LuaAPI.xlua_tointeger(L, 2);
- int _fashionType;
- int _fashionId;
-
- bool gen_ret = gen_to_be_invoked.TryGetItemFashionData( _itemId, out _fashionType, out _fashionId );
- LuaAPI.lua_pushboolean(L, gen_ret);
- LuaAPI.xlua_pushinteger(L, _fashionType);
-
- LuaAPI.xlua_pushinteger(L, _fashionId);
-
-
-
-
- return 3;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _m_TryGetMagicFightPower(RealStatePtr L)
- {
- try {
-
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
-
-
-
- {
- ItemConfig _itemConfig = (ItemConfig)translator.GetObject(L, 2, typeof(ItemConfig));
- int _fightPower;
-
- bool gen_ret = gen_to_be_invoked.TryGetMagicFightPower( _itemConfig, out _fightPower );
- LuaAPI.lua_pushboolean(L, gen_ret);
- LuaAPI.xlua_pushinteger(L, _fightPower);
-
-
-
-
- return 2;
- }
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
-
- }
-
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_equipLegendAttrTypeDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.equipLegendAttrTypeDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_wingsLegendAttrColorDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.wingsLegendAttrColorDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_legendAttrCntPreviewDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.legendAttrCntPreviewDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_legendAttrIDPreviewDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.legendAttrIDPreviewDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_legendAttrColorValuePreviewDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.legendAttrColorValuePreviewDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_legendAttrLvValuePreviewDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.legendAttrLvValuePreviewDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_wingsLegendAttrCntPreviewDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.wingsLegendAttrCntPreviewDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_wingsLegendAttrValuePreviewDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.wingsLegendAttrValuePreviewDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_dogzLegendAttrIDPreviewDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.dogzLegendAttrIDPreviewDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_dogzLegendAttrColorValuePreviewDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.dogzLegendAttrColorValuePreviewDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_dogzLegendAttrCntPreviewDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.dogzLegendAttrCntPreviewDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_dogzLegendAttrTypeDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.dogzLegendAttrTypeDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_guardDesDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.guardDesDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_unlockPetDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.unlockPetDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_unlockMountDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.unlockMountDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_itemParamsDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.itemParamsDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_exhaustedAttrFormula(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.exhaustedAttrFormula);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_exhaustedMaxLvDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.exhaustedMaxLvDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_gemOpenLvs(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.gemOpenLvs);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jadeDynastyGemOpenLvs(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.jadeDynastyGemOpenLvs);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_gemOpenVipLv(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.gemOpenVipLv);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_gemType1s(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.gemType1s);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_gemType2s(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.gemType2s);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_equipMidHeights(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.equipMidHeights);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_wingsMidHeights(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.wingsMidHeights);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jumpAndUseTypes(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.jumpAndUseTypes);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_equipSuitStar(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.equipSuitStar);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_ItemRenewalIds(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.ItemRenewalIds);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_tryPutOnEquipIds(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.tryPutOnEquipIds);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_randomRuneIds(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.randomRuneIds);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_PeerlessEquipIds(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.PeerlessEquipIds);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_atkSpeedColorDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.atkSpeedColorDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jadeDynastyLegendCountDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.jadeDynastyLegendCountDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jadeDynastyLegendGroupDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.jadeDynastyLegendGroupDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jadeDynastyLegendIdDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.jadeDynastyLegendIdDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jadeDynastyLegendColorDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.jadeDynastyLegendColorDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jadeDynastyColorDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.jadeDynastyColorDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_jadeDynastyLegendValueDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.jadeDynastyLegendValueDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_curAttrData(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.curAttrData);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_compareAttrData(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.compareAttrData);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_OpenCount(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.OpenCount);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_packType(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.packType);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_Index(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Index);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_strengthengmodel(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.strengthengmodel);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_petAndMountQualityDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.petAndMountQualityDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_expValueFormula(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- LuaAPI.lua_pushstring(L, gen_to_be_invoked.expValueFormula);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_guardAutoDrops(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.guardAutoDrops);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_showModelAttrDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.showModelAttrDict);
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 1;
- }
-
-
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _s_set_petAndMountQualityDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- gen_to_be_invoked.petAndMountQualityDict = (System.Collections.Generic.Dictionary<int, string>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, string>));
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 0;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _s_set_expValueFormula(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- gen_to_be_invoked.expValueFormula = LuaAPI.lua_tostring(L, 2);
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 0;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _s_set_guardAutoDrops(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- gen_to_be_invoked.guardAutoDrops = (int[])translator.GetObject(L, 2, typeof(int[]));
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 0;
- }
-
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _s_set_showModelAttrDict(RealStatePtr L)
- {
- try {
- ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-
- Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
- gen_to_be_invoked.showModelAttrDict = (System.Collections.Generic.Dictionary<int, int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<int, int>));
-
- } catch(System.Exception gen_e) {
- return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
- }
- return 0;
- }
-
-
-
-
-
- }
-}
diff --git a/Lua/Gen/SnxxzUIItemTipsModelWrap.cs.meta b/Lua/Gen/SnxxzUIItemTipsModelWrap.cs.meta
deleted file mode 100644
index 15a67a6..0000000
--- a/Lua/Gen/SnxxzUIItemTipsModelWrap.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 5db2ad51072b0a449996bfec24f3455d
-timeCreated: 1550120578
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/System/Achievement/AchievementModel.cs b/System/Achievement/AchievementModel.cs
index 257960e..ff1610a 100644
--- a/System/Achievement/AchievementModel.cs
+++ b/System/Achievement/AchievementModel.cs
@@ -518,7 +518,7 @@
private string GetHighestSorceEquipByPlace(List<int> _places)
{
var itemPackage = playerPack.GetSinglePackModel(PackType.Item);
- var allItems = itemPackage.GetPackModelIndexDict();
+ var allItems = itemPackage.GetAllItems();
var guid = string.Empty;
var equips = new List<string>();
@@ -542,7 +542,7 @@
private string GetBetterEquipByPlace(List<int> _places)
{
var itemPackage = playerPack.GetSinglePackModel(PackType.Item);
- var allItems = itemPackage.GetPackModelIndexDict();
+ var allItems = itemPackage.GetAllItems();
var guid = string.Empty;
var equips = new List<string>();
@@ -555,7 +555,7 @@
if (!overdue && _places.Contains(item.config.EquipPlace) && (item.config.JobLimit == 0 || (item.config.JobLimit / 100) == job))
{
- var equipedItem = equipPackage.GetItemModelByIndex(item.config.EquipPlace);
+ var equipedItem = equipPackage.GetItemByIndex(item.config.EquipPlace);
var equipdItemScore = equipedItem == null ? 0 : equipedItem.equipScore;
if (item.equipScore > equipdItemScore && item.equipScore > score)
{
@@ -570,7 +570,7 @@
public string GetBetterEquipByPlace()
{
var itemPackage = playerPack.GetSinglePackModel(PackType.Item);
- var allItems = itemPackage.GetPackModelIndexDict();
+ var allItems = itemPackage.GetAllItems();
var guid = string.Empty;
var equips = new List<string>();
@@ -585,7 +585,7 @@
continue;
}
- var equipedItem = equipPackage.GetItemModelByIndex(item.config.EquipPlace);
+ var equipedItem = equipPackage.GetItemByIndex(item.config.EquipPlace);
var equipdItemScore = equipedItem == null ? 0 : equipedItem.equipScore;
var overdue = packModelInterface.IsOverdue(item.guid, item.itemId, item.useDataDict);
diff --git a/System/BetterItemGet/BetterEquipGetModel.cs b/System/BetterItemGet/BetterEquipGetModel.cs
index f6b609b..5ec0a8e 100644
--- a/System/BetterItemGet/BetterEquipGetModel.cs
+++ b/System/BetterItemGet/BetterEquipGetModel.cs
@@ -72,7 +72,7 @@
if(isCoolEnd)
{
DebugEx.Log("UpdateCoolTime:" + _equip.itemId);
- ItemLogicUtility.Instance.PutOnItem(ItemOperateType.putOn,guid);
+ ItemOperateUtility.Instance.PutOnItem(ItemOperateType.putOn,guid);
ReportConfirmBetterEquip(guid);
}
}
diff --git a/System/BetterItemGet/PreciousItemGetModel.cs b/System/BetterItemGet/PreciousItemGetModel.cs
index 8aacf5a..feabc4f 100644
--- a/System/BetterItemGet/PreciousItemGetModel.cs
+++ b/System/BetterItemGet/PreciousItemGetModel.cs
@@ -99,7 +99,7 @@
{
var itemModel = itemModels[0];
var error = 0;
- var isHaveMakeNum = ItemLogicUtility.Instance.CanUseItem(itemModel.itemPlace ,1,out error);
+ var isHaveMakeNum = ItemOperateUtility.Instance.CanUseItem(itemModel.itemPlace ,1,out error);
if(isHaveMakeNum)
{
OnGetPreciousItem(PackType.Item, itemModel.guid);
diff --git a/System/BlastFurnace/BlastFurnaceModel.cs b/System/BlastFurnace/BlastFurnaceModel.cs
index cca3a6d..bae6f0a 100644
--- a/System/BlastFurnace/BlastFurnaceModel.cs
+++ b/System/BlastFurnace/BlastFurnaceModel.cs
@@ -1053,7 +1053,7 @@
List<ItemModel> itemModels = new List<ItemModel>();
List<AttrFruitConfig> fruitlist = playerPack.makeDruglist;
- Dictionary<int, ItemModel> itemDict = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> itemDict = singlePack.GetAllItems();
foreach (var index in itemDict.Keys)
{
if (playerPack.CheckIsDrugById(itemDict[index].itemId))
diff --git a/System/Chat/ChatExtentWin.cs b/System/Chat/ChatExtentWin.cs
index 36fc7a6..9116f63 100644
--- a/System/Chat/ChatExtentWin.cs
+++ b/System/Chat/ChatExtentWin.cs
@@ -307,7 +307,7 @@
SinglePackModel packTypeModel = _packModel.GetSinglePackModel(PackType.Equip);
if (packTypeModel != null)
{
- Dictionary<int, ItemModel> equipBodyDict = packTypeModel.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> equipBodyDict = packTypeModel.GetAllItems();
if (equipBodyDict != null && equipBodyDict.Count > 0)
{
foreach (var _equip in equipBodyDict.Values)
@@ -322,7 +322,7 @@
packTypeModel = _packModel.GetSinglePackModel(PackType.Item);
if (packTypeModel != null)
{
- Dictionary<int, ItemModel> dic = packTypeModel.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> dic = packTypeModel.GetAllItems();
if (dic != null && dic.Count > 0)
{
m_DisplayItems.AddRange(dic.Values.ToList());
diff --git a/System/Compose/New/SelectEquipModel.cs b/System/Compose/New/SelectEquipModel.cs
index 42a3085..ce4d407 100644
--- a/System/Compose/New/SelectEquipModel.cs
+++ b/System/Compose/New/SelectEquipModel.cs
@@ -53,7 +53,7 @@
if (singlePack == null) return null;
int[] unfixedIds = composeWinModel.CurComposeModel.unfixedItemID;
- allBagItemInfo = singlePack.GetPackModelIndexDict();
+ allBagItemInfo = singlePack.GetAllItems();
_unfixedItemDict.Clear();
foreach (int key in allBagItemInfo.Keys)
{
@@ -93,7 +93,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(packType);
if (singlePack == null) return null;
- allBagItemInfo = singlePack.GetPackModelIndexDict();
+ allBagItemInfo = singlePack.GetAllItems();
List<ItemModel> modellist = allBagItemInfo.Values.ToList();
modellist.Sort(CompareByCondition);
_addonsItemDict.Clear();
diff --git a/System/Dogz/DogzModel.cs b/System/Dogz/DogzModel.cs
index 7145c3f..26511c9 100644
--- a/System/Dogz/DogzModel.cs
+++ b/System/Dogz/DogzModel.cs
@@ -402,7 +402,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.DogzEquip);
if (singlePack == null) return;
- Dictionary<int, ItemModel> pairs = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> pairs = singlePack.GetAllItems();
foreach(var index in pairs.Keys)
{
ItemModel itemModel = pairs[index];
@@ -706,7 +706,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.DogzItem);
if (singlePack == null) return dogzItemList;
- Dictionary<int, ItemModel> pairs = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> pairs = singlePack.GetAllItems();
foreach(var value in pairs.Values)
{
if(IsReachSelectCondi(value.itemId))
@@ -724,7 +724,7 @@
if (singlePack == null) return 0;
int num = 0;
- Dictionary<int, ItemModel> pairs = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> pairs = singlePack.GetAllItems();
foreach (var value in pairs.Values)
{
if(value.config.EquipPlace == 0)
@@ -777,7 +777,7 @@
var _itemColor = GetDogzEquipLimitByIndex(dogzId, index);
var _equipPlace = GetDogzEquipPlaceByIndex(index);
- Dictionary<int, ItemModel> pairs = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> pairs = singlePack.GetAllItems();
foreach (var value in pairs.Values)
{
if(value.config.EquipPlace == _equipPlace
diff --git a/System/Dogz/DogzPackModel.cs b/System/Dogz/DogzPackModel.cs
index f4dad0c..830b0bb 100644
--- a/System/Dogz/DogzPackModel.cs
+++ b/System/Dogz/DogzPackModel.cs
@@ -49,7 +49,7 @@
{
dogzPackItems.Clear();
var _pack = m_PlayerPackModel.GetSinglePackModel(PackType.AnyWhere);
- var _itemValues = _pack.GetPackModelIndexDict().Values;
+ var _itemValues = _pack.GetAllItems().Values;
foreach (var _item in _itemValues)
{
dogzPackItems.Add(_item);
diff --git a/System/Dungeon/DungeonLiquidCell.cs b/System/Dungeon/DungeonLiquidCell.cs
index 976b04b..8b26be0 100644
--- a/System/Dungeon/DungeonLiquidCell.cs
+++ b/System/Dungeon/DungeonLiquidCell.cs
@@ -193,14 +193,14 @@
if (isOk)
{
WindowCenter.Instance.Close<DungeonUseLiquidWin>();
- ItemLogicUtility.Instance.UseItem(itemModel.itemPlace);
+ ItemOperateUtility.Instance.UseItem(itemModel.itemPlace);
}
}));
}
else
{
WindowCenter.Instance.Close<DungeonUseLiquidWin>();
- ItemLogicUtility.Instance.UseItem(itemModel.itemPlace);
+ ItemOperateUtility.Instance.UseItem(itemModel.itemPlace);
}
}
diff --git a/System/Dungeon/TrialDungeonModel.cs b/System/Dungeon/TrialDungeonModel.cs
index 425a2cf..1c7616b 100644
--- a/System/Dungeon/TrialDungeonModel.cs
+++ b/System/Dungeon/TrialDungeonModel.cs
@@ -311,7 +311,7 @@
var singlepack = packModel.GetSinglePackModel(PackType.Item);
if (singlepack != null)
{
- var dict = singlepack.GetPackModelIndexDict();
+ var dict = singlepack.GetAllItems();
if (dict != null)
{
var badCompare = 1;
@@ -344,7 +344,7 @@
{
return 1;
}
- var equipItem = singlepack.GetItemModelByIndex(equipPlace);
+ var equipItem = singlepack.GetItemByIndex(equipPlace);
if (equipItem == null)
{
return 1;
diff --git a/System/Dungeon/TrialExchangeWin.cs b/System/Dungeon/TrialExchangeWin.cs
index d4ab382..4aba7dc 100644
--- a/System/Dungeon/TrialExchangeWin.cs
+++ b/System/Dungeon/TrialExchangeWin.cs
@@ -66,16 +66,16 @@
if (WindowJumpMgr.Instance.IsJumpState)
{
- if (ItemLogicUtility.Instance.useItemModel != null
- && model.trialTokens.Contains(ItemLogicUtility.Instance.useItemModel.itemId))
+ if (ItemOperateUtility.Instance.useItemModel != null
+ && model.trialTokens.Contains(ItemOperateUtility.Instance.useItemModel.itemId))
{
- var itemId = ItemLogicUtility.Instance.useItemModel.itemId;
+ var itemId = ItemOperateUtility.Instance.useItemModel.itemId;
var config = ItemConfig.Get(itemId);
if (config != null)
{
model.selectEquipClass = config.LV;
}
- ItemLogicUtility.Instance.useItemModel = null;
+ ItemOperateUtility.Instance.useItemModel = null;
}
}
diff --git a/System/FairyAu/DonateEquipTipsWin.cs b/System/FairyAu/DonateEquipTipsWin.cs
index 1b936c8..04e5324 100644
--- a/System/FairyAu/DonateEquipTipsWin.cs
+++ b/System/FairyAu/DonateEquipTipsWin.cs
@@ -77,7 +77,7 @@
void Backpacking()//鐗╁搧璇诲彇
{
- Dictionary<int, ItemModel> backpack_dic = playerPack.GetSinglePackModel(PackType.Item).GetPackModelIndexDict();
+ Dictionary<int, ItemModel> backpack_dic = playerPack.GetSinglePackModel(PackType.Item).GetAllItems();
Dictionary<int, ProductOrderJudgment> _ProductOrderJudgment = new Dictionary<int, ProductOrderJudgment>();
phagocytosisID.Clear();
_ProductOrderJudgment = AttributeJudgment();///灞炴�у垽鏂�
diff --git a/System/FairyAu/FamilyChangeNameWin.cs b/System/FairyAu/FamilyChangeNameWin.cs
index 68c9846..2c5fc4e 100644
--- a/System/FairyAu/FamilyChangeNameWin.cs
+++ b/System/FairyAu/FamilyChangeNameWin.cs
@@ -93,11 +93,11 @@
{
if (_isOk)
{
- if(ItemLogicUtility.Instance.useItemModel != null)
+ if(ItemOperateUtility.Instance.useItemModel != null)
{
- if(ItemLogicUtility.Instance.useItemModel.itemId == model.changeFairyNameItem)
+ if(ItemOperateUtility.Instance.useItemModel.itemId == model.changeFairyNameItem)
{
- model.SendChangeFairyName(m_FairyNameInput.text, ItemLogicUtility.Instance.useItemModel.itemPlace);
+ model.SendChangeFairyName(m_FairyNameInput.text, ItemOperateUtility.Instance.useItemModel.itemPlace);
}
}
}
diff --git a/System/FairyAu/PlayerFairyAuTreasureData.cs b/System/FairyAu/PlayerFairyAuTreasureData.cs
index 3a7f4b9..c1c5424 100644
--- a/System/FairyAu/PlayerFairyAuTreasureData.cs
+++ b/System/FairyAu/PlayerFairyAuTreasureData.cs
@@ -200,7 +200,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
for (int i = 0; i < EquipmentList.Count; i++)
{
- ItemModel ItemModel = singlePack.GetItemModelByIndex(i);
+ ItemModel ItemModel = singlePack.GetItemByIndex(i);
int Type = i;
if (ItemModel != null)
{
diff --git a/System/FairyAu/WarehouseTipsWin.cs b/System/FairyAu/WarehouseTipsWin.cs
index 6733b8f..fe66af4 100644
--- a/System/FairyAu/WarehouseTipsWin.cs
+++ b/System/FairyAu/WarehouseTipsWin.cs
@@ -1112,7 +1112,7 @@
private bool IsDonateEquipment()//鍒ゆ柇鏄惁鏈夊彲鎹愮尞瑁呭
{
- Dictionary<int, ItemModel> backpack_dic = playerPack.GetSinglePackModel(PackType.Item).GetPackModelIndexDict();
+ Dictionary<int, ItemModel> backpack_dic = playerPack.GetSinglePackModel(PackType.Item).GetAllItems();
Dictionary<int, ProductOrderJudgment> _ProductOrderJudgment = AttributeJudgment();
foreach (int item_id in backpack_dic.Keys)
{
diff --git a/System/Guard/GuardModel.cs b/System/Guard/GuardModel.cs
index 54eb234..d3475f8 100644
--- a/System/Guard/GuardModel.cs
+++ b/System/Guard/GuardModel.cs
@@ -55,7 +55,7 @@
{
yield break;
}
- var _itemModel = _equipModel.GetItemModelByIndex((int)RoleEquipType.SpiritAnimal);
+ var _itemModel = _equipModel.GetItemByIndex((int)RoleEquipType.SpiritAnimal);
if (_itemModel != null && _itemModel.itemInfo != null)
{
_hero.SwitchGuard((uint)_itemModel.itemId);
diff --git a/System/HappyXB/HappyXBModel.cs b/System/HappyXB/HappyXBModel.cs
index 187dcff..f13e7a0 100644
--- a/System/HappyXB/HappyXBModel.cs
+++ b/System/HappyXB/HappyXBModel.cs
@@ -575,7 +575,7 @@
{
case PackType.Treasure:
SinglePackModel singlePack = playerPack.GetSinglePackModel(type);
- if(100 - singlePack.GetPackModelIndexDict().Count < needGrid)
+ if(100 - singlePack.GetAllItems().Count < needGrid)
{
SysNotifyMgr.Instance.ShowTip("XBWarehouseFull");
return false;
@@ -889,7 +889,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Treasure);
if (singlePack == null) return;
- if (singlePack.GetPackModelIndexDict().Count > 0)
+ if (singlePack.GetAllItems().Count > 0)
{
xbWarehouseRed.state = RedPointState.Simple;
}
diff --git a/System/HappyXB/XBWarehouseWin.cs b/System/HappyXB/XBWarehouseWin.cs
index 47d689f..d7e0b9c 100644
--- a/System/HappyXB/XBWarehouseWin.cs
+++ b/System/HappyXB/XBWarehouseWin.cs
@@ -188,7 +188,7 @@
{
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Treasure);
if (singlePack == null) return;
- Dictionary<int, ItemModel> pairs = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> pairs = singlePack.GetAllItems();
bool isHaveItem = false;
bool isHaveRune = false;
foreach(var value in pairs.Values)
diff --git a/System/JadeDynastyBoss/JadeDynastyBossModel.cs b/System/JadeDynastyBoss/JadeDynastyBossModel.cs
index f21a085..24d58f9 100644
--- a/System/JadeDynastyBoss/JadeDynastyBossModel.cs
+++ b/System/JadeDynastyBoss/JadeDynastyBossModel.cs
@@ -31,7 +31,7 @@
SinglePackModel singlePackModel = packModel.GetSinglePackModel(PackType.JadeDynastyEquip);
if (singlePackModel != null)
{
- Dictionary<int, ItemModel> equipBodyDict = singlePackModel.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> equipBodyDict = singlePackModel.GetAllItems();
if (equipBodyDict != null && equipBodyDict.Count > 0)
{
foreach (var _equip in equipBodyDict.Values)
diff --git a/System/JadeDynastyKnapSack/JadeDynastyDecomposeModel.cs b/System/JadeDynastyKnapSack/JadeDynastyDecomposeModel.cs
index 84bfb01..3dd1f34 100644
--- a/System/JadeDynastyKnapSack/JadeDynastyDecomposeModel.cs
+++ b/System/JadeDynastyKnapSack/JadeDynastyDecomposeModel.cs
@@ -112,7 +112,7 @@
var singlePack = playerPack.GetSinglePackModel(PackType.JadeDynastyItem);
if (singlePack == null) return;
- var itemDict = singlePack.GetPackModelIndexDict();
+ var itemDict = singlePack.GetAllItems();
foreach(var index in itemDict.Keys)
{
var model = itemDict[index];
diff --git a/System/JadeDynastyKnapSack/JadeDynastyEquipWin.cs b/System/JadeDynastyKnapSack/JadeDynastyEquipWin.cs
index 7fc0964..dd95184 100644
--- a/System/JadeDynastyKnapSack/JadeDynastyEquipWin.cs
+++ b/System/JadeDynastyKnapSack/JadeDynastyEquipWin.cs
@@ -137,7 +137,7 @@
var singlePack = playerPack.GetSinglePackModel(PackType.JadeDynastyEquip);
if (singlePack != null)
{
- var dict = singlePack.GetPackModelIndexDict();
+ var dict = singlePack.GetAllItems();
foreach(var model in dict.Values)
{
fightPower += model.equipScore;
diff --git a/System/KnapSack/BetterItemGetBehaviour.cs b/System/KnapSack/BetterItemGetBehaviour.cs
index b0594df..b2da38c 100644
--- a/System/KnapSack/BetterItemGetBehaviour.cs
+++ b/System/KnapSack/BetterItemGetBehaviour.cs
@@ -137,7 +137,7 @@
}
else
{
- ItemLogicUtility.Instance.PutOnItem(ItemOperateType.putOn, model.currentEquipGuid);
+ ItemOperateUtility.Instance.PutOnItem(ItemOperateType.putOn, model.currentEquipGuid);
model.ReportConfirmBetterEquip(model.currentEquipGuid);
}
}
diff --git a/System/KnapSack/ItemUseBehaviour.cs b/System/KnapSack/ItemUseBehaviour.cs
index 68d3894..03f6112 100644
--- a/System/KnapSack/ItemUseBehaviour.cs
+++ b/System/KnapSack/ItemUseBehaviour.cs
@@ -63,7 +63,7 @@
model.ReportConfirmUseItem(model.currentShowItem);
if (itemModel != null && itemModel.packType == PackType.Item)
{
- ItemLogicUtility.Instance.GotoUseItem(itemModel.itemPlace);
+ ItemOperateUtility.Instance.GotoUseItem(itemModel.itemPlace);
}
}
}
diff --git a/System/KnapSack/Logic/BoxGetItemModel.cs b/System/KnapSack/Logic/BoxGetItemModel.cs
index 7fc725a..4e45ed5 100644
--- a/System/KnapSack/Logic/BoxGetItemModel.cs
+++ b/System/KnapSack/Logic/BoxGetItemModel.cs
@@ -177,7 +177,7 @@
ItemModel itemModel = playerPack.GetItemModelByGUID(guid);
if (itemModel != null)
{
- ItemLogicUtility.Instance.UseItem(itemModel.itemPlace,useCnt);
+ ItemOperateUtility.Instance.UseItem(itemModel.itemPlace,useCnt);
}
}
diff --git a/System/KnapSack/Logic/BoxGetItemWin.cs b/System/KnapSack/Logic/BoxGetItemWin.cs
index ac61cad..5ce22b2 100644
--- a/System/KnapSack/Logic/BoxGetItemWin.cs
+++ b/System/KnapSack/Logic/BoxGetItemWin.cs
@@ -250,7 +250,7 @@
if (itemModel == null) return;
int useCnt = BoxModel.GetUseCntByID(itemModel.itemId);
- ItemLogicUtility.Instance.UseItem(itemModel.itemPlace, 1);
+ ItemOperateUtility.Instance.UseItem(itemModel.itemPlace, 1);
}
private void ClickBackBtn()
diff --git a/System/KnapSack/Logic/ItemLogicUtility.cs b/System/KnapSack/Logic/ItemOperateUtility.cs
similarity index 99%
rename from System/KnapSack/Logic/ItemLogicUtility.cs
rename to System/KnapSack/Logic/ItemOperateUtility.cs
index b96315d..904dc1b 100644
--- a/System/KnapSack/Logic/ItemLogicUtility.cs
+++ b/System/KnapSack/Logic/ItemOperateUtility.cs
@@ -7,7 +7,7 @@
namespace Snxxz.UI
{
[XLua.LuaCallCSharp]
- public class ItemLogicUtility : Singleton<ItemLogicUtility>
+ public class ItemOperateUtility : Singleton<ItemOperateUtility>
{
PlayerPackModel playerPack { get { return ModelCenter.Instance.GetModel<PlayerPackModel>(); } }
ItemTipsModel itemTipsModel { get { return ModelCenter.Instance.GetModel<ItemTipsModel>(); } }
@@ -739,7 +739,7 @@
return;
}
- useItemModel = singlePack.GetItemModelByIndex(itemIndex);
+ useItemModel = singlePack.GetItemByIndex(itemIndex);
if (useItemModel == null)
{
return;
diff --git a/System/KnapSack/Logic/ItemLogicUtility.cs.meta b/System/KnapSack/Logic/ItemOperateUtility.cs.meta
similarity index 100%
rename from System/KnapSack/Logic/ItemLogicUtility.cs.meta
rename to System/KnapSack/Logic/ItemOperateUtility.cs.meta
diff --git a/System/KnapSack/Logic/ItemTipsModel.cs b/System/KnapSack/Logic/ItemTipsModel.cs
index 6b20547..fdb9368 100644
--- a/System/KnapSack/Logic/ItemTipsModel.cs
+++ b/System/KnapSack/Logic/ItemTipsModel.cs
@@ -15,8 +15,8 @@
FuncConfigConfig exhaustedFunc;
- public Dictionary<int, List<int>> equipLegendAttrTypeDict { get; private set; }
- public Dictionary<int, Dictionary<int, string>> wingsLegendAttrColorDict { get; private set; }
+ Dictionary<int, List<int>> equipLegendAttrTypeDict { get; set; }
+ Dictionary<int, Dictionary<int, string>> wingsLegendAttrColorDict { get; set; }
public Dictionary<string, Dictionary<LegendAttrType, int>> legendAttrCntPreviewDict { get; private set; } // key 鍝佽川+鏄熺骇 value 灞炴�ф潯鐩暟
public Dictionary<int, Dictionary<LegendAttrType, List<int>>> legendAttrIDPreviewDict { get; private set; } // key 瑁呭浣� value 灞炴�х被鍨嬶紝灞炴�D
public Dictionary<int, Dictionary<int, int>> legendAttrColorValuePreviewDict { get; private set; } // key 灞炴�D value 瑁呭鍝佽川锛屽睘鎬ф暟鍊�
@@ -25,20 +25,19 @@
public Dictionary<int, Dictionary<int, List<int>>> wingsLegendAttrValuePreviewDict { get; private set; } //key 闃舵暟 value 灞炴�D 灞炴�ф暟鍊�
public Dictionary<int, Dictionary<LegendAttrType, List<int>>> dogzLegendAttrIDPreviewDict { get; private set; } // key 瑁呭浣� value 灞炴�х被鍨嬶紝灞炴�D
public Dictionary<int, Dictionary<int, int>> dogzLegendAttrColorValuePreviewDict { get; private set; } // key 灞炴�D value 瑁呭鍝佽川锛屽睘鎬ф暟鍊�
- public Dictionary<string, Dictionary<LegendAttrType, int>> dogzLegendAttrCntPreviewDict { get; private set; } // key 鍝佽川+鏄熺骇 value 灞炴�ф潯鐩暟
- public Dictionary<int, List<int>> dogzLegendAttrTypeDict { get; private set; }
+ Dictionary<string, Dictionary<LegendAttrType, int>> dogzLegendAttrCntPreviewDict { get; set; } // key 鍝佽川+鏄熺骇 value 灞炴�ф潯鐩暟
+ Dictionary<int, List<int>> dogzLegendAttrTypeDict { get; set; }
public Dictionary<int, List<string>> guardDesDict { get; private set; }
public Dictionary<int, PetInfoConfig> unlockPetDict { get; private set; }
public Dictionary<int, HorseConfig> unlockMountDict { get; private set; }
private Dictionary<int, Dictionary<int, int>> petSkillDict = new Dictionary<int, Dictionary<int, int>>(); // 缂栧彿 瑙i攣闃剁骇 鎶�鑳�
private Dictionary<int, Dictionary<int, List<int>>> mountSkillDict = new Dictionary<int, Dictionary<int, List<int>>>(); // 缂栧彿 瑙i攣闃剁骇 鎶�鑳�
- public Dictionary<int, string> petAndMountQualityDict = new Dictionary<int, string>();
- public Dictionary<int, List<int>> itemParamsDict { get; private set; }
- public string expValueFormula = "";
- public Dictionary<int, string> exhaustedAttrFormula { get; private set; }
- public Dictionary<int, int> exhaustedMaxLvDict { get; private set; }
- public int[] guardAutoDrops;
+ Dictionary<int, string> petAndMountQualityDict = new Dictionary<int, string>();
+ string expValueFormula = "";
+ Dictionary<int, string> exhaustedAttrFormula { get; set; }
+ Dictionary<int, int> exhaustedMaxLvDict { get; set; }
+ int[] guardAutoDrops;
public int[] gemOpenLvs { get; private set; }
public int[] jadeDynastyGemOpenLvs { get; private set; }
@@ -59,20 +58,9 @@
public int[] randomRuneIds { get; private set; }
public int[] PeerlessEquipIds { get; private set; } //缁濅笘瑁呭鍒楄〃
- PlayerPackModel _playerPack;
- PlayerPackModel playerPack {
- get { return _playerPack ?? (_playerPack = ModelCenter.Instance.GetModel<PlayerPackModel>()); }
- }
-
- StoreModel _storeModel;
- StoreModel m_storeModel {
- get { return _storeModel ?? (_storeModel = ModelCenter.Instance.GetModel<StoreModel>()); }
- }
-
- PackModelInterface _modelInterface;
- PackModelInterface modelInterface {
- get { return _modelInterface ?? (_modelInterface = ModelCenter.Instance.GetModel<PackModelInterface>()); }
- }
+ PlayerPackModel playerPack { get { return ModelCenter.Instance.GetModel<PlayerPackModel>(); } }
+ StoreModel m_storeModel { get { return ModelCenter.Instance.GetModel<StoreModel>(); } }
+ PackModelInterface modelInterface { get { return ModelCenter.Instance.GetModel<PackModelInterface>(); } }
FashionDressModel fashionDress { get { return ModelCenter.Instance.GetModel<FashionDressModel>(); } }
DogzModel dogzModel { get { return ModelCenter.Instance.GetModel<DogzModel>(); } }
@@ -460,6 +448,7 @@
{
}
+
#region 瑙f瀽鏈湴鏁版嵁
public Dictionary<string, List<int>> atkSpeedColorDict { get; private set; }
private void ParseFuncConfig()
@@ -918,7 +907,7 @@
case ItemWinType.guardWin:
WindowCenter.Instance.Open<GuardianWin>();
break;
- case ItemWinType.BuyItemWin:
+ case ItemWinType.buyItemWin:
WindowCenter.Instance.Open<BuyItemInfoWin>();
break;
case ItemWinType.buyBoxWin:
@@ -930,10 +919,10 @@
case ItemWinType.buyPetMatWin:
WindowCenter.Instance.Open<BuyPetMatInfoWin>();
break;
- case ItemWinType.GatherSoul:
+ case ItemWinType.gatherSoul:
WindowCenter.Instance.Open<GatherSoulTipWin>();
break;
- case ItemWinType.KingTreasure:
+ case ItemWinType.kingTreasure:
var kingTreasureShow = ModelCenter.Instance.GetModel<KingTreasureShowModel>();
kingTreasureShow.SetInitData(curAttrData.itemId);
break;
@@ -1049,7 +1038,7 @@
{
if (attrData.itemConfig.CanSell == 1)
{
- attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.SellItem( attrData); });
+ attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.SellItem(attrData); });
}
}
break;
@@ -1059,7 +1048,7 @@
{
if (attrData.itemConfig.CanSell == 1)
{
- attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.SellItem(attrData); });
+ attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.SellItem(attrData); });
}
}
break;
@@ -1069,7 +1058,7 @@
{
if (attrData.itemConfig.CanSell == 1)
{
- attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.SellItem(attrData); });
+ attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.SellItem(attrData); });
}
}
break;
@@ -1079,14 +1068,14 @@
{
if (attrData.itemConfig.CanSell == 1)
{
- attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.SellItem(attrData); });
+ attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.SellItem(attrData); });
}
}
break;
default:
if (attrData.itemConfig.CanSell == 1)
{
- attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.SellItem(attrData); });
+ attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.SellItem(attrData); });
}
break;
}
@@ -1094,7 +1083,7 @@
List<int> dismantleReturnlist = attrData.GetUseDataModel((int)ItemUseDataKey.itemDecompound);
if (dismantleReturnlist != null && dismantleReturnlist.Count > 0)
{
- attrData.SetTipsFuncBtn(ItemOperateType.dismantle, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.DismantleItem( attrData); });
+ attrData.SetTipsFuncBtn(ItemOperateType.dismantle, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.DismantleItem(attrData); });
}
if (!isOverdue)
@@ -1107,19 +1096,19 @@
bool isUnlock = ModelCenter.Instance.GetModel<ComposeWinModel>().CheckComposeItemById(attrData.itemId, out jumpId);
if (isUnlock)
{
- ItemLogicUtility.Instance.GotoComposeItem(jumpId);
+ ItemOperateUtility.Instance.GotoComposeItem(jumpId);
}
});
}
if (attrData.itemConfig.Type == 25 && attrData.itemConfig.Effect1 == 225)
{
- attrData.SetTipsFuncBtn(ItemOperateType.inlay, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.GotoInlayItem(attrData.guid); });
+ attrData.SetTipsFuncBtn(ItemOperateType.inlay, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.GotoInlayItem(attrData.guid); });
}
if (attrData.itemConfig.CanTrade == 1 && attrData.isBind == 0)
{
- attrData.SetTipsFuncBtn(ItemOperateType.putAway, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.PutAwayItem(attrData.guid); });
+ attrData.SetTipsFuncBtn(ItemOperateType.putAway, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.PutAwayItem(attrData.guid); });
}
if ((ItemType)attrData.itemConfig.Type == ItemType.WingsMat)
@@ -1135,7 +1124,7 @@
if (attrData.count > 1)
{
- attrData.SetTipsFuncBtn(ItemOperateType.split, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.OnClickSplitBtn(attrData.guid); });
+ attrData.SetTipsFuncBtn(ItemOperateType.split, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.OnClickSplitBtn(attrData.guid); });
}
if (!isOverdue)
@@ -1145,13 +1134,13 @@
case ItemWinType.equipWin:
case ItemWinType.wingsWin:
case ItemWinType.guardWin:
- attrData.SetTipsFuncBtn(ItemOperateType.putOn, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.PutOnItem(ItemOperateType.putOn, attrData.guid); });
+ attrData.SetTipsFuncBtn(ItemOperateType.putOn, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.PutOnItem(ItemOperateType.putOn, attrData.guid); });
break;
}
if (attrData.itemConfig.UseTag == 1)
{
- attrData.SetTipsFuncBtn(ItemOperateType.makeUse, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.GotoUseItem(attrData.index); });
+ attrData.SetTipsFuncBtn(ItemOperateType.makeUse, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.GotoUseItem(attrData.index); });
}
}
@@ -1161,7 +1150,7 @@
{
if (isOverdue)
{
- attrData.SetTipsFuncBtn(ItemOperateType.renewal, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.RenewalItem(attrData.guid); });
+ attrData.SetTipsFuncBtn(ItemOperateType.renewal, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.RenewalItem(attrData.guid); });
}
}
}
@@ -1186,7 +1175,7 @@
{
if (attrData == null) return;
- attrData.SetTipsFuncBtn(ItemOperateType.putOut, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.TakeOutFromWarehouse(ItemOperateType.putOut, attrData.guid); });
+ attrData.SetTipsFuncBtn(ItemOperateType.putOut, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.TakeOutFromWarehouse(ItemOperateType.putOut, attrData.guid); });
}
@@ -1196,7 +1185,7 @@
if (attrData.itemConfig.CanSell == 1)
{
- attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.SellItem(attrData); });
+ attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.SellItem(attrData); });
}
switch (attrData.winType)
@@ -1244,7 +1233,7 @@
if (attrData == null) return;
attrData.SetTipsFuncBtn(ItemOperateType.putIn,
- (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.PutInWareHouse(attrData.guid); }
+ (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.PutInWareHouse(attrData.guid); }
);
}
@@ -1277,7 +1266,7 @@
attrData.SetTipsFuncBtn(ItemOperateType.putOff, (ItemWinBtnType, ItemAttrData) =>
{
- ItemLogicUtility.Instance.PutOffEquip(attrData.guid);
+ ItemOperateUtility.Instance.PutOffEquip(attrData.guid);
});
for (int i = 0; i < tryPutOnEquipIds.Length; i++)
@@ -1299,7 +1288,7 @@
bool isOverdue = modelInterface.IsOverdue(attrData.guid, attrData.itemId, attrData.useDataDict);
if (attrData.itemConfig.CanSell == 1)
{
- attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.SellItem(attrData); });
+ attrData.SetTipsFuncBtn(ItemOperateType.sell, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.SellItem(attrData); });
}
if (!isOverdue)
@@ -1312,14 +1301,14 @@
bool isUnlock = ModelCenter.Instance.GetModel<ComposeWinModel>().CheckComposeItemById(attrData.itemId, out jumpId);
if (isUnlock)
{
- ItemLogicUtility.Instance.GotoComposeItem(jumpId);
+ ItemOperateUtility.Instance.GotoComposeItem(jumpId);
}
});
}
if (attrData.itemConfig.Effect1 == 225)
{
- attrData.SetTipsFuncBtn(ItemOperateType.inlay, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.GotoInlayItem(attrData.guid); });
+ attrData.SetTipsFuncBtn(ItemOperateType.inlay, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.GotoInlayItem(attrData.guid); });
}
if (!isOverdue)
@@ -1327,7 +1316,7 @@
switch (attrData.winType)
{
case ItemWinType.equipWin:
- attrData.SetTipsFuncBtn(ItemOperateType.putOn, (ItemWinBtnType, ItemAttrData) => { ItemLogicUtility.Instance.PutOnItem(ItemOperateType.putOn, attrData.guid); });
+ attrData.SetTipsFuncBtn(ItemOperateType.putOn, (ItemWinBtnType, ItemAttrData) => { ItemOperateUtility.Instance.PutOnItem(ItemOperateType.putOn, attrData.guid); });
break;
}
}
@@ -1345,7 +1334,7 @@
var equipType = (RoleEquipType)attrData.itemConfig.EquipPlace;
attrData.SetTipsFuncBtn(ItemOperateType.putOff, (ItemWinBtnType, ItemAttrData) =>
{
- ItemLogicUtility.Instance.PutOffEquip(attrData.guid);
+ ItemOperateUtility.Instance.PutOffEquip(attrData.guid);
});
}
#endregion
@@ -1497,7 +1486,7 @@
if (attrData.GetUseDataModel(42) != null)
{
- curHp = itemEffectDict[key] + (int)attrData.strengthengmodel.BackpackWings(attrData.itemId, attrData.GetUseDataModel(42)[0])[1];
+ curHp = itemEffectDict[key] + (int)strengthengmodel.BackpackWings(attrData.itemId, attrData.GetUseDataModel(42)[0])[1];
}
else
{
@@ -1515,7 +1504,7 @@
if (attrData.GetUseDataModel(42) != null)
{
- curHurt = itemEffectDict[key] + (int)attrData.strengthengmodel.BackpackWings(attrData.itemId, attrData.GetUseDataModel(42)[0])[0];
+ curHurt = itemEffectDict[key] + (int)strengthengmodel.BackpackWings(attrData.itemId, attrData.GetUseDataModel(42)[0])[0];
}
else
{
@@ -2429,11 +2418,7 @@
#region 鐗╁搧澧炲姞鎴樻枟鍔�
PlayerMountDatas mountDatas { get { return ModelCenter.Instance.GetModel<PlayerMountDatas>(); } }
- public PlayerStrengthengDatas strengthengmodel {
- get {
- return ModelCenter.Instance.GetModel<PlayerStrengthengDatas>();
- }
- }
+ public PlayerStrengthengDatas strengthengmodel { get { return ModelCenter.Instance.GetModel<PlayerStrengthengDatas>(); } }
public bool TryGetFightPowerByItemId(int itemId, out int fightPower)
{
@@ -2958,37 +2943,12 @@
public Dictionary<SuitType, int> suitTypeCntDict { get; private set; }
public bool isHavePutLimit { get; private set; }
- PlayerStrengthengDatas m_StrengthengModel;
- public PlayerStrengthengDatas strengthengmodel {
- get {
- return m_StrengthengModel ?? (m_StrengthengModel = ModelCenter.Instance.GetModel<PlayerStrengthengDatas>());
- }
- }
- PackModelInterface _modelInterface;
- PackModelInterface modelInterface {
- get { return _modelInterface ?? (_modelInterface = ModelCenter.Instance.GetModel<PackModelInterface>()); }
- }
-
- EquipWashModel _washModel;
- EquipWashModel washModel {
- get {
- return _washModel ?? (_washModel = ModelCenter.Instance.GetModel<EquipWashModel>());
- }
- }
-
- ItemTipsModel _itemTipsModel;
- ItemTipsModel itemTipsModel {
- get {
- return _itemTipsModel ?? (_itemTipsModel = ModelCenter.Instance.GetModel<ItemTipsModel>());
- }
- }
-
- PlayerSuitModel _suitModel;
- PlayerSuitModel SuitModel {
- get { return _suitModel ?? (_suitModel = ModelCenter.Instance.GetModel<PlayerSuitModel>()); }
- }
-
+ PlayerStrengthengDatas strengthengmodel { get { return ModelCenter.Instance.GetModel<PlayerStrengthengDatas>(); } }
+ PackModelInterface modelInterface { get { return ModelCenter.Instance.GetModel<PackModelInterface>(); } }
+ 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>(); } }
@@ -3667,7 +3627,7 @@
winType = ItemWinType.itemWin;
break;
case ItemTipChildType.Buy:
- winType = ItemWinType.BuyItemWin;
+ winType = ItemWinType.buyItemWin;
break;
}
break;
@@ -3703,10 +3663,10 @@
winType = ItemWinType.guardWin;
break;
case "GatherSoul":
- winType = ItemWinType.GatherSoul;
+ winType = ItemWinType.gatherSoul;
break;
case "KingTreasureShow":
- winType = ItemWinType.KingTreasure;
+ winType = ItemWinType.kingTreasure;
break;
default:
DebugEx.Log("娌℃湁姝ょ墿鍝佺殑寮规绫诲瀷" + this.itemConfig.Template.Trim());
diff --git a/System/KnapSack/Logic/MakeDrugCell.cs b/System/KnapSack/Logic/MakeDrugCell.cs
index 97aac90..a2f268f 100644
--- a/System/KnapSack/Logic/MakeDrugCell.cs
+++ b/System/KnapSack/Logic/MakeDrugCell.cs
@@ -201,9 +201,9 @@
singlePack.GetItemCountByID(itemId,out list);
if(list.Count > 0)
{
- if(ItemLogicUtility.Instance.CheckItemUselimit(itemId))
+ if(ItemOperateUtility.Instance.CheckItemUselimit(itemId))
{
- ItemLogicUtility.Instance.UseItem(list[0].itemPlace);
+ ItemOperateUtility.Instance.UseItem(list[0].itemPlace);
}
}
}
diff --git a/System/KnapSack/Logic/PackModelInterface.cs b/System/KnapSack/Logic/PackModelInterface.cs
index 89d1ce1..9f771ce 100644
--- a/System/KnapSack/Logic/PackModelInterface.cs
+++ b/System/KnapSack/Logic/PackModelInterface.cs
@@ -15,6 +15,7 @@
private FuncConfigConfig _itemPush;
private FuncConfigConfig _drugIDFunc;
private FuncConfigConfig _oneKeySellFunc;
+
public int[] preciousItemType { get; private set; }
private int[] drugIDs;
public Dictionary<int, List<int>> betterEquipExceptDungeonDict { get; private set; }
@@ -725,7 +726,7 @@
break;
case 127:
var error = 0;
- bool isHaveMakeNum = ItemLogicUtility.Instance.CanUseItem(itemModel.itemPlace ,1,out error);
+ bool isHaveMakeNum = ItemOperateUtility.Instance.CanUseItem(itemModel.itemPlace ,1,out error);
int remainNum = CrossServerOneVsOnePlayerInfo.Instance.GetDayRemainNum();
if (!CrossServerOneVsOnePKSeason.Instance.isSatisfyMatch
|| remainNum > 0
@@ -983,7 +984,7 @@
if (singlePack == null) return RealmBetterDict;
int realmLv = PlayerDatas.Instance.baseData.realmLevel;
- Dictionary<int, ItemModel> pairs = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> pairs = singlePack.GetAllItems();
foreach (var model in pairs.Values)
{
if (model.config.EquipPlace > 0
@@ -1016,7 +1017,7 @@
if (singlePack == null) return RealmDruglist;
int realmLv = PlayerDatas.Instance.baseData.realmLevel;
- Dictionary<int, ItemModel> pairs = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> pairs = singlePack.GetAllItems();
foreach (var model in pairs.Values)
{
if (playerPack.CheckIsDrugById(model.itemId))
@@ -1149,7 +1150,7 @@
_sameIndexEquipDict.Clear();
_sellItemScorelist.Clear();
playerLv = PlayerDatas.Instance.baseData.LV;
- _packModelDict = singlePack.GetPackModelIndexDict();
+ _packModelDict = singlePack.GetAllItems();
foreach (var key in _packModelDict.Keys)
{
GetCanSellEquipList(_packModelDict[key]);
@@ -1184,7 +1185,7 @@
ItemModel model = null;
if (equipPack != null)
{
- model = equipPack.GetItemModelByIndex(key);
+ model = equipPack.GetItemByIndex(key);
}
List<ItemModel> modellist = _sameIndexEquipDict[key][_sellItemScorelist[score]];
@@ -1411,7 +1412,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
if (singlePack != null)
{
- Dictionary<int, ItemModel> putOnDic = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> putOnDic = singlePack.GetAllItems();
foreach (var key in putOnDic.Keys)
{
if ((RoleEquipType)key == ignoreType)
@@ -1456,7 +1457,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Item);
if (singlePack != null)
{
- dic = singlePack.GetPackModelIndexDict();
+ dic = singlePack.GetAllItems();
foreach (var model in dic.Values)
{
if (model.config.EquipPlace == equipPlace)
@@ -1480,7 +1481,7 @@
public string GetHighestScoreEquipByPlace(int equipPlace)
{
var itemPackage = playerPack.GetSinglePackModel(PackType.Item);
- var allItems = itemPackage.GetPackModelIndexDict();
+ var allItems = itemPackage.GetAllItems();
ItemModel putModel = playerPack.GetItemModelByIndex(PackType.Equip, equipPlace);
equipPlace = (equipPlace == 9 || equipPlace == 10) ? 9 : equipPlace;
var guid = string.Empty;
diff --git a/System/KnapSack/Logic/PlayerPackModels.cs b/System/KnapSack/Logic/PlayerPackModels.cs
index 919da08..c8051ad 100644
--- a/System/KnapSack/Logic/PlayerPackModels.cs
+++ b/System/KnapSack/Logic/PlayerPackModels.cs
@@ -136,7 +136,7 @@
public void OnPlayerLoginOk()
{
- ItemLogicUtility.Instance.RequestWarehouseData();
+ ItemOperateUtility.Instance.RequestWarehouseData();
SetPlayerAttrActiveRedPoint();
EquipDecomRedCtrl();
RoleEquipLocalSave = StringUtility.Contact("RoleEquipLocalSave", PlayerDatas.Instance.baseData.PlayerID);
@@ -215,7 +215,7 @@
itemInfo.UserData = packInfo.ItemInfo[i].UserData;
itemInfo.IsLocked = packInfo.ItemInfo[i].IsLocked;
itemInfo.ItemGUID = packInfo.ItemInfo[i].ItemGUID;
- playerPackDict[type].SetPackModel(itemInfo);
+ playerPackDict[type].UpdateItem(itemInfo);
if (isPlayBetterEquipEffect)
{
@@ -254,7 +254,7 @@
itemInfo.UserData = item.UserData;
itemInfo.IsLocked = item.IsLocked;
itemInfo.ItemGUID = item.ItemGUID;
- playerPackDict[type].SetPackModel(itemInfo);
+ playerPackDict[type].UpdateItem(itemInfo);
DebugEx.Log("Add:" + item.ItemGUID);
if (RefreshItemCountAct != null)
@@ -302,7 +302,7 @@
playerPackDict.TryGetValue(type, out singlePack);
if (singlePack != null)
{
- ItemModel itemModel = singlePack.GetItemModelByIndex(refresh.ItemIndex);
+ ItemModel itemModel = singlePack.GetItemByIndex(refresh.ItemIndex);
if (itemModel != null)
{
bool isAddItemCount = false;
@@ -372,7 +372,7 @@
string guid = "";
if (singlePack != null)
{
- ItemModel itemModel = singlePack.GetItemModelByIndex(clearItem.ItemIndex);
+ ItemModel itemModel = singlePack.GetItemByIndex(clearItem.ItemIndex);
guid = itemModel.guid;
int itemId = itemModel.itemId;
DeleteItemDictByGUID(type, itemModel.guid);
@@ -850,7 +850,7 @@
ItemModel itemModel = null;
if (playerPackDict.ContainsKey(type))
{
- itemModel = playerPackDict[type].GetItemModelByIndex(index);
+ itemModel = playerPackDict[type].GetItemByIndex(index);
}
return itemModel;
}
@@ -1166,7 +1166,7 @@
SinglePackModel singlePack = GetSinglePackModel(PackType.Equip);
if (singlePack == null || starslist == null || starslist.Count < 1) return false;
- Dictionary<int, ItemModel> _itemDict = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> _itemDict = singlePack.GetAllItems();
int playerSumStars = 0;
foreach (var model in _itemDict.Values)
{
@@ -1594,7 +1594,7 @@
devourModellist.Clear();
orderDevourModellist.Clear();
- foreach (var model in singlePack.GetPackModelIndexDict().Values)
+ foreach (var model in singlePack.GetAllItems().Values)
{
if (model.config.Type == 29)
{
@@ -1650,7 +1650,7 @@
return null;
}
- foreach (var model in singlePack.GetPackModelIndexDict().Values)
+ foreach (var model in singlePack.GetAllItems().Values)
{
if (model.config.Type == 29)
{
diff --git a/System/KnapSack/Logic/PlayerStarNumWin.cs b/System/KnapSack/Logic/PlayerStarNumWin.cs
index 12aa3b9..047b1af 100644
--- a/System/KnapSack/Logic/PlayerStarNumWin.cs
+++ b/System/KnapSack/Logic/PlayerStarNumWin.cs
@@ -54,7 +54,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
if (singlePack != null)
{
- _itemDict = singlePack.GetPackModelIndexDict();
+ _itemDict = singlePack.GetAllItems();
}
RefreshUI();
}
diff --git a/System/KnapSack/Logic/SinglePackModel.cs b/System/KnapSack/Logic/SinglePackModel.cs
index 8bb3f7b..a02bac5 100644
--- a/System/KnapSack/Logic/SinglePackModel.cs
+++ b/System/KnapSack/Logic/SinglePackModel.cs
@@ -8,28 +8,16 @@
{
public class SinglePackModel
{
-
- public PackType packType { get; private set; }
+ public readonly PackType type;
public int openGridCount { get; private set; }
- private Dictionary<int, ItemModel> packModelIndexDict = new Dictionary<int, ItemModel>(); //key 鐗╁搧浣嶇疆绱㈠紩
+ private Dictionary<int, ItemModel> items = new Dictionary<int, ItemModel>(); //key 鐗╁搧浣嶇疆绱㈠紩
- PackModelInterface _modelInterface;
- PackModelInterface modelInterface
- {
- get { return _modelInterface ?? (_modelInterface = ModelCenter.Instance.GetModel<PackModelInterface>()); }
- }
-
- PlayerPackModel _playerPack;
- PlayerPackModel playerPack
- {
- get { return _playerPack ?? (_playerPack = ModelCenter.Instance.GetModel<PlayerPackModel>()); }
- }
+ PackModelInterface modelInterface { get { return ModelCenter.Instance.GetModel<PackModelInterface>(); } }
+ PlayerPackModel playerPack { get { return ModelCenter.Instance.GetModel<PlayerPackModel>(); } }
public SinglePackModel(PackType type)
{
- ClearPackModel();
- openGridCount = 0;
- packType = type;
+ this.type = type;
}
/// <summary>
@@ -37,19 +25,21 @@
/// </summary>
/// <param name="itemInfo"></param>
/// <param name="type"></param>
- public void SetPackModel(ItemInfo itemInfo)
+ public void UpdateItem(ItemInfo itemInfo)
{
- if (!packModelIndexDict.ContainsKey(itemInfo.ItemPlace))
+ var index = itemInfo.ItemPlace;
+ if (!items.ContainsKey(index))
{
- ItemModel itemModel = new ItemModel(packType);
+ var itemModel = new ItemModel(type);
itemModel.SetItemInfo(itemInfo);
- packModelIndexDict.Add(itemInfo.ItemPlace, itemModel);
+ items.Add(index, itemModel);
}
else
{
- packModelIndexDict[itemInfo.ItemPlace].SetItemInfo(itemInfo);
+ items[index].SetItemInfo(itemInfo);
}
- playerPack.SetItemGUIDDict(packModelIndexDict[itemInfo.ItemPlace]);
+
+ playerPack.SetItemGUIDDict(items[index]);
}
public void SetOpenGridCount(int count)
@@ -57,10 +47,9 @@
openGridCount = count;
}
-
- public ItemModel GetItemModelByIndex(int index)
+ public ItemModel GetItemByIndex(int index)
{
- switch (packType)
+ switch (type)
{
case PackType.JadeDynastyEquip:
if (index >= 121)
@@ -69,25 +58,26 @@
}
break;
}
- ItemModel itemModel = null;
- packModelIndexDict.TryGetValue(index, out itemModel);
- return itemModel;
+
+ ItemModel item = null;
+ items.TryGetValue(index, out item);
+ return item;
}
- public Dictionary<int, ItemModel> GetPackModelIndexDict()
+ public Dictionary<int, ItemModel> GetAllItems()
{
- return packModelIndexDict;
+ return items;
}
/// <summary>
/// 寰楀埌姝D鐗╁搧鐨勬墍鏈夋暟閲�
/// </summary>
/// <returns></returns>
- public int GetItemCountByID(int itemId,out List<ItemModel> list)
+ public int GetItemCountByID(int itemId, out List<ItemModel> list)
{
int count = 0;
list = new List<ItemModel>();
- foreach (ItemModel model in packModelIndexDict.Values)
+ foreach (var model in items.Values)
{
if (model.itemId == itemId)
{
@@ -106,7 +96,7 @@
public int GetItemCountByID(int itemId)
{
int count = 0;
- foreach (ItemModel model in packModelIndexDict.Values)
+ foreach (ItemModel model in items.Values)
{
if (model.itemId == itemId)
{
@@ -127,7 +117,7 @@
{
int count = 0;
list = new List<ItemModel>();
- foreach (ItemModel model in packModelIndexDict.Values)
+ foreach (ItemModel model in items.Values)
{
if (model.config.Type == itemType)
{
@@ -146,7 +136,7 @@
public List<int> GetItemsByQuality(int _quality)
{
var itemList = new List<int>();
- foreach (var value in packModelIndexDict.Values)
+ foreach (var value in items.Values)
{
if (value.config.ItemColor == _quality)
{
@@ -168,7 +158,7 @@
{
List<int> itemIndexlist = new List<int>();
List<ItemModel> itemModellist = new List<ItemModel>();
- foreach (ItemModel model in packModelIndexDict.Values)
+ foreach (ItemModel model in items.Values)
{
if (model.itemId == itemId)
{
@@ -182,7 +172,7 @@
int count = 0;
for (i = 0; i < itemModellist.Count; i++)
{
- if(count < needCount)
+ if (count < needCount)
{
itemIndexlist.Add(itemModellist[i].itemPlace);
count += itemModellist[i].count;
@@ -191,7 +181,7 @@
{
break;
}
-
+
}
return itemIndexlist;
@@ -203,11 +193,11 @@
/// <param name="itemId"></param>
/// <param name="isBind"></param>
/// <returns></returns>
- public List<int> ItemIndexlistByIsBind(int itemId,int needCnt,int isBind)
+ public List<int> ItemIndexlistByIsBind(int itemId, int needCnt, int isBind)
{
List<int> itemIndexlist = new List<int>();
List<ItemModel> itemModellist = new List<ItemModel>();
- foreach (ItemModel model in packModelIndexDict.Values)
+ foreach (ItemModel model in items.Values)
{
if (model.itemId == itemId)
{
@@ -218,9 +208,9 @@
int count = 0;
for (int i = 0; i < itemModellist.Count; i++)
{
- if(count < needCnt)
+ if (count < needCnt)
{
- if(itemModellist[i].isBind == isBind)
+ if (itemModellist[i].isBind == isBind)
{
itemIndexlist.Add(itemModellist[i].itemPlace);
count += itemModellist[i].count;
@@ -268,9 +258,9 @@
public int GetNullGridIndex()
{
int i = -1;
- for(i = 0; i < openGridCount; i++)
+ for (i = 0; i < openGridCount; i++)
{
- if(!packModelIndexDict.ContainsKey(i))
+ if (!items.ContainsKey(i))
{
return i;
}
@@ -285,19 +275,19 @@
/// <returns></returns>
public int GetRemainGridCount()
{
- return openGridCount - packModelIndexDict.Count;
+ return openGridCount - items.Count;
}
public void ClearItemModelByIndex(int index)
{
- if (packModelIndexDict.ContainsKey(index))
+ if (items.ContainsKey(index))
{
- packModelIndexDict.Remove(index);
+ items.Remove(index);
}
}
public void ClearPackModel()
{
- packModelIndexDict.Clear();
+ items.Clear();
}
}
}
diff --git a/System/KnapSack/Logic/WashAttrPointWin.cs b/System/KnapSack/Logic/WashAttrPointWin.cs
index 09d0909..233b22c 100644
--- a/System/KnapSack/Logic/WashAttrPointWin.cs
+++ b/System/KnapSack/Logic/WashAttrPointWin.cs
@@ -169,7 +169,7 @@
}
else
{
- ItemLogicUtility.Instance.UseItem(itemModel.itemPlace,1,(int)selectAttr);
+ ItemOperateUtility.Instance.UseItem(itemModel.itemPlace,1,(int)selectAttr);
}
}
diff --git a/System/KnapSack/Logic/WashPointBatchUseWin.cs b/System/KnapSack/Logic/WashPointBatchUseWin.cs
index 304fd1f..779333d 100644
--- a/System/KnapSack/Logic/WashPointBatchUseWin.cs
+++ b/System/KnapSack/Logic/WashPointBatchUseWin.cs
@@ -155,7 +155,7 @@
if (itemModel == null)
return;
- ItemLogicUtility.Instance.UseItem(itemModel.itemPlace, (ushort)Mathf.Ceil(_splitSlider.value), BatchUseModel.Instance.extraPrams);
+ ItemOperateUtility.Instance.UseItem(itemModel.itemPlace, (ushort)Mathf.Ceil(_splitSlider.value), BatchUseModel.Instance.extraPrams);
OnClickCloseBtn();
}
diff --git a/System/KnapSack/New/BagWin.cs b/System/KnapSack/New/BagWin.cs
index eb3d991..0ad88b1 100644
--- a/System/KnapSack/New/BagWin.cs
+++ b/System/KnapSack/New/BagWin.cs
@@ -257,7 +257,7 @@
gridCell.cdImag.fillAmount = 0;
gridCell.cdImag.gameObject.SetActive(false);
- ItemModel itemModel = packModel.GetItemModelByIndex(cellCount - 1);
+ ItemModel itemModel = packModel.GetItemByIndex(cellCount - 1);
if (itemModel != null)
{
gridCell.itemCell.gameObject.SetActive(true);
@@ -276,7 +276,7 @@
};
gridCell.itemCellBtn.m_OnDbClick = () =>
{
- ItemLogicUtility.Instance.PutInWareHouse(itemModel.guid);
+ ItemOperateUtility.Instance.PutInWareHouse(itemModel.guid);
};
}
diff --git a/System/KnapSack/New/BatchWin.cs b/System/KnapSack/New/BatchWin.cs
index 2b6f5d6..29f6641 100644
--- a/System/KnapSack/New/BatchWin.cs
+++ b/System/KnapSack/New/BatchWin.cs
@@ -178,7 +178,7 @@
{
if (isOk)
{
- ItemLogicUtility.Instance.UseItem(itemModel.itemPlace, (ushort)Mathf.Ceil(_splitSlider.value), BatchUseModel.Instance.extraPrams);
+ ItemOperateUtility.Instance.UseItem(itemModel.itemPlace, (ushort)Mathf.Ceil(_splitSlider.value), BatchUseModel.Instance.extraPrams);
}
}
);
@@ -190,7 +190,7 @@
}
else
{
- ItemLogicUtility.Instance.UseItem(itemModel.itemPlace, (ushort)Mathf.Ceil(_splitSlider.value), BatchUseModel.Instance.extraPrams);
+ ItemOperateUtility.Instance.UseItem(itemModel.itemPlace, (ushort)Mathf.Ceil(_splitSlider.value), BatchUseModel.Instance.extraPrams);
}
OnClickCloseBtn();
diff --git a/System/KnapSack/New/ChooseItemWin.cs b/System/KnapSack/New/ChooseItemWin.cs
index b477044..a00c607 100644
--- a/System/KnapSack/New/ChooseItemWin.cs
+++ b/System/KnapSack/New/ChooseItemWin.cs
@@ -208,7 +208,7 @@
ItemModel itemModel = playerPack.GetItemModelByGUID(BoxModel.guid);
if(itemModel != null)
{
- ItemLogicUtility.Instance.UseItem(itemModel.itemPlace,useNum,chooseId);
+ ItemOperateUtility.Instance.UseItem(itemModel.itemPlace,useNum,chooseId);
}
CloseImmediately();
}
diff --git a/System/KnapSack/New/DepotWin.cs b/System/KnapSack/New/DepotWin.cs
index 78f3422..570a35b 100644
--- a/System/KnapSack/New/DepotWin.cs
+++ b/System/KnapSack/New/DepotWin.cs
@@ -181,7 +181,7 @@
else
gridCell.gridLock.SetActive(false);
- ItemModel itemModel = packModel.GetItemModelByIndex(cellCount - 1);
+ ItemModel itemModel = packModel.GetItemByIndex(cellCount - 1);
if (itemModel != null)
{
gridCell.itemCell.gameObject.SetActive(true);
@@ -197,7 +197,7 @@
};
gridCell.itemCellBtn.m_OnDbClick = () =>
{
- ItemLogicUtility.Instance.TakeOutFromWarehouse(ItemOperateType.putOut, itemModel.guid);
+ ItemOperateUtility.Instance.TakeOutFromWarehouse(ItemOperateType.putOut, itemModel.guid);
};
}
diff --git a/System/KnapSack/New/FairyWearWin.cs b/System/KnapSack/New/FairyWearWin.cs
index 975c5b1..0f4c902 100644
--- a/System/KnapSack/New/FairyWearWin.cs
+++ b/System/KnapSack/New/FairyWearWin.cs
@@ -54,7 +54,7 @@
protected override void OnPreOpen()
{
- curItemModel = ItemLogicUtility.Instance.selectedItem;
+ curItemModel = ItemOperateUtility.Instance.selectedItem;
if (curItemModel != null)
{
wear01Img.SetSprite(StringUtility.Contact("EquipPlace_", curItemModel.config.EquipPlace));
@@ -145,7 +145,7 @@
var equipType = curItemModel.config.EquipPlace;
var item = curItemModel;
- ItemLogicUtility.Instance.CheckSuitReplaceInfo(equipType, item);
+ ItemOperateUtility.Instance.CheckSuitReplaceInfo(equipType, item);
Close();
}
@@ -159,13 +159,13 @@
switch ((RoleEquipType)curItemModel.config.EquipPlace)
{
case RoleEquipType.FairyCan:
- ItemLogicUtility.Instance.CheckSuitReplaceInfo((int)RoleEquipType.FairyCan2, curItemModel);
+ ItemOperateUtility.Instance.CheckSuitReplaceInfo((int)RoleEquipType.FairyCan2, curItemModel);
break;
case RoleEquipType.JadeDynasty_Glove1:
- ItemLogicUtility.Instance.CheckSuitReplaceInfo((int)RoleEquipType.JadeDynasty_Glove2, curItemModel);
+ ItemOperateUtility.Instance.CheckSuitReplaceInfo((int)RoleEquipType.JadeDynasty_Glove2, curItemModel);
break;
case RoleEquipType.JadeDynasty_Ring1:
- ItemLogicUtility.Instance.CheckSuitReplaceInfo((int)RoleEquipType.JadeDynasty_Ring2, curItemModel);
+ ItemOperateUtility.Instance.CheckSuitReplaceInfo((int)RoleEquipType.JadeDynasty_Ring2, curItemModel);
break;
}
diff --git a/System/KnapSack/New/OfflineHangUpUseWin.cs b/System/KnapSack/New/OfflineHangUpUseWin.cs
index 9850bfb..6cb6a74 100644
--- a/System/KnapSack/New/OfflineHangUpUseWin.cs
+++ b/System/KnapSack/New/OfflineHangUpUseWin.cs
@@ -62,7 +62,7 @@
itemModel = playerPack.GetItemModelByGUID(BatchUseModel.Instance.offlineGuid);
if (itemModel == null) return;
- int maxOfflineNum = ItemLogicUtility.Instance.GetOfflineMaxNum(itemModel);
+ int maxOfflineNum = ItemOperateUtility.Instance.GetOfflineMaxNum(itemModel);
_batchUseSlider.maxValue = maxOfflineNum;
_batchUseSlider.minValue = 1;
_batchUseSlider.value = _batchUseSlider.minValue;
@@ -101,10 +101,10 @@
{
if (itemModel == null)
return;
- bool isMax = ItemLogicUtility.Instance.CheckIsMaxOfflineTime((int)Mathf.Ceil(_batchUseSlider.value), itemModel);
+ bool isMax = ItemOperateUtility.Instance.CheckIsMaxOfflineTime((int)Mathf.Ceil(_batchUseSlider.value), itemModel);
if(!isMax)
{
- ItemLogicUtility.Instance.UseItem(itemModel.itemPlace, (int)Mathf.Ceil(_batchUseSlider.value));
+ ItemOperateUtility.Instance.UseItem(itemModel.itemPlace, (int)Mathf.Ceil(_batchUseSlider.value));
}
CloseClick();
}
diff --git a/System/KnapSack/New/RoleEquipStarTips.cs b/System/KnapSack/New/RoleEquipStarTips.cs
index 75f0bbf..7ecf941 100644
--- a/System/KnapSack/New/RoleEquipStarTips.cs
+++ b/System/KnapSack/New/RoleEquipStarTips.cs
@@ -59,7 +59,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
if (singlePack != null)
{
- _itemDict = singlePack.GetPackModelIndexDict();
+ _itemDict = singlePack.GetAllItems();
}
_tagEquipStarsModellist = RoleEquipStarsConfig.GetEquipStarslist();
tipAlpha.alpha = 0;
diff --git a/System/KnapSack/New/SplitWin.cs b/System/KnapSack/New/SplitWin.cs
index 3409d3a..8ebe36a 100644
--- a/System/KnapSack/New/SplitWin.cs
+++ b/System/KnapSack/New/SplitWin.cs
@@ -135,7 +135,7 @@
public void OnClickSplitBtn()
{
- ItemLogicUtility.Instance.SplitItem(itemTipsModel.curAttrData.guid, (int)Mathf.Ceil(_splitSlider.value));
+ ItemOperateUtility.Instance.SplitItem(itemTipsModel.curAttrData.guid, (int)Mathf.Ceil(_splitSlider.value));
OnClickCloseBtn();
}
diff --git a/System/KnapSack/New/TempKnapSackBasic.cs b/System/KnapSack/New/TempKnapSackBasic.cs
index a47e2bb..3e82625 100644
--- a/System/KnapSack/New/TempKnapSackBasic.cs
+++ b/System/KnapSack/New/TempKnapSackBasic.cs
@@ -100,7 +100,7 @@
protected virtual void OnClickLockBtn(int selectGridIndex,SinglePackModel packModel)
{
- modelInterface.OpenGrid(selectGridIndex,packModel.packType);
+ modelInterface.OpenGrid(selectGridIndex,packModel.type);
}
}
diff --git a/System/KnapSack/PreciousItemGetBehaviour.cs b/System/KnapSack/PreciousItemGetBehaviour.cs
index f309a47..31867ec 100644
--- a/System/KnapSack/PreciousItemGetBehaviour.cs
+++ b/System/KnapSack/PreciousItemGetBehaviour.cs
@@ -94,11 +94,11 @@
bool isUnlock = ModelCenter.Instance.GetModel<ComposeWinModel>().CheckComposeItemById(itemModel.itemId, out jumpId);
if (isUnlock)
{
- ItemLogicUtility.Instance.GotoComposeItem(jumpId);
+ ItemOperateUtility.Instance.GotoComposeItem(jumpId);
}
break;
default:
- ItemLogicUtility.Instance.GotoUseItem(itemModel.itemPlace);
+ ItemOperateUtility.Instance.GotoUseItem(itemModel.itemPlace);
break;
}
}
diff --git a/System/KnapSack/RealmBetterEquipBehaviour.cs b/System/KnapSack/RealmBetterEquipBehaviour.cs
index 2a4602c..0a4ece7 100644
--- a/System/KnapSack/RealmBetterEquipBehaviour.cs
+++ b/System/KnapSack/RealmBetterEquipBehaviour.cs
@@ -57,7 +57,7 @@
private void PutOnBetterEquip()
{
- ItemLogicUtility.Instance.PutOnItem(ItemOperateType.putOn, model.currentEquipGuid);
+ ItemOperateUtility.Instance.PutOnItem(ItemOperateType.putOn, model.currentEquipGuid);
model.ReportConfirmBetterEquip(model.currentEquipGuid);
}
diff --git a/System/MainInterfacePanel/DungeonGuardCheckBehaviour.cs b/System/MainInterfacePanel/DungeonGuardCheckBehaviour.cs
index b196b73..0a52e1d 100644
--- a/System/MainInterfacePanel/DungeonGuardCheckBehaviour.cs
+++ b/System/MainInterfacePanel/DungeonGuardCheckBehaviour.cs
@@ -27,7 +27,7 @@
{
if (model.fairyLandItemModel != null)
{
- ItemLogicUtility.Instance.PutOnItem(ItemOperateType.putOn, model.fairyLandItemModel.guid);
+ ItemOperateUtility.Instance.PutOnItem(ItemOperateType.putOn, model.fairyLandItemModel.guid);
OnClose();
}
}
diff --git a/System/MainInterfacePanel/FlyingShoesTask.cs b/System/MainInterfacePanel/FlyingShoesTask.cs
index 9551f7c..ca6a815 100644
--- a/System/MainInterfacePanel/FlyingShoesTask.cs
+++ b/System/MainInterfacePanel/FlyingShoesTask.cs
@@ -127,7 +127,7 @@
WindowCenter.Instance.Open<WingTaskJumpWin>();
return;
}
- Dictionary<int, ItemModel> BackpackDic = playerPack.GetSinglePackModel(PackType.Item).GetPackModelIndexDict();
+ Dictionary<int, ItemModel> BackpackDic = playerPack.GetSinglePackModel(PackType.Item).GetAllItems();
if (BackpackDic == null)
{
WindowCenter.Instance.Open<WingTaskJumpWin>();
diff --git a/System/MainInterfacePanel/PlayerTaskDatas.cs b/System/MainInterfacePanel/PlayerTaskDatas.cs
index bc9e080..905a494 100644
--- a/System/MainInterfacePanel/PlayerTaskDatas.cs
+++ b/System/MainInterfacePanel/PlayerTaskDatas.cs
@@ -1277,7 +1277,7 @@
var _singleModel = PlayerBackModel.GetSinglePackModel(PackType.Equip);
// 濡傛灉鏈夊畧鎶�, 鍒欎笉鎷惧彇
- var _itemModel = _singleModel.GetItemModelByIndex((int)RoleEquipType.SpiritAnimal);
+ var _itemModel = _singleModel.GetItemByIndex((int)RoleEquipType.SpiritAnimal);
if (_itemModel == null || !GeneralDefine.GuardianPickUpID.Contains(_itemModel.itemId))
{
float _chkDistanceSqrt;
diff --git a/System/Market/MarketPutawayWin.cs b/System/Market/MarketPutawayWin.cs
index a382dbb..2c20495 100644
--- a/System/Market/MarketPutawayWin.cs
+++ b/System/Market/MarketPutawayWin.cs
@@ -114,7 +114,7 @@
SinglePackModel packTypeModel = packModel.GetSinglePackModel(PackType.Item);
if (packTypeModel != null)
{
- Dictionary<int, ItemModel> dic = packTypeModel.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> dic = packTypeModel.GetAllItems();
if (dic != null)
{
foreach (var item in dic.Values)
diff --git a/System/Mount/MountWin.cs b/System/Mount/MountWin.cs
index ee8ed34..3427378 100644
--- a/System/Mount/MountWin.cs
+++ b/System/Mount/MountWin.cs
@@ -129,17 +129,17 @@
{
RedPointMountDan();
}
- if (ItemLogicUtility.Instance.useItemModel != null)//璺宠綁閬镐腑
+ if (ItemOperateUtility.Instance.useItemModel != null)//璺宠綁閬镐腑
{
- ItemLogicUtility.Instance.useItemModel = null;
+ ItemOperateUtility.Instance.useItemModel = null;
}
}
public void SetHorseID()
{
- if (ItemLogicUtility.Instance.useItemModel != null)//鍧愰獞鍗�
+ if (ItemOperateUtility.Instance.useItemModel != null)//鍧愰獞鍗�
{
- int ItemId = ItemLogicUtility.Instance.useItemModel.itemId;
+ int ItemId = ItemOperateUtility.Instance.useItemModel.itemId;
if (ItemId == 181)
{
int MountID= mountModel.GetMinExpMount();
@@ -151,9 +151,9 @@
}
}
- if (ItemLogicUtility.Instance.useItemModel != null)//璺宠綁閬镐腑锛堢鐗囷級
+ if (ItemOperateUtility.Instance.useItemModel != null)//璺宠綁閬镐腑锛堢鐗囷級
{
- int ItemId = ItemLogicUtility.Instance.useItemModel.itemId;
+ int ItemId = ItemOperateUtility.Instance.useItemModel.itemId;
for (int i = 0; i < sortMountlist.Count; i++)
{
diff --git a/System/Mount/PlayerMountDatas.cs b/System/Mount/PlayerMountDatas.cs
index a883d61..5ec99a7 100644
--- a/System/Mount/PlayerMountDatas.cs
+++ b/System/Mount/PlayerMountDatas.cs
@@ -108,9 +108,9 @@
IsOk = true;
SinglePackModel singPack = playerPack.GetSinglePackModel(PackType.Equip);
if (singPack == null) return;
- foreach (var index in singPack.GetPackModelIndexDict().Keys)
+ foreach (var index in singPack.GetAllItems().Keys)
{
- OnItemRefreshEvent(singPack.packType, index, singPack.GetPackModelIndexDict()[index].itemId);
+ OnItemRefreshEvent(singPack.type, index, singPack.GetAllItems()[index].itemId);
}
if (PlayerLoginOKData != null)
{
diff --git a/System/Pet/PetAttributeWin.cs b/System/Pet/PetAttributeWin.cs
index 431df6a..1b48967 100644
--- a/System/Pet/PetAttributeWin.cs
+++ b/System/Pet/PetAttributeWin.cs
@@ -95,9 +95,9 @@
{
IsRedPointCultivate();
}
- if (ItemLogicUtility.Instance.useItemModel != null)
+ if (ItemOperateUtility.Instance.useItemModel != null)
{
- ItemLogicUtility.Instance.useItemModel = null;
+ ItemOperateUtility.Instance.useItemModel = null;
}
}
@@ -319,9 +319,9 @@
private void OptionIsSelected()//璺宠浆閫夋嫨
{
- if (ItemLogicUtility.Instance.useItemModel != null)//鐏靛疇鍗�
+ if (ItemOperateUtility.Instance.useItemModel != null)//鐏靛疇鍗�
{
- int ItemId = ItemLogicUtility.Instance.useItemModel.itemId;
+ int ItemId = ItemOperateUtility.Instance.useItemModel.itemId;
if (ItemId == 4151)
{
int Pet = petmodel.GetMinPetExp();
@@ -333,9 +333,9 @@
}
}
- if (ItemLogicUtility.Instance.useItemModel != null)//鍧愰獞纰庣墖
+ if (ItemOperateUtility.Instance.useItemModel != null)//鍧愰獞纰庣墖
{
- int ItemId = ItemLogicUtility.Instance.useItemModel.itemId;
+ int ItemId = ItemOperateUtility.Instance.useItemModel.itemId;
//var petinfo = PetInfoConfig.GetValues();
foreach (var Value in petinfo)
diff --git a/System/Pet/PlayerPetDatas.cs b/System/Pet/PlayerPetDatas.cs
index ee36143..f7c7f30 100644
--- a/System/Pet/PlayerPetDatas.cs
+++ b/System/Pet/PlayerPetDatas.cs
@@ -127,9 +127,9 @@
GlobalTimeEvent.Instance.secondEvent += secondEvent;
SinglePackModel singPack = playerPack.GetSinglePackModel(PackType.PetPack);
if (singPack == null) return;
- foreach (var index in singPack.GetPackModelIndexDict().Keys)
+ foreach (var index in singPack.GetAllItems().Keys)
{
- OnItemRefreshEvent(singPack.packType, index, singPack.GetPackModelIndexDict()[index].itemId);
+ OnItemRefreshEvent(singPack.type, index, singPack.GetAllItems()[index].itemId);
}
IsOk = true;
if (PlayerLoginOkData != null)
@@ -168,9 +168,9 @@
CA702_tagCMActivatePet CMPet = new CA702_tagCMActivatePet();
CMPet.PetNPCID = (uint)petId;
GameNetSystem.Instance.SendInfo(CMPet);
- if (ItemLogicUtility.Instance.useItemModel != null)
+ if (ItemOperateUtility.Instance.useItemModel != null)
{
- ItemLogicUtility.Instance.useItemModel = null;
+ ItemOperateUtility.Instance.useItemModel = null;
}
}
diff --git a/System/RoleParticulars/ViewFuncCell.cs b/System/RoleParticulars/ViewFuncCell.cs
index ae99204..9e74b07 100644
--- a/System/RoleParticulars/ViewFuncCell.cs
+++ b/System/RoleParticulars/ViewFuncCell.cs
@@ -112,9 +112,9 @@
}
}
var packTypeModel = playerPack.GetSinglePackModel(PackType.Equip);
- if (packTypeModel == null || packTypeModel.GetPackModelIndexDict() == null)
+ if (packTypeModel == null || packTypeModel.GetAllItems() == null)
break;
- foreach (var itemData in packTypeModel.GetPackModelIndexDict().Values)
+ foreach (var itemData in packTypeModel.GetAllItems().Values)
{
ItemConfig _tagChinItemModel = ItemConfig.Get((int)itemData.itemId);
if (_tagChinItemModel != null && (_tagChinItemModel.ItemColor > viewRoleFuncModel.condition[0]
@@ -130,9 +130,9 @@
{
targetValue = viewPlayerData.rolePlusData.GetAllEquipStarLV();
var packTypeModel = playerPack.GetSinglePackModel(PackType.Equip);
- if (packTypeModel == null || packTypeModel.GetPackModelIndexDict() == null)
+ if (packTypeModel == null || packTypeModel.GetAllItems() == null)
break;
- foreach (var itemPlace in packTypeModel.GetPackModelIndexDict().Keys)
+ foreach (var itemPlace in packTypeModel.GetAllItems().Keys)
{
selfValue += strengthengmodel.StrengthenTheCeiling(itemPlace);
}
diff --git a/System/RolePromote/RolePromoteModel.cs b/System/RolePromote/RolePromoteModel.cs
index bda78f1..aefc0e2 100644
--- a/System/RolePromote/RolePromoteModel.cs
+++ b/System/RolePromote/RolePromoteModel.cs
@@ -227,11 +227,11 @@
{
int _count = 0;
SinglePackModel packTypeModel = playerPack.GetSinglePackModel(PackType.Equip);
- if (packTypeModel == null || packTypeModel.GetPackModelIndexDict() == null || packTypeModel.GetPackModelIndexDict().Count == 0)
+ if (packTypeModel == null || packTypeModel.GetAllItems() == null || packTypeModel.GetAllItems().Count == 0)
{
return _count;
}
- foreach (var _itemModel in packTypeModel.GetPackModelIndexDict().Values)
+ foreach (var _itemModel in packTypeModel.GetAllItems().Values)
{
var _itemCfg = ItemConfig.Get(_itemModel.itemId);
if (_itemCfg != null)
diff --git a/System/Strengthening/EquipSuit/PlayerSuitModel.cs b/System/Strengthening/EquipSuit/PlayerSuitModel.cs
index d676376..0cc7a26 100644
--- a/System/Strengthening/EquipSuit/PlayerSuitModel.cs
+++ b/System/Strengthening/EquipSuit/PlayerSuitModel.cs
@@ -156,7 +156,7 @@
return orderlist;
}
- equipDict = singlePack.GetPackModelIndexDict();
+ equipDict = singlePack.GetAllItems();
for(int i = 0; i < suitPartlist.Count; i++)
{
if(equipDict.ContainsKey(suitPartlist[i]))
@@ -470,7 +470,7 @@
if (PlayerDatas.Instance.baseData.Job != job && job != 0)
return sumNumber;
- Dictionary<int, ItemModel> equipDict = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> equipDict = singlePack.GetAllItems();
foreach (ItemModel model in equipDict.Values)
{
if (GetGroupType(model.itemPlace) == GetGroupType(equipPlace))
@@ -509,7 +509,7 @@
if (singlePack == null)
return sumCnt;
- Dictionary<int, ItemModel> equipDict = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> equipDict = singlePack.GetAllItems();
foreach (ItemModel model in equipDict.Values)
{
Dictionary<int, int> suitTypeDic = GetServerSuitModelByPlace(model.itemPlace);
@@ -1044,7 +1044,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
if (singlePack == null) return 0;
- Dictionary<int, ItemModel> dic = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> dic = singlePack.GetAllItems();
List<int> placelist = new List<int>();
placelist.AddRange(suitPartlist);
placelist.Sort(CompareBySuitLv);
diff --git a/System/Strengthening/EquipWashModel.cs b/System/Strengthening/EquipWashModel.cs
index f8bd6fd..42d6f44 100644
--- a/System/Strengthening/EquipWashModel.cs
+++ b/System/Strengthening/EquipWashModel.cs
@@ -284,7 +284,7 @@
Dictionary<int, ItemModel> itemPlaceDict = null;
if (rptEquipPack != null)
{
- itemPlaceDict = rptEquipPack.GetPackModelIndexDict();
+ itemPlaceDict = rptEquipPack.GetAllItems();
}
int i = 0;
diff --git a/System/Strengthening/GodBeastModel.cs b/System/Strengthening/GodBeastModel.cs
index 6e3b792..6f8cb39 100644
--- a/System/Strengthening/GodBeastModel.cs
+++ b/System/Strengthening/GodBeastModel.cs
@@ -380,7 +380,7 @@
{
return;
}
- Dictionary<int, ItemModel> BackpackDic = playerPack.GetSinglePackModel(PackType.DogzItem).GetPackModelIndexDict();
+ Dictionary<int, ItemModel> BackpackDic = playerPack.GetSinglePackModel(PackType.DogzItem).GetAllItems();
int _ItemColor = 10;
foreach (var keyBack in BackpackDic.Keys)
{
diff --git a/System/Strengthening/GodBeastSlidingList.cs b/System/Strengthening/GodBeastSlidingList.cs
index f4d5517..807ff2b 100644
--- a/System/Strengthening/GodBeastSlidingList.cs
+++ b/System/Strengthening/GodBeastSlidingList.cs
@@ -190,7 +190,7 @@
{
return;
}
- Dictionary<int, ItemModel> BackpackDic = playerPack.GetSinglePackModel(PackType.DogzItem).GetPackModelIndexDict();
+ Dictionary<int, ItemModel> BackpackDic = playerPack.GetSinglePackModel(PackType.DogzItem).GetAllItems();
foreach (var key in BackpackDic.Keys)
{
var itemModel = BackpackDic[key];
diff --git a/System/Strengthening/PlayerStrengthengDatas.cs b/System/Strengthening/PlayerStrengthengDatas.cs
index 22766ea..0b01b14 100644
--- a/System/Strengthening/PlayerStrengthengDatas.cs
+++ b/System/Strengthening/PlayerStrengthengDatas.cs
@@ -192,7 +192,7 @@
foreach (var key in DicEquip.Keys)
{
- ItemModel itemModel = singlePack.GetItemModelByIndex(key);
+ ItemModel itemModel = singlePack.GetItemByIndex(key);
if (itemModel != null)
{
ItemConfig _Item = ItemConfig.Get((int)itemModel.itemId);
@@ -399,9 +399,9 @@
if (Index == 9 || Index == 10)
{
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
- if (singlePack != null && singlePack.GetPackModelIndexDict().ContainsKey(Index))
+ if (singlePack != null && singlePack.GetAllItems().ContainsKey(Index))
{
- ItemModel item = singlePack.GetItemModelByIndex(Index);
+ ItemModel item = singlePack.GetItemByIndex(Index);
ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(Index), 0, 0);
if (_itemPM.levelMax > strengthengmodel._EqInfo[Index].EquipPartStarLV)//鏈�澶у彲鍗囬樁绛夌骇鍜屾湇鍔$瀵规瘮
diff --git a/System/Strengthening/StrengtheningSripts.cs b/System/Strengthening/StrengtheningSripts.cs
index b00a4f8..141b8dc 100644
--- a/System/Strengthening/StrengtheningSripts.cs
+++ b/System/Strengthening/StrengtheningSripts.cs
@@ -563,9 +563,9 @@
if (Index == 9 || Index == 10)
{
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
- if (singlePack != null && singlePack.GetPackModelIndexDict().ContainsKey(Index))
+ if (singlePack != null && singlePack.GetAllItems().ContainsKey(Index))
{
- ItemModel item = singlePack.GetItemModelByIndex(Index);
+ ItemModel item = singlePack.GetItemByIndex(Index);
ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
_itemPM = ItemPlusMaxConfig.GetEquipTypeAndPhaseColor(strengthengmodel.EquipMax(Index), 0, 0);
if (_itemPM.levelMax > strengthengmodel._EqInfo[Index].EquipPartStarLV)//鏈�澶у彲鍗囬樁绛夌骇鍜屾湇鍔$瀵规瘮
@@ -588,9 +588,9 @@
continue;
}
- if (singlePack.GetPackModelIndexDict().ContainsKey(int.Parse(_locationSort[i])))
+ if (singlePack.GetAllItems().ContainsKey(int.Parse(_locationSort[i])))
{
- ItemModel item = singlePack.GetItemModelByIndex(int.Parse(_locationSort[i]));
+ ItemModel item = singlePack.GetItemByIndex(int.Parse(_locationSort[i]));
ItemPlusMaxConfig _itemPM = new ItemPlusMaxConfig();
if (strengthengmodel.EquipMax(int.Parse(_locationSort[i])) != 3)
{
diff --git a/System/Strengthening/WingsBouncedWin.cs b/System/Strengthening/WingsBouncedWin.cs
index ea19812..52556cf 100644
--- a/System/Strengthening/WingsBouncedWin.cs
+++ b/System/Strengthening/WingsBouncedWin.cs
@@ -117,7 +117,7 @@
_WingButton.WingBG.AddListener(() =>
{
- ItemLogicUtility.Instance.PutOnItem(ItemOperateType.putIn, model.guid);
+ ItemOperateUtility.Instance.PutOnItem(ItemOperateType.putIn, model.guid);
//string strJob = tagItem.JobLimit.ToString();
//if (_ReincarnationLv >= int.Parse(strJob.Substring(strJob.Length - 1, 1)))
@@ -145,7 +145,7 @@
return;
}
WingDic.Clear();
- Dictionary<int, ItemModel> backpack_dic = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> backpack_dic = singlePack.GetAllItems();
if (backpack_dic.Count == 0)//寰楀埌鑳屽寘鐨勬墍鏈夌墿鍝�
{
return;
diff --git a/System/Strengthening/WingsRedDot.cs b/System/Strengthening/WingsRedDot.cs
index 04a8d3a..1fd24a4 100644
--- a/System/Strengthening/WingsRedDot.cs
+++ b/System/Strengthening/WingsRedDot.cs
@@ -99,7 +99,7 @@
return;
}
SinglePackModel singlePackModel = playerPack.GetSinglePackModel(PackType.Item);
- Dictionary<int, ItemModel> backpack_dic = singlePackModel.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> backpack_dic = singlePackModel.GetAllItems();
List<int> wingsRefinelist = itemModel.GetUseDataModel((int)ItemUseDataKey.wingProgressValue);
if (wingsRefinelist != null)
diff --git a/System/Strengthening/WingsRefined.cs b/System/Strengthening/WingsRefined.cs
index 260f10d..efc15c7 100644
--- a/System/Strengthening/WingsRefined.cs
+++ b/System/Strengthening/WingsRefined.cs
@@ -482,12 +482,12 @@
bool markingbbol = false;
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Item);
- if (singlePack == null || singlePack.GetPackModelIndexDict().Count == 0)
+ if (singlePack == null || singlePack.GetAllItems().Count == 0)
{
ServerTipDetails.DisplayNormalTip(Language.Get("WingsRefine_NoWing"));
return;
}
- Dictionary<int, ItemModel> backpack_dic = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> backpack_dic = singlePack.GetAllItems();
foreach (int index in backpack_dic.Keys)
{
int _id = (int)backpack_dic[index].itemId;
@@ -522,7 +522,7 @@
SinglePackModel rptItemPack = playerPack.GetSinglePackModel(PackType.Item);
ItemModel putOnModel = playerPack.GetItemModelByIndex(PackType.Equip, (int)RoleEquipType.Wing);
- if (rptItemPack == null || rptItemPack.GetPackModelIndexDict().Count == 0 || putOnModel == null)
+ if (rptItemPack == null || rptItemPack.GetAllItems().Count == 0 || putOnModel == null)
{
return;
}
@@ -533,7 +533,7 @@
return;
}
- var items = rptItemPack.GetPackModelIndexDict();
+ var items = rptItemPack.GetAllItems();
foreach (var itemIndex in items.Keys)
{
var item = items[itemIndex];
diff --git a/System/SystemSetting/SettingEffectMgr.cs b/System/SystemSetting/SettingEffectMgr.cs
index ab46f0f..b139417 100644
--- a/System/SystemSetting/SettingEffectMgr.cs
+++ b/System/SystemSetting/SettingEffectMgr.cs
@@ -245,7 +245,7 @@
List<ItemModel> list = null;
if (singlePack.GetItemCountByID(_tagItemModel.ID,out list) > 0)
{
- ItemLogicUtility.Instance.GotoUseItem(list[0].itemPlace);
+ ItemOperateUtility.Instance.GotoUseItem(list[0].itemPlace);
break;
}
else
diff --git a/System/TreasureFindHost/TreasureFindHostModel.cs b/System/TreasureFindHost/TreasureFindHostModel.cs
index a38f993..93305a3 100644
--- a/System/TreasureFindHost/TreasureFindHostModel.cs
+++ b/System/TreasureFindHost/TreasureFindHostModel.cs
@@ -169,7 +169,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
if (singlePack == null) return false;
- Dictionary<int, ItemModel> equipDict = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> equipDict = singlePack.GetAllItems();
foreach(var model in equipDict.Values)
{
progress += model.config.StarLevel;
@@ -187,7 +187,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.Equip);
if (singlePack == null) return false;
- Dictionary<int, ItemModel> equipDict = singlePack.GetPackModelIndexDict();
+ Dictionary<int, ItemModel> equipDict = singlePack.GetAllItems();
foreach(var condi in treasureInfo.needConditionsDict.Values)
{
progress = 0;
diff --git a/System/WindowJump/WindowJumpMgr.cs b/System/WindowJump/WindowJumpMgr.cs
index 67c8e32..5b17fb2 100644
--- a/System/WindowJump/WindowJumpMgr.cs
+++ b/System/WindowJump/WindowJumpMgr.cs
@@ -236,9 +236,9 @@
SetJumpLogic<PetWin>(_tagWinSearchModel.TABID);
break;
case JumpUIType.PetStone:
- if (ItemLogicUtility.Instance.useItemModel != null)
+ if (ItemOperateUtility.Instance.useItemModel != null)
{
- petModel.PetStoneItemId = ItemLogicUtility.Instance.useItemModel.itemId;
+ petModel.PetStoneItemId = ItemOperateUtility.Instance.useItemModel.itemId;
}
SetJumpLogic<PetStoneTipsWin>(_tagWinSearchModel.TABID);
break;
@@ -283,9 +283,9 @@
SetJumpLogic<WorldMapWin>(_tagWinSearchModel.TABID);
break;
case JumpUIType.MountStone:
- if (ItemLogicUtility.Instance.useItemModel != null)
+ if (ItemOperateUtility.Instance.useItemModel != null)
{
- mountModel.MountStoneItemId = ItemLogicUtility.Instance.useItemModel.itemId;
+ mountModel.MountStoneItemId = ItemOperateUtility.Instance.useItemModel.itemId;
}
SetJumpLogic<MountStoneTipsWin>(_tagWinSearchModel.TABID);
break;
@@ -522,9 +522,9 @@
}
break;
case JumpUIType.MakeDrug:
- if (ItemLogicUtility.Instance.useItemModel != null)
+ if (ItemOperateUtility.Instance.useItemModel != null)
{
- RoleElixirTipWin.makeUseId = ItemLogicUtility.Instance.useItemModel.itemId;
+ RoleElixirTipWin.makeUseId = ItemOperateUtility.Instance.useItemModel.itemId;
}
SetJumpLogic<BlastFurnaceWin>(_tagWinSearchModel.TABID);
break;
diff --git a/UI/Common/UI3DShowHero.cs b/UI/Common/UI3DShowHero.cs
index 8cf105b..1d15114 100644
--- a/UI/Common/UI3DShowHero.cs
+++ b/UI/Common/UI3DShowHero.cs
@@ -679,7 +679,7 @@
ItemModel _itemModel = null;
- _itemModel = _equipModel.GetItemModelByIndex((int)RoleEquipType.Clothes);
+ _itemModel = _equipModel.GetItemByIndex((int)RoleEquipType.Clothes);
if (_itemModel == null)
{
@@ -691,7 +691,7 @@
for (int i = _start; i <= _end; ++i)
{
- _itemModel = _equipModel.GetItemModelByIndex(i);
+ _itemModel = _equipModel.GetItemByIndex(i);
if (_itemModel == null)
{
diff --git a/Utility/CalculateSkillGetAttrHurtUtility.cs b/Utility/CalculateSkillGetAttrHurtUtility.cs
index a9b42a6..54cf397 100644
--- a/Utility/CalculateSkillGetAttrHurtUtility.cs
+++ b/Utility/CalculateSkillGetAttrHurtUtility.cs
@@ -32,7 +32,7 @@
SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.JadeDynastyEquip);
if (singlePack == null) return;
- var dict = singlePack.GetPackModelIndexDict();
+ var dict = singlePack.GetAllItems();
foreach (var model in dict.Values)
{
var legendIds = model.GetUseDataModel((int)ItemUseDataKey.legendAttrID);
diff --git a/Utility/EnumHelper.cs b/Utility/EnumHelper.cs
index 70478c0..b9a1686 100644
--- a/Utility/EnumHelper.cs
+++ b/Utility/EnumHelper.cs
@@ -1642,12 +1642,12 @@
equipWin, //瑁呭寮规
wingsWin, //缈呰唨寮规
guardWin,//瀹堟姢寮规
- BuyItemWin, //璐拱鐗╁搧寮规
+ buyItemWin, //璐拱鐗╁搧寮规
buyBoxWin, //璐拱瀹濈寮规
petMatWin, //瑙i攣瀹犵墿鍜屽潗楠戦亾鍏峰脊妗�
buyPetMatWin, //璐拱瑙i攣瀹犵墿鍜屽潗楠戦亾鍏峰脊妗�
- GatherSoul,//鑱氶瓊
- KingTreasure, //鐜嬭�呮硶瀹�
+ gatherSoul,//鑱氶瓊
+ kingTreasure, //鐜嬭�呮硶瀹�
}
public enum ItemTipChildType
--
Gitblit v1.8.0