示例#1
0
 public TaskLogic(ITaskAccess taskAccess, IUserInfo userInfo, ICharacterManager characterManager, IQuestLogic questLogic)
 {
     _taskAccess       = taskAccess;
     _userInfo         = userInfo;
     _characterManager = characterManager;
     _questLogic       = questLogic;
 }
示例#2
0
 private int AddDailyTask(ITaskAccess taskAccess, int userId, string taskName)
 {
     return(taskAccess.AddDailyTask(userId, taskName));
 }
示例#3
0
 private int AddTodo(ITaskAccess taskAccess, int userId, string taskName)
 {
     return(taskAccess.AddTodo(userId, taskName));
 }