feat: unify authored activity commands

This commit is contained in:
Rijad Zuzo
2026-08-13 00:08:30 +02:00
parent e5aecee0de
commit b3b98c6456
36 changed files with 3013 additions and 96 deletions
+2 -2
View File
@@ -73,9 +73,9 @@ static func accepted(command_id: StringName, payload: Dictionary = {}) -> Action
static func rejected(
command_id: StringName, reason_code: StringName, message: String = ""
command_id: StringName, reason_code: StringName, message: String = "", payload: Dictionary = {}
) -> ActionResult:
return ActionResult.new(command_id, STATUS_REJECTED, reason_code, message)
return ActionResult.new(command_id, STATUS_REJECTED, reason_code, message, payload)
static func completed(command_id: StringName, payload: Dictionary = {}) -> ActionResult: