feat: define authoritative action effects

This commit is contained in:
Rijad Zuzo
2026-08-12 20:21:14 +02:00
parent e27fc1a5c8
commit dd0fc7542c
8 changed files with 165 additions and 9 deletions
+5 -1
View File
@@ -6,5 +6,9 @@ signal command_resolved(result: ActionResult)
# Implementations must resolve the transient target handle and revalidate every
# precondition. An earlier ActionOffer never grants authority by itself.
func submit_command(_command: ActionCommand) -> ActionResult:
func try_execute(_command: ActionCommand) -> ActionResult:
return null
func submit_command(command: ActionCommand) -> ActionResult:
return try_execute(command)