mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-26 15:33:34 +00:00
9655f0ee45
fix compile issues
16 lines
402 B
C++
16 lines
402 B
C++
#ifndef IPLAYKEYS_H
|
|
#define IPLAYKEYS_H
|
|
|
|
#include <cstdint>
|
|
#include <optional>
|
|
|
|
class IPlayKeys {
|
|
public:
|
|
// Get the playkey id for the given playkey.
|
|
// Optional of bool may seem pointless, however the optional indicates if the playkey exists
|
|
// and the bool indicates if the playkey is active.
|
|
virtual std::optional<bool> IsPlaykeyActive(const int32_t playkeyId) = 0;
|
|
};
|
|
|
|
#endif //!IPLAYKEYS_H
|