SA3D.Common 2.1.1

dotnet add package SA3D.Common --version 2.1.1
                    
NuGet\Install-Package SA3D.Common -Version 2.1.1
                    
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="SA3D.Common" Version="2.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SA3D.Common" Version="2.1.1" />
                    
Directory.Packages.props
<PackageReference Include="SA3D.Common" />
                    
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 SA3D.Common --version 2.1.1
                    
#r "nuget: SA3D.Common, 2.1.1"
                    
#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 SA3D.Common@2.1.1
                    
#: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=SA3D.Common&version=2.1.1
                    
Install as a Cake Addin
#tool nuget:?package=SA3D.Common&version=2.1.1
                    
Install as a Cake Tool

SA3D.Common

Code reused all throughout the SA3D Code Library.


Namespaces and their contents

Namespace Contents
SA3D.Common Various Utility Methods
SA3D.Ascii Writer for writing Ascii C-structures
SA3D.Common.Lookup 2-way offset dictionaries for storing pairs with unique values and unique offsets
SA3D.Common.Ini Ini data de/serializer.
SA3D.Common.IO Data reader and writer, as well as Executable utilities.
SA3D.Common.Converters Various converters, mostly used in conjunction with Ini data.
SA3D.Common.JsonConverters Various Json converters for native data types.

Utility classes

Class Function
FlagHelper Flag values from 8 to 64 bits.
CollectionExtensions Collection utility methods.
MathHelper Various mathematical functionalities. Primarily contains angle related methods so far.
RegionMarker Used to define and check "regions" in a 1 dimensional sequence.
StringExtensions Various extensions for formatting and generating strings.

Releasing

!! Requires authorization via the X-Hax organisation

  1. Edit the version number in src/SA3D.Common/SA3D.Common.csproj; Example: <Version>1.0.0</Version><Version>2.0.0</Version>
  2. Commit the change but dont yet push.
  3. Tag the commit: git tag -a [version number] HEAD -m "Release version [version number]"
  4. Push with tags: git push --follow-tags

This will automatically start the Github Build and Publish workflow

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SA3D.Common:

Package Downloads
SA3D.Modeling

Reading, writing and processing library for Sonic Adventure models

SA3D.Texturing

Texture data handler

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.1 0 7/29/2026
2.1.0 0 7/29/2026
2.0.0 70 7/28/2026
1.5.0 769 8/2/2024
1.4.7 525 4/7/2024
1.4.6 645 2/7/2024
1.4.5 647 1/26/2024
1.4.4 623 12/2/2023
1.4.3 736 11/23/2023
1.4.2 808 11/5/2023
1.4.1 469 11/5/2023
1.4.0 503 11/5/2023
1.3.4 493 11/5/2023
1.3.3 498 11/5/2023
1.3.2 491 11/5/2023
1.3.1 496 11/5/2023
1.3.0 504 11/4/2023
1.2.2 476 11/2/2023
1.2.1 538 10/29/2023
1.2.0 521 10/27/2023
Loading failed