From 9f036b05d36203465ca481f39d2cd51233e82b9e Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 20 Mar 2025 15:31:34 -0400 Subject: pke: rename Parse to Deserialize --- src/plugin-types.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugin-types.hpp') 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; -- cgit v1.2.3