void _Packet(ScSkillInfo p) { p.CopyTo(ref skillInfo); OnGetAllSkillData(); //OnAddDataToSkillLvDic(); OnAddDataToSkillStateDic(); DispatchModuleEvent(EventUpdateSkillPanel); DispatchEvent(SDKEvent.GLOBAL, SDKEvent.PopSdk(SDKEvent.LOCAL_NOTIFY, SwitchType.SkillPoint)); }
void _Packet_999(ScSkillInfo p) { if (p.skills == null) { m_skills = new PSkill[] { } } ; else { p.skills.CopyTo(ref m_skills); } }
protected override void OnGameDataReset() { skillInfo = null; m_skillsDic.Clear(); currentClickSkill = null; currentSkillType = SkillType.None; m_skillLevelInfo.Clear(); m_skillStateLevelDic.Clear(); m_stateToSkill.Clear(); m_currentSkillStates.Clear(); reliveSkillId = 0; allSkillDatas.Clear(); isRead.Clear(); readTrue = false; pointNoFull = false; m_recevieTime = 0; m_remainTime = 0; }