diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-03-20 15:31:34 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-03-21 11:06:05 -0400 |
| commit | 9f036b05d36203465ca481f39d2cd51233e82b9e (patch) | |
| tree | 0b44323ed2e401cf5e6dd2840e2fd45a1d9597bc /src/plugin-types.hpp | |
| parent | e6e7f56c9bba3b2191583c4c1d0599370d1f00c7 (diff) | |
pke: rename Parse to Deserialize
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; |
