예제 #1
0
        //-------------------------------------------------------------------------
        void _init(TaskMgr task_mgr, Entity et, TaskData task_data)
        {
            TaskMgr = task_mgr;
            Entity  = et;

            TaskData = task_data;
            if (TaskData.task_data == null)
            {
                TaskData.task_data = new Dictionary <byte, string>();
            }

            TbDataTask = EbDataMgr.Instance.getData <TbDataTask>(TaskData.task_id);

            onInit();
        }
예제 #2
0
 //-------------------------------------------------------------------------
 public TaskDialogue(TaskMgr task_mgr, Entity et, TaskData task_data)
     : base(task_mgr, et, task_data)
 {
 }
예제 #3
0
        //-------------------------------------------------------------------------
        public override TaskBase createTask(TaskData task_data)
        {
            var task = new TaskDialogue(TaskMgr, Entity, task_data);

            return(task);
        }
예제 #4
0
 //-------------------------------------------------------------------------
 public TaskCollectItem(TaskMgr task_mgr, Entity et, TaskData task_data)
     : base(task_mgr, et, task_data)
 {
 }
예제 #5
0
        //-------------------------------------------------------------------------
        public override TaskBase createTask(TaskData task_data)
        {
            var task = new TaskCollectItem(TaskMgr, Entity, task_data);

            return(task);
        }
예제 #6
0
 //-------------------------------------------------------------------------
 public TaskKillMonster(TaskMgr task_mgr, Entity et, TaskData task_data)
     : base(task_mgr, et, task_data)
 {
 }
예제 #7
0
 //-------------------------------------------------------------------------
 public override TaskBase createTask(TaskData task_data)
 {
     var task = new TaskKillMonster(TaskMgr, Entity, task_data);
     return task;
 }
예제 #8
0
 //-------------------------------------------------------------------------
 public void clientUpdateTask(TaskData task_data)
 {
     TaskData = task_data;
 }
예제 #9
0
 //-------------------------------------------------------------------------
 public TaskBase(TaskMgr task_mgr, Entity et, TaskData task_data)
 {
     _init(task_mgr, et, task_data);
 }
예제 #10
0
 //-------------------------------------------------------------------------
 public abstract TaskBase createTask(TaskData task_data);