Lodestone.Common
Loading...
Searching...
No Matches
Identifiable.h
Go to the documentation of this file.
1//
2// Created by DexrnZacAttack on 2/14/26 using zPc-i2.
3//
4#ifndef LODESTONE_IDENTIFIABLE_H
5#define LODESTONE_IDENTIFIABLE_H
7
9 struct IIdentifiable {};
10
11 template <const Identifier *I>
12 class Identifiable : public IIdentifiable {
13 public:
14 static constexpr const Identifier *getIdentifier() {
15 return I;
16 }
17 };
18}
19
20#endif // LODESTONE_IDENTIFIABLE_H
Definition Identifiable.h:12
static constexpr const Identifier * getIdentifier()
Definition Identifiable.h:14
Definition Identifier.h:14
Definition Identifiable.h:8