mirror of
https://github.com/zeldaret/botw
synced 2026-06-16 14:49:51 -04:00
ksys/act: Add more InfoData functions
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
target_sources(uking PRIVATE
|
||||
evtEvent.cpp
|
||||
evtEvent.h
|
||||
evtManager.cpp
|
||||
evtManager.h
|
||||
)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
#include "KingSystem/Event/evtEvent.h"
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user