mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
[Commands] Add #task complete Saylink to #task show (#4985)
This commit is contained in:
parent
ed3f6c2a40
commit
1fe5d9fa4f
@ -1414,11 +1414,19 @@ void ClientTaskState::ShowClientTaskInfoMessage(ClientTaskInformation *task, Cli
|
|||||||
c->Message(
|
c->Message(
|
||||||
Chat::White,
|
Chat::White,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"Task {} | Title: {} ID: {} Type: {}",
|
"Task {} | Title: {} ID: {} Type: {} | {}",
|
||||||
task->slot,
|
task->slot,
|
||||||
task_data->title,
|
task_data->title,
|
||||||
task->task_id,
|
task->task_id,
|
||||||
Tasks::GetTaskTypeDescription(task_data->type)
|
Tasks::GetTaskTypeDescription(task_data->type),
|
||||||
|
Saylink::Create(
|
||||||
|
fmt::format(
|
||||||
|
"#task complete {}",
|
||||||
|
task->task_id
|
||||||
|
),
|
||||||
|
false,
|
||||||
|
"Complete"
|
||||||
|
)
|
||||||
).c_str()
|
).c_str()
|
||||||
);
|
);
|
||||||
c->Message(Chat::White, "------------------------------------------------");
|
c->Message(Chat::White, "------------------------------------------------");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user