Moffat.EndlessOnline.SDK 1.4.0

dotnet add package Moffat.EndlessOnline.SDK --version 1.4.0
                    
NuGet\Install-Package Moffat.EndlessOnline.SDK -Version 1.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Moffat.EndlessOnline.SDK" Version="1.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Moffat.EndlessOnline.SDK" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Moffat.EndlessOnline.SDK" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Moffat.EndlessOnline.SDK --version 1.4.0
                    
#r "nuget: Moffat.EndlessOnline.SDK, 1.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Moffat.EndlessOnline.SDK@1.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Moffat.EndlessOnline.SDK&version=1.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Moffat.EndlessOnline.SDK&version=1.4.0
                    
Install as a Cake Tool

eolib-dotnet

Core library for writing Endless Online applications using .NET core.

build Nuget Docs

Features

Read and write the following 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

Requirements

  • .NET 8.0.x
  • Windows or Linux OS that supports .NET core

Usage

Referencing the package

This project is compiled and available as a package on nuget.org with the ID Moffat.EndlessOnline.SDK. Execute the following command from within your .NET core project to add a reference to the compiled binaries.

dotnet add package Moffat.EndlessOnline.SDK

Sample code

See the getting started guide. This package is referenced by the EndlessClient project.

Building from source

  1. Clone the repository, including submodules

    git clone --recurse-submodules git@github.com:ethanmoffat/eolib-dotnet.git
    
  2. Restore, build, and test the solution

    dotnet test
    

Building the docs

The API reference is built with DocFX, using the configuration and pages in docs/. DocFX is installed as a local .NET tool (.config/dotnet-tools.json).

./scripts/build-docs.sh                    # writes build/docs/html
./scripts/serve-docs.sh                    # builds the docs and serves the site at http://localhost:8000
./scripts/serve-docs.sh --releases         # also includes the published releases, to check the version picker

serve-docs.sh shows the working tree as <version>-local, next to the published versions. Only releases are published: the docs site is not updated for changes on master. To keep the site small, it has the newest release of each minor version, plus the prereleases of versions that aren't released yet. The docs of every release stay attached to the release as a -docs.tar.gz archive.

Versioning and releases

eolib-dotnet uses Semantic Versioning (MAJOR.MINOR.PATCH, with an optional -beta.N or -rc.N suffix). Changes are tracked in CHANGELOG.md, following Keep a Changelog.

To release a new version:

  1. Make sure the [Unreleased] section of CHANGELOG.md lists the changes.
  2. Run ./scripts/prepare-release.sh x.y.z-suffix --tag. It updates every file that references the version (<Version> in Moffat.EndlessOnline.SDK.csproj, the versions in Properties/AssemblyInfo.cs, and the changelog section and links), runs scripts/validate-release.sh, commits the changes as "Release x.y.z-suffix" and creates the tag. Use --commit to commit without tagging, --date to set the changelog date, or no option to only update the files for review.
  3. Push master, and wait for CI to pass.
  4. Push the tag vx.y.z-suffix. The release workflow runs validate-release.sh again, which also checks that the commit is on origin/master, before building anything. It then builds, tests and publishes the NuGet package, and publishes a GitHub release. It is marked as a prerelease when the version has a suffix. The release includes the API reference (Moffat.EndlessOnline.SDK-<version>-docs.tar.gz), and the Pages workflow then publishes it to the docs site.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Moffat.EndlessOnline.SDK:

Package Downloads
EOLib

Base library for Endless Online development

EOLib.IO

Library for interacting with Endless Online pub and map files

EOLib.Localization

Library for interacting with Endless Online edf files

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.0 138 10/2/2026
1.3.0 120 10/1/2026
1.2.0 111 9/28/2026
1.1.0 1,240 3/15/2026
1.0.2 655 7/2/2025
1.0.1 1,688 1/28/2025
1.0.0 562 10/15/2024
1.0.0-rc3 360 8/21/2024
1.0.0-rc2 597 5/29/2024
1.0.0-rc1 217 5/24/2024
1.0.0-beta4 216 5/16/2024
1.0.0-beta3 193 5/16/2024
1.0.0-beta2 212 5/15/2024
1.0.0-beta1 208 5/15/2024