diff options
Diffstat (limited to 'src/plugin-types.hpp')
| -rw-r--r-- | src/plugin-types.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin-types.hpp b/src/plugin-types.hpp index 10139b0..319960d 100644 --- a/src/plugin-types.hpp +++ b/src/plugin-types.hpp @@ -7,12 +7,12 @@ constexpr int64_t CallbackSignatureLength = 16; using CallbackSignature = char[CallbackSignatureLength]; -typedef void (*ParseDelegate)(std::ifstream *stream); +typedef void (*DeserializeDelegate)(std::ifstream *stream); typedef void (*SerializeDelegate)(std::ifstream *stream); typedef void (*CollisionDelegate)(const void *entHandleLeft, const void *entHandleRight); struct PkeEntityTypeInterface { - void (*OnParse)(std::ifstream *stream) = nullptr; + void (*OnDeserialize)(std::ifstream *stream) = nullptr; void (*OnSerialize)(std::ostringstream *stream, void *obj) = nullptr; void (*OnEntityTypeCollision)(const void *entHandleLeft, const void *entHandleRight) = nullptr; void (*OnEntityInstanceCollision)(const void *entHandleLeft, const void *entHandleRight) = nullptr; |
