Make leaderboards work with new servers
This commit is contained in:
9
Assets/Scripts/Other/Endpoints.cs
Normal file
9
Assets/Scripts/Other/Endpoints.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
public class Endpoints
|
||||
{
|
||||
public static readonly string BASE_URL = "https://games.lncvrt.xyz/api";
|
||||
public static readonly string LEADERBOARDS_SCORE_ENDPOINT = BASE_URL + "/berrydash/leaderboards/score";
|
||||
public static readonly string LEADERBOARDS_BERRY_ENDPOINT = BASE_URL + "/berrydash/leaderboards/berry";
|
||||
public static readonly string LEADERBOARDS_COIN_ENDPOINT = BASE_URL + "/berrydash/leaderboards/coin";
|
||||
public static readonly string LEADERBOARDS_LEGACY_ENDPOINT = BASE_URL + "/berrydash/leaderboards/legacy";
|
||||
public static readonly string LEADERBOARDS_TOTAL_ENDPOINT = BASE_URL + "/berrydash/leaderboards/total";
|
||||
}
|
||||
2
Assets/Scripts/Other/Endpoints.cs.meta
Normal file
2
Assets/Scripts/Other/Endpoints.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0bd49a8a30eae454ab076e86982db0d5
|
||||
Reference in New Issue
Block a user