Skip to content

[New Feature] Unified API to retrieve/manage UGC (user-generated content) #182

Description

@SFGrenade

Ideally it would be a class/method that returns the UGC folder for the mod.
2 options of implementing it:

  1. "Dumb" function
class UGCHelper {
    // UGCRoot to be determined
    public static string GetUGCPath(string modName) => Path.Combine(UGCRoot, modName);
}
  1. Mod-specific
public abstract class Mod : Loggable, IMod {
    ...
    // UGCRoot to be determined
   public string GetUGCPath() => Path.Combine(UGCRoot, GetName());
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions