MCPcopy Create free account
hub / github.com/EQEmu/EQEmu / GetTaskName

Method GetTaskName

zone/task_manager.cpp:543–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543std::string TaskManager::GetTaskName(uint32 task_id)
544{
545 if (task_id > 0) {
546 const auto task_data = GetTaskData(task_id);
547 if (task_data) {
548 return task_data->title;
549 }
550 }
551
552 return std::string();
553}
554
555TaskType TaskManager::GetTaskType(uint32 task_id)
556{

Callers 5

gettasknameMethod · 0.80
IncrementDoneCountMethod · 0.80
AcceptNewTaskMethod · 0.80
command_taskFunction · 0.80
FindTaskFunction · 0.80

Calls 1

stringFunction · 0.85

Tested by

no test coverage detected