Skip to content

Commit

Permalink
commit for release 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Doraku committed Aug 24, 2018
1 parent 9b789c4 commit 205bbf8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![DefaultEcs](https://github.com/Doraku/DefaultEcs/blob/master/DefaultEcsLogo.png)
DefaultEcs is an Entity Component System framework which aims to be accessible with little constraints while retaining as much performance as possible for game development.

[![NuGet](https://img.shields.io/badge/nuget-v0.5.0-brightgreen.svg)](https://www.nuget.org/packages/DefaultEcs)
[![NuGet](https://img.shields.io/badge/nuget-v0.6.0-brightgreen.svg)](https://www.nuget.org/packages/DefaultEcs)

- [Requirement](#Requirement)
- [Overview](#Overview)
Expand Down Expand Up @@ -263,6 +263,7 @@ DefaultEcs support serialization to save and load a World state. Two implementat
The provided implementation TextSerializer and BinarySerializer are still in development and do not support serialization of interface nor abstract types and member. Types without a default constructor are not supported either.
Nonetheless both are highly permissive and will serialize every fields and properties even if the are private or readonly and do not require any attribute decoration to work.
This was a target from the get go as graphic and framework libraries do not always have well decorated type which would be used as component.

If you have knownledge of a serialization framework which works with everything without decoration or external schema file, please tell me because serialization is pain and I should not have started this thing.

```C#
Expand Down
2 changes: 1 addition & 1 deletion source/DefaultEcs/DefaultEcs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<PackageLicenseUrl>https://github.com/Doraku/DefaultEcs/blob/master/LICENSE.md</PackageLicenseUrl>
<PackageTags>gamedev game-development game-engine ecs entity-component-system</PackageTags>

<Version>0.5.1</Version>
<Version>0.6.0</Version>
<PackageReleaseNotes>
added serialize feature to World and Entity
renamed AEntitySetSystem base class to AEntitySystem
Expand Down
1 change: 0 additions & 1 deletion source/DefaultEcs/Serialization/BinarySerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ public void Serialize(Stream stream, World world)
/// <param name="stream">The <see cref="Stream"/> from which the data will be loaded.</param>
/// <returns>The <see cref="World"/> instance loaded.</returns>
/// <exception cref="ArgumentNullException"><paramref name="stream"/> is null.</exception>
/// <exception cref="ArgumentNullException"><paramref name="world"/> is null.</exception>
public World Deserialize(Stream stream)
{
stream = stream ?? throw new ArgumentNullException(nameof(stream));
Expand Down
1 change: 0 additions & 1 deletion source/DefaultEcs/Serialization/TextSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,6 @@ public void Serialize(Stream stream, World world)
/// <param name="stream">The <see cref="Stream"/> from which the data will be loaded.</param>
/// <returns>The <see cref="World"/> instance loaded.</returns>
/// <exception cref="ArgumentNullException"><paramref name="stream"/> is null.</exception>
/// <exception cref="ArgumentNullException"><paramref name="world"/> is null.</exception>
public World Deserialize(Stream stream)
{
stream = stream ?? throw new ArgumentNullException(nameof(stream));
Expand Down

0 comments on commit 205bbf8

Please sign in to comment.