Skip to content

Commit

Permalink
Export additional unit property info.
Browse files Browse the repository at this point in the history
There's a lot of additional data available in the lua database that
informs any callers how to implement the UI. Expose that in the unit
type as well.

I've added this as a new API surface rather than extending the data in
the old API which is only queryable via reflection. The old API is good
for hard-coded mission generators that want to set properties
explicitly, but for anyone trying to create a UI for setting these (such
as Liberation does), it's preferable to have access without reflection.
  • Loading branch information
DanAlbert committed Jul 20, 2023
1 parent d0c80e1 commit 45ce9c5
Show file tree
Hide file tree
Showing 5 changed files with 6,802 additions and 0 deletions.
Loading

0 comments on commit 45ce9c5

Please sign in to comment.