class
cBadgeManager
Base classes
- class cGonzagoSimulator
Public static variables
Public functions
- auto AddToBadgeProgress(BadgeManagerEvent badge, int addedValue) -> void
- Changes the progress of a badge, adding
addedValue
to the existing progress of the badge.
Public variables
-
eastl::map<uint32_
t, PropertyListPtr> mBadges - Maps the file ID to the PropertyList, for each badge in space_badges~ (0x2CB089D)
-
eastl::map<uint32_
t, int> mBadgeMap - Tracks the state of each badge (wether its unlocked, in progress, etc)
- eastl::map<int, int> mStageMap
- eastl::map<BadgeManagerEvent, int> mEventCounts
- Counts how many events of a certain kind have happened, used to know when to give a badge.
- eastl::hash_map<int, int> field_80
- bool field_A0
-
uint32_
t mCurrentBadgeCard - int field_A8
- LocalizedString field_AC
Function documentation
void Simulator:: cBadgeManager:: AddToBadgeProgress(BadgeManagerEvent badge,
int addedValue)
Changes the progress of a badge, adding addedValue
to the existing progress of the badge.
Parameters | |
---|---|
badge | |
addedValue |
This will send a 0x38CF2FB
message.