mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 05:57:20 +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__
|