| | |
| | |
|
| | | public bool selectActivePriority { get; set; }
|
| | |
|
| | | public int autoActiveSkillId { get; set; }
|
| | |
|
| | | public readonly Redpoint redpoint = new Redpoint(103, 10304);
|
| | | public const int REDPOINTID_BASE = 10304000;
|
| | | public static int redpointIndex = 100;
|
| | |
| | | m_ExpertSkills.Clear();
|
| | | m_ExpertActiveLevels.Clear();
|
| | | serverInited = false;
|
| | | autoActiveSkillId = 0;
|
| | | }
|
| | |
|
| | | public void OnPlayerLoginOk()
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | if (serverInited)
|
| | | {
|
| | | var error = 0;
|
| | | if (WindowCenter.Instance.IsOpen<ExpertSkillSelectWin>())
|
| | | {
|
| | | var window = WindowCenter.Instance.Get<ExpertSkillSelectWin>();
|
| | | if (window.selectExpert == autoActiveSkillId
|
| | | && SatisfyActiveExpert(autoActiveSkillId, out error))
|
| | | {
|
| | | var pak = new CA516_tagCMSelectSkillElement();
|
| | | pak.SkillTypeID = (uint)autoActiveSkillId;
|
| | | GameNetSystem.Instance.SendInfo(pak);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | autoActiveSkillId = 0;
|
| | | }
|
| | | else if (dataType == PlayerDataType.LV)
|
| | | {
|