29 lines
2.2 KiB
C#
29 lines
2.2 KiB
C#
public class Endpoints
|
|
{
|
|
private const string HOST = "games.lncvrt.xyz";
|
|
public const string BASE_URL = "https://" + HOST + "/api";
|
|
public const string BERRYDASH_ENDPOINT = BASE_URL + "/berrydash";
|
|
public const string WS_ENDPOINT = "wss://" + HOST + "/api/ws";
|
|
public const string CAN_LOAD_CLIENT_ENDPOINT = BASE_URL + "/can-load-client";
|
|
public const string LATEST_VERSION_ENDPOINT = BERRYDASH_ENDPOINT + "/latest-version";
|
|
public const string LEADERBOARDS_ENDPOINT = BERRYDASH_ENDPOINT + "/leaderboards";
|
|
public const string LEADERBOARDS_SCORE_ENDPOINT = LEADERBOARDS_ENDPOINT + "/score";
|
|
public const string LEADERBOARDS_BERRY_ENDPOINT = LEADERBOARDS_ENDPOINT + "/berry";
|
|
public const string LEADERBOARDS_COIN_ENDPOINT = LEADERBOARDS_ENDPOINT + "/coin";
|
|
public const string LEADERBOARDS_LEGACY_ENDPOINT = LEADERBOARDS_ENDPOINT + "/legacy";
|
|
public const string LEADERBOARDS_TOTAL_ENDPOINT = LEADERBOARDS_ENDPOINT + "/total";
|
|
public const string PROFILE_ENDPOINT = BERRYDASH_ENDPOINT + "/profile";
|
|
public const string PROFILE_POSTS_ENDPOINT = PROFILE_ENDPOINT + "/posts";
|
|
public const string ICON_MARKETPLACE_ENDPOINT = BERRYDASH_ENDPOINT + "/icon-marketplace";
|
|
public const string ICON_MARKETPLACE_UPLOAD_ENDPOINT = ICON_MARKETPLACE_ENDPOINT + "/upload";
|
|
public const string ICON_MARKETPLACE_ICON_ENDPOINT = ICON_MARKETPLACE_ENDPOINT + "/icon";
|
|
public const string ACCOUNT_ENDPOINT = BERRYDASH_ENDPOINT + "/account";
|
|
public const string ACCOUNT_LOGIN_ENDPOINT = ACCOUNT_ENDPOINT + "/login";
|
|
public const string ACCOUNT_REGISTER_ENDPOINT = ACCOUNT_ENDPOINT + "/register";
|
|
public const string ACCOUNT_SAVE_ENDPOINT = ACCOUNT_ENDPOINT + "/save";
|
|
public const string ACCOUNT_CHANGE_USERNAME_ENDPOINT = ACCOUNT_ENDPOINT + "/change-username";
|
|
public const string ACCOUNT_CHANGE_PASSWORD_ENDPOINT = ACCOUNT_ENDPOINT + "/change-password";
|
|
public const string ACCOUNT_FORGOT_USERNAME_ENDPOINT = BASE_URL + "/account/forgot-username";
|
|
public const string ACCOUNT_FORGOT_PASSWORD_ENDPOINT = BASE_URL + "/account/forgot-password";
|
|
public const string CHATROOM_REPORT_MESSAGE_ENDPOINT = BERRYDASH_ENDPOINT + "/chatroom/report";
|
|
} |