Files
2026-08-12 20:21:14 +02:00

15 lines
417 B
GDScript

class_name ActionCommandService
extends RefCounted
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 try_execute(_command: ActionCommand) -> ActionResult:
return null
func submit_command(command: ActionCommand) -> ActionResult:
return try_execute(command)