mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
21 lines
587 B
C#
21 lines
587 B
C#
namespace BetterAmongUs.Network;
|
|
|
|
internal struct GitPath(string folder)
|
|
{
|
|
internal static readonly GitPath Repository = new("main");
|
|
internal static readonly GitPath News = new("main/News");
|
|
|
|
private const string BaseUrl = "https://raw.githubusercontent.com/D1GQ/BetterAmongUs-Public";
|
|
private readonly string _folder = folder;
|
|
|
|
internal readonly string Combine(params string[] paths)
|
|
{
|
|
return $"{BaseUrl}/{_folder}/{string.Join("/", paths)}";
|
|
}
|
|
|
|
public override readonly string ToString()
|
|
{
|
|
return $"{BaseUrl}/{_folder}";
|
|
}
|
|
}
|