summaryrefslogtreecommitdiff
path: root/include/s/s_StateIDChk.hpp
blob: 1be72b1f0bc6eaf2b99ecad3d705fe705f990db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef S_STATEIDCHK_H
#define S_STATEIDCHK_H

#include "s/s_StateInterfaces.hpp"

// Note: Ported from https://github.com/NSMBW-Community/NSMBW-Decomp/tree/master/include/dol/sLib
// See include/s/README.txt for changes made

/// @brief A default implementation of a state ID checker.
/// @details ::isNormalID always returns true.
class sStateIDChk_c : public sStateIDChkIf_c {
public:
    virtual ~sStateIDChk_c();
    virtual bool isNormalID(const sStateIDIf_c &) const {
        return true;
    }
};

#endif