blob: 22c07b60736531a68b4a58d6e9c17980d08d8b26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
#include <array>
#include <container/seadSafeArray.h>
#include <heap/seadDisposer.h>
namespace uking {
enum class BlightType : u32 { Wind, Electric, Fire, Water };
class ChampionBalladManager {
SEAD_SINGLETON_DISPOSER(ChampionBalladManager)
ChampionBalladManager() = default;
virtual ~ChampionBalladManager() = default;
public:
void init();
void setBlightRematchCount(s8 count, BlightType blight_type);
void incrementBlightRematchCount(BlightType blight_type);
s8 getBlightRematchCount(BlightType blight_type) const;
private:
sead::SafeArray<u8, 4> mBlightCounts;
};
} // namespace uking
|