Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Allow subversion patches to hide themselves on demand #45

Merged
merged 2 commits into from
May 26, 2024

Conversation

misandrie
Copy link
Member

Usage:

// No namespace

public static class Sedition
{
    private static bool tripped = false;
    
    public delegate void Forward(Assembly asm);

    public static Forward? hideDelegate;

    public static void Hide()
    {
        if (tripped) return;

        tripped = true;
        hideDelegate?.Invoke(Assembly.GetExecutingAssembly());
    }
}

Ideally attach a call to Hide after the Init entrypoint function

Resolves #31

@misandrie misandrie merged commit dc1408e into ValidHunters:master May 26, 2024
2 checks passed
@misandrie misandrie deleted the Sedition branch May 26, 2024 13:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow sideloaded mods to be reflected by the engine under hidesey
1 participant