public void DataSetting_Temp() { m_Data = new EMDataCharacter(); // EMScheduleType.STUDY m_Data.SetScheduleStatus(EMScheduleType.STUDY, MakeData_Temp(1)); // EMScheduleType.JOB m_Data.SetScheduleStatus(EMScheduleType.JOB, MakeData_Temp(1)); // EMScheduleType.VACATION m_Data.SetScheduleStatus(EMScheduleType.VACATION, MakeData_Temp(1)); EMDataCharacterStatus userStatus = new EMDataCharacterStatus(); m_Data.SetUserStatus(userStatus); }
public void DataSetting_Temp () { m_Data = new EMDataCharacter (); // EMScheduleType.STUDY m_Data.SetScheduleStatus(EMScheduleType.STUDY, MakeData_Temp(1)); // EMScheduleType.JOB m_Data.SetScheduleStatus(EMScheduleType.JOB, MakeData_Temp(1)); // EMScheduleType.VACATION m_Data.SetScheduleStatus(EMScheduleType.VACATION, MakeData_Temp(1)); EMDataCharacterStatus userStatus = new EMDataCharacterStatus (); m_Data.SetUserStatus (userStatus); }
/// <summary> /// 캐릭터가 할 수 있는 스케쥴 리스트를 요청하다. /// </summary> /// <param name="character">캐릭터 데이터를 받아야 한다.</param> public void ReqScheduleList (EMDataCharacter p_Character) { #if _Log_ Debug.Log ("[EMScheduler].(ReqScheduleList) call arg : " + p_Character); #endif // process CheckScheduleOpen (EMScheduleType.STUDY, p_Character.GetScheduleStatus(EMScheduleType.STUDY)); CheckScheduleOpen (EMScheduleType.JOB, p_Character.GetScheduleStatus(EMScheduleType.JOB)); CheckScheduleOpen (EMScheduleType.VACATION, p_Character.GetScheduleStatus(EMScheduleType.VACATION)); // show scheduler list EMUISchedulerMgr.Instance.ShowSchduleList (EMScheduleType.STUDY, m_Data.Get(EMScheduleType.STUDY).ToArray()); EMUISchedulerMgr.Instance.ShowSchduleList (EMScheduleType.JOB, m_Data.Get(EMScheduleType.JOB).ToArray()); EMUISchedulerMgr.Instance.ShowSchduleList (EMScheduleType.VACATION, m_Data.Get(EMScheduleType.VACATION).ToArray()); }