blob: a757fb3bd070573e30d98760ca15c28063c2f38c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System;
using XUtliPoolLib;
namespace XMainClient
{
internal class Process_PtcG2C_CompleteAchivement
{
public static void Process(PtcG2C_CompleteAchivement roPtc)
{
XAchievementDocument specificDocument = XDocuments.GetSpecificDocument<XAchievementDocument>(XAchievementDocument.uuID);
specificDocument.SetAchivementState(roPtc.Data.achivementID, roPtc.Data.state);
XSingleton<XGameSysMgr>.singleton.RecalculateRedPointState(XSysDefine.XSys_Reward_Achivement, true);
XSingleton<XGameSysMgr>.singleton.RecalculateRedPointState(XSysDefine.XSys_ServerActivity, true);
XSingleton<XGameSysMgr>.singleton.RecalculateRedPointState(XSysDefine.XSys_LevelReward, true);
}
}
}
|