-
Notifications
You must be signed in to change notification settings - Fork 81
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
Identify world.status.announcement_alert fields #692
Conversation
df.announcements.xml
Outdated
<enum base-type='int32_t' type-name='announcement_alert_type' name='type'/> | ||
<stl-vector name='report_id' type-name='int32_t'/> | ||
<stl-vector name='unit_id' type-name='int32_t'/> | ||
<stl-vector name='combat_type'> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bay12 name is report_unit_announcement_category
(and the vector type is UnitAnnouncementCategory
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm using a pre-existing enum for the category. Doesn't look like original-name
works with enum, so I've just put a comment on it in df.units.xml
.
* Update df.announcements.xml * Update df.units.xml
Identify
announcement_alert
fields based on use inmake_announcement
(FUN_1400574e0
v50.11 win64 Steam.) Naming the structannouncement_alertst
based on convention.Additionally defined the
alert_button_announcement_id
vector asint32_t
, since it usesreport.id
.