mirror of
https://github.com/zeldaret/botw
synced 2026-07-08 21:55:02 -04:00
24 lines
537 B
C++
24 lines
537 B
C++
#pragma once
|
|
|
|
#include <time/seadTickTime.h>
|
|
#include "KingSystem/Utils/Types.h"
|
|
|
|
namespace ksys::util {
|
|
|
|
class InitTimeInfo {
|
|
public:
|
|
InitTimeInfo() = default;
|
|
|
|
sead::TickTime getInitStartTime() const { return mInitStartTime; }
|
|
sead::TickSpan getInitDuration() const { return mInitDuration; }
|
|
|
|
void finish() { mInitDuration = sead::TickTime().diff(mInitStartTime); }
|
|
|
|
private:
|
|
sead::TickTime mInitStartTime;
|
|
sead::TickSpan mInitDuration;
|
|
};
|
|
KSYS_CHECK_SIZE_NX150(InitTimeInfo, 0x10);
|
|
|
|
} // namespace ksys::util
|