Specialize a serializer for component pointers #131

Open
opened 2023-05-26 03:19:37 +00:00 by sdaveb · 0 comments
Owner

Problem Description

  • There is a lot of boilerplate code for serailizing references to other components within components.

For example: the position_ptr and properties_ptr in the PlayerBehavior component/

Proposed Solution

(if any)

  • Specialize a BaseComponent* serializer that only stores the metadata, and a deserializer that pulls
  • Add a "FromJson" method to the ComponentStore class, that can be used in component deserializers.
## Problem Description - There is a lot of boilerplate code for serailizing references to other components within components. For example: the position_ptr and properties_ptr in the PlayerBehavior component/ ## Proposed Solution ### (if any) - Specialize a BaseComponent* serializer that only stores the metadata, and a deserializer that pulls - Add a "FromJson" method to the ComponentStore class, that can be used in component deserializers.
sdaveb added the
task
label 2023-05-26 03:19:37 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sdaveb/quartz-warriors#131
No description provided.