mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 10:18:21 +00:00
16 lines
417 B
C
16 lines
417 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__
|