diff options
Diffstat (limited to 'src/plugin-types.hpp')
| -rw-r--r-- | src/plugin-types.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugin-types.hpp b/src/plugin-types.hpp index 319960d..f7a119b 100644 --- a/src/plugin-types.hpp +++ b/src/plugin-types.hpp @@ -2,13 +2,13 @@ #define PKE_PLUGIN_TYPES_HPP #include <cstdint> -#include <fstream> +#include <istream> constexpr int64_t CallbackSignatureLength = 16; using CallbackSignature = char[CallbackSignatureLength]; -typedef void (*DeserializeDelegate)(std::ifstream *stream); -typedef void (*SerializeDelegate)(std::ifstream *stream); +typedef void (*DeserializeDelegate)(std::istream *stream); +typedef void (*SerializeDelegate)(std::istream *stream); typedef void (*CollisionDelegate)(const void *entHandleLeft, const void *entHandleRight); struct PkeEntityTypeInterface { |
