Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nexus serialization #38

Draft
wants to merge 40 commits into
base: master
Choose a base branch
from
Draft

Nexus serialization #38

wants to merge 40 commits into from

Conversation

ctreffs
Copy link
Member

@ctreffs ctreffs commented Nov 25, 2020

This PR aims to add serialization for the whole Nexus.

There are several challenges with this, but especially the static types on deserialization make it hard to get it right.

For now arbitrary components are serialized into a binary format, but this should not be the final solution since this will produce a platform dependent and unstable serialization format.

# Conflicts:
#	Sources/FirebladeECS/Nexus.swift
# Conflicts:
#	Sources/FirebladeECS/Nexus.swift
# Conflicts:
#	Sources/FirebladeECS/ComponentIdentifier.swift
#	Sources/FirebladeECS/EntityIdentifierGenerator.swift
#	Tests/FirebladeECSTests/EntityTests.swift
#	Tests/FirebladeECSTests/XCTestManifests.swift
# Conflicts:
#	Tests/FirebladeECSTests/XCTestManifests.swift
@ctreffs ctreffs self-assigned this Nov 25, 2020
@ctreffs ctreffs added enhancement New feature or request help wanted Extra attention is needed labels Nov 25, 2020
@codecov
Copy link

codecov bot commented Nov 25, 2020

Codecov Report

Merging #38 (df99994) into master (e1f3078) will decrease coverage by 3.78%.
The diff coverage is 69.93%.

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
- Coverage   98.09%   94.31%   -3.79%     
==========================================
  Files          30       27       -3     
  Lines        1368     1214     -154     
==========================================
- Hits         1342     1145     -197     
- Misses         26       69      +43     

@ctreffs ctreffs changed the title WIP: Nexus serialization Nexus serialization Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant