ksys/act: Add more InfoData functions

This commit is contained in:
Léo Lam
2020-11-22 12:27:07 +01:00
parent e99f0f8949
commit 622104fbd2
9 changed files with 169 additions and 7 deletions
+2
View File
@@ -1,4 +1,6 @@
target_sources(uking PRIVATE
evtEvent.cpp
evtEvent.h
evtManager.cpp
evtManager.h
)
+1
View File
@@ -0,0 +1 @@
#include "KingSystem/Event/evtEvent.h"
+26
View File
@@ -0,0 +1,26 @@
#pragma once
#include <basis/seadTypes.h>
#include <prim/seadTypedBitFlag.h>
namespace ksys::evt {
// TODO
class Event {
public:
Event();
virtual ~Event();
enum class Flag : u64 {
_80000000000 = 0x80000000000,
};
bool hasFlag(Flag flag) const { return mFlags.isOn(flag); }
private:
u8 TEMP_0[0x338];
sead::TypedBitFlag<Flag> mFlags;
};
// sizeof() = 0x620
} // namespace ksys::evt