任务单 #47803

Target specific counter_behaviour_is_valid()

开放日期: 2023-04-08 19:15 最后更新: 2023-04-08 19:15

报告人:
属主:
(无)
类型:
状态:
开启
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:

Details

With current #47292 implementation, there is no way to check validity of unit counters. Neither there is a way to check validity of city counters specifically - we still just use generic counter_behaviour_is_valid() which works as long as there's no single unit counter (nor any other counter that has target other than city).

So, we need something like 'counter_is_valid(enum counter_target target, enum counter_behaviour cb)'

任务单历史 (1/1 Histories)

2023-04-08 19:15 Updated by: cazfi
  • New Ticket "Target specific counter_behaviour_is_valid()" created

Attachment File List

No attachments

编辑

Please login to add comment to this ticket » 登录名