adding in some needed packages
This commit is contained in:
parent
9e739f5dc8
commit
aba5310742
1012 changed files with 494191 additions and 1 deletions
22
Assets/LeaderboardCreator/Scripts/Utils/ConstantVariables.cs
Executable file
22
Assets/LeaderboardCreator/Scripts/Utils/ConstantVariables.cs
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
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";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue