Releases: ethanmoffat/eolib-dotnet
Releases · ethanmoffat/eolib-dotnet
Moffat.EndlessOnline.SDK v1.0.0
Fixed
- Updated AssertLength exception string to reference length property so the message makes more sense for string types with fixed or maximum lengths.
Updated
- Pulled in minor fixes for eo-protocol (no impact to generated code):
Moffat.EndlessOnline.SDK v1.0.0-rc3
Added
PacketResolver
class, which constructs an empty packet object type from a given family or action. Specified namespace determines whether packets are for "client" or "server" context.- Test coverage for generated code using
eo-captured-packets
submodule. See commit d81213d.
Fixed
- Padded fields no longer assert an exact string length; instead, they assert maximum size.
- Optional fields backed by reference types are no longer marked nullable.
- Equals method overrides no longer result in
NullReferenceException
fornull
fields. - Array loops calculate element size in most cases, allowing readers to automatically ignore improperly-sized trailing data.
Moffat.EndlessOnline.SDK v1.0.0-rc2
Fixed
- Generated ToString() implementations correctly stringify structures.
- Arrays that are deserialized based on the value of reader.Remaining now properly store the initial "remaining" value. Fixes a bug where only half of an array in a given chunk would be read.
Moffat.EndlessOnline.SDK v1.0.0-rc1
Fixed
- Doc comments for structs/packets are now properly parsed and generated from the source XML.
- Nested structures are now properly initialized to their default value; resolves crash bug during attempts to deserialize default-initialized packets.
Moffat.EndlessOnline.SDK v1.0.0-beta4
Fixed
- Length properties referenced by a field or array now correctly generate private readonly properties in all cases.
Moffat.EndlessOnline.SDK v1.0.0-beta3
Fixed
- Fixed-length fields in packets/structures now assert that the collection is the correct length during serialization.
- Break bytes are handled correctly. An exception will be thrown during code generation if a break byte is not encapsulated by a
chunked
element. - Length properties referenced by a field or array are now private and no longer writable.
Moffat.EndlessOnline.SDK v1.0.0-beta2
Added
- Support for doc comments in nuget package
Moffat.EndlessOnline.SDK v1.0.0-beta1
Added
- Support for EO data structures
- Client packets
- Server packets
- Endless Map Files (EMF)
- Client pub files (items, npcs, spells, classes)
- Server pub files (talk, shops, drops, inns, skillmasters)
- Utilities
- Data reader/writer
- Number/string encoding
- Data encryption
- Packet sequencing