Skip to content

Hash API

The whole API is one file. Copy HashCommands.cs into your project - that is the supported way, and it means there is no extra assembly to ship and no version to keep in step.

<Compile Include="path\to\HashCommands.cs" />
[assembly: MelonOptionalDependencies("Hash")]

Every call is a no-op that returns a default when Hash is not installed, and binds by itself when it is, so you can ship this unconditionally. Registrations made before the host loads are replayed once it does.

Generated from Hash.Api/HashCommands.cs at v1.0.5.

1 public types, 2 members, 100% carry a documentation comment.