|
@@ -1,5 +1,6 @@
|
|
|
using GFGGame;
|
|
|
using ET;
|
|
|
+using System.Collections.Generic;
|
|
|
|
|
|
namespace ET
|
|
|
{
|
|
@@ -24,6 +25,18 @@ namespace ET
|
|
|
roleInfo.roleLv = message.RoleInfo.RoleLvl;
|
|
|
roleInfo.roleName = message.RoleInfo.RoleName;
|
|
|
roleInfo.offlineTimeSec = message.RoleInfo.OfflineTimeSec;
|
|
|
+ roleInfo.headId = message.RoleInfo.HeadItemId;
|
|
|
+ roleInfo.headBorderId = message.RoleInfo.HeadBorderItemId;
|
|
|
+ roleInfo.leagueName = message.RoleInfo.LeagueName;
|
|
|
+ roleInfo.itemList = new List<int>();
|
|
|
+ for(int i=0;i< message.RoleInfo.ItemList.Count; i++)
|
|
|
+ {
|
|
|
+ roleInfo.itemList.Add(message.RoleInfo.ItemList[i]);
|
|
|
+ }
|
|
|
+ roleInfo.suitCollect = message.RoleInfo.SuitCollect;
|
|
|
+ roleInfo.cardCollect = message.RoleInfo.CardCollect;
|
|
|
+ roleInfo.achievementTaskCollect = message.RoleInfo.AchievementTaskCollect;
|
|
|
+ roleInfo.roleExp = message.RoleInfo.RoleExp;
|
|
|
|
|
|
FriendDataManager.Instance.ChangeFriendInfo(roleInfo);
|
|
|
EventAgent.DispatchEvent(ConstMessage.FRIEND_REFRESH);
|