public static void OnRecieveAchieveInfo(CSPkg msg) { Singleton <CUIManager> .GetInstance().CloseSendMsgAlert(); SCPKG_ACHIEVEMENT_INFO_NTF stGetAchievememtInfoNtf = msg.stPkgData.stGetAchievememtInfoNtf; CAchieveInfo2 masterAchieveInfo = CAchieveInfo2.GetMasterAchieveInfo(); masterAchieveInfo.OnServerAchieveInfo(ref stGetAchievememtInfoNtf.stAchievementInfo); }
public static void OnRecieveAchieveInfo(CSPkg msg) { Singleton <CUIManager> .GetInstance().CloseSendMsgAlert(); SCPKG_ACHIEVEMENT_INFO_NTF stGetAchievememtInfoNtf = msg.stPkgData.stGetAchievememtInfoNtf; CRoleInfo masterRoleInfo = Singleton <CRoleInfoManager> .GetInstance().GetMasterRoleInfo(); DebugHelper.Assert(masterRoleInfo != null, "role is null OnRecieveAchieveInfo"); if (masterRoleInfo != null) { masterRoleInfo.m_achieveInfo.InitAchieveInfo(stGetAchievememtInfoNtf.stAchievementInfo); } }