Thanks for wanting to help improve DeadshotModAPI.
- Fork and clone the repository:
git clone https://github.com/DemonZ-Development/DeadshotModAPI.git cd DeadshotModAPI - Build the project:
dotnet build DeadshotModAPI.csproj
- Run the tests:
dotnet test DeadshotModAPI.Tests/DeadshotModAPI.Tests.csproj
- Branches: Create feature branches off
dev, notmain. - Dependencies: Reference assemblies live in
lib/. Keep references relative so the project builds without machine-specific paths. - Error Handling: Use defensive null checks and exception handling around mod loading and IL2CPP interop. A broken mod should log the issue rather than crash the game or block other mods.
- Code Style: Follow standard C# conventions. Keep comments practical and direct.
- Keep PRs focused on a single feature, bug fix, or improvement.
- Verify the project builds with 0 errors and all tests pass.
- Open your PR against the
devbranch with a clear summary of what you changed.