From 3ea77bcede501037ec86c8afd28268ee16a35437 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期五, 02 十一月 2018 09:46:37 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Pet/PetAttributeWin.cs | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/System/Pet/PetAttributeWin.cs b/System/Pet/PetAttributeWin.cs
index d2f8d68..5984c53 100644
--- a/System/Pet/PetAttributeWin.cs
+++ b/System/Pet/PetAttributeWin.cs
@@ -224,7 +224,9 @@
return;
}
}
+ petmodel.SigPetId = petId;
TypePetID = petId;
+
_PetAttributeMethods.ModelShow(petId);
}
@@ -316,6 +318,7 @@
if (Pet != 0)
{
TypePetID = Pet;
+ petmodel.SigPetId = Pet;
return;
}
}
@@ -331,6 +334,7 @@
if (Value.UnLockNeedItemID == ItemId)
{
TypePetID = Value.ID;
+ petmodel.SigPetId = TypePetID;
return;
}
}
@@ -341,6 +345,7 @@
if (petmodel.DeblockingRedPoint[key].state == RedPointState.Simple)
{
TypePetID = key;
+ petmodel.SigPetId = TypePetID;
return;
}
}
@@ -350,16 +355,19 @@
if (petmodel.CultivateRedPoint[key].state == RedPointState.Simple)
{
TypePetID = key;
+ petmodel.SigPetId = TypePetID;
return;
}
}
if (petmodel.PetNow != 0)
{
TypePetID = petmodel.PetNow;
+ petmodel.SigPetId = TypePetID;
}
else
{
TypePetID = sortlist[0].ID;
+ petmodel.SigPetId = TypePetID;
}
}
private int JunpIndex()
@@ -389,6 +397,7 @@
if (value.ID == petID[0])
{
TypePetID = petID[0];
+ petmodel.SigPetId = TypePetID;
}
}
//m_ScrollerController.m_Scorller.RefreshActiveCellViews();//鍒锋柊鍙
@@ -424,6 +433,13 @@
}
return Index;
}
+
+
+ public void FairyJadeDomesticate()
+ {
+ _PetAttributeMethods.FairyJadeDomesticate();
+
+ }
}
}
--
Gitblit v1.8.0