Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the command identifier to GetHighlightCommand #72

Open
Garanas opened this issue Mar 21, 2024 · 0 comments
Open

Add the command identifier to GetHighlightCommand #72

Garanas opened this issue Mar 21, 2024 · 0 comments

Comments

@Garanas
Copy link
Member

Garanas commented Mar 21, 2024

The GetHighlightCommand global was introduced by #65 and is in use by the Context Based Templates feature. It's a great addition, but it's missing one field: the command identifier. It's the value that we can give to the global DeleteCommand to cancel the command.

With it we can introduce a feature to 'swipe to delete'. That way you can first copy a build command using the context based templates feature, swipe to delete the original and then replace the command. This would allow us to create a setup for FAForever/fa#5982.

As an example, the command identifier is returned by UserUnit:GetCommandQueue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant