Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #750401

protocol: add target_extra_id to UNIT_ACTIONS

Added by Sveinung Kvilhaugsvik over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Make it possible to use unit_get_actions to ask about an extra targeted action without having to remember the extra asked about on the client side.

Use cases: Bring Freeciv-web a step closer to unhardcoding extra related unit rules. C client action selection dialog buttons for new extra targeted activity actions that don't have any other UI. C client action selection dialog buttons for existing activities for consistency/client support of complex action enabler.

0003-Return-extra.patch (2.73 KB) 0003-Return-extra.patch Sveinung Kvilhaugsvik, 2018-04-30 11:10 AM

History

#1 Updated by Sveinung Kvilhaugsvik over 4 years ago

Protocol changes only. (No client side changes needed since handle_unit_actions takes PACKET_UNIT_ACTIONS as a struct)

#2 Updated by Sveinung Kvilhaugsvik over 4 years ago

  • Category set to General
  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100

Also available in: Atom PDF