feat: define authoritative action effects
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user