22 lines
No EOL
855 B
C#
Executable file
22 lines
No EOL
855 B
C#
Executable file
using Dan.Enums;
|
|
|
|
namespace Dan
|
|
{
|
|
internal static class ConstantVariables
|
|
{
|
|
internal const string GUID_KEY = "LEADERBOARD_CREATOR___LOCAL_GUID";
|
|
|
|
internal static string GetServerURL(Routes route = Routes.None, string extra = "")
|
|
{
|
|
return SERVER_URL + (route == Routes.Authorize ? "/authorize" :
|
|
route == Routes.Get ? "/get" :
|
|
route == Routes.Upload ? "/entry/upload" :
|
|
route == Routes.UpdateUsername ? "/entry/update-username" :
|
|
route == Routes.DeleteEntry ? "/entry/delete" :
|
|
route == Routes.GetPersonalEntry ? "/entry/get" :
|
|
route == Routes.GetEntryCount ? "/entry/count" : "/") + extra;
|
|
}
|
|
|
|
private const string SERVER_URL = "https://lcv2-server.danqzq.games";
|
|
}
|
|
} |