summaryrefslogtreecommitdiff
path: root/src/Game/AI/Query/queryCompareGameDataTime.h
blob: 49ce949e153599093da659b891342d50637887e1 (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 "KingSystem/ActorSystem/actAiQuery.h"

namespace uking::query {

class CompareGameDataTime : public ksys::act::ai::Query {
    SEAD_RTTI_OVERRIDE(CompareGameDataTime, Query)
public:
    explicit CompareGameDataTime(const InitArg& arg);
    ~CompareGameDataTime() override;
    int doQuery() override;

    void loadParams() override;
    void loadParams(const evfl::QueryArg& arg) override;

protected:
    sead::SafeString mGameDataIntMinA{};
    sead::SafeString mGameDataIntSecA{};
    sead::SafeString mGameDataIntMilliA{};
    sead::SafeString mGameDataIntMinB{};
    sead::SafeString mGameDataIntSecB{};
    sead::SafeString mGameDataIntMilliB{};
};

}  // namespace uking::query