HiveMind
IBittyBuzzStringResolver.h
Go to the documentation of this file.
1 #ifndef __IBITTYBUZZSTRINGRESOLVER_H_
2 #define __IBITTYBUZZSTRINGRESOLVER_H_
3 
4 #include <cstdint>
5 #include <optional>
6 
11  public:
12  virtual ~IBittyBuzzStringResolver() = default;
13 
17  virtual std::optional<const char*> getString(uint16_t stringId) const = 0;
18 };
19 
20 #endif // __IBITTYBUZZSTRINGRESOLVER_H_
IBittyBuzzStringResolver::~IBittyBuzzStringResolver
virtual ~IBittyBuzzStringResolver()=default
IBittyBuzzStringResolver::getString
virtual std::optional< const char * > getString(uint16_t stringId) const =0
Get the string from the stringId.
IBittyBuzzStringResolver
Class that resolves a string from the bittybuzz virtual machine.
Definition: IBittyBuzzStringResolver.h:10