Skip to content

Commit

Permalink
fix: Fix build errors before release
Browse files Browse the repository at this point in the history
  • Loading branch information
kirre-bylund committed Dec 17, 2024
1 parent 621a755 commit 18c3c98
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,12 @@ void ULootLockerAuthenticationRequestHandler::StartSteamSession(const FString& S
LLAPI<FLootLockerAuthenticationResponse>::CallAPI(HttpClient, FLootLockerSteamSessionRequest{ config->LootLockerGameKey, config->GameVersion, SteamSessionTicket }, ULootLockerGameEndpoints::SteamSessionEndpoint, { }, EmptyQueryParams, OnCompletedRequestBP, OnCompletedRequest, responseHandler);
}
else {
LLAPI<FLootLockerAuthenticationResponse>::CallAPI(HttpClient, FLootLockerSteamSessionWithAppIdRequest{ { config->LootLockerGameKey, config->GameVersion, SteamSessionTicket }, SteamAppId }, ULootLockerGameEndpoints::SteamSessionEndpoint, { }, EmptyQueryParams, OnCompletedRequestBP, OnCompletedRequest, responseHandler);
FLootLockerSteamSessionWithAppIdRequest request;
request.steam_app_id = SteamAppId;
request.game_api_key = config->LootLockerGameKey;
request.game_version = config->GameVersion;
request.steam_ticket = SteamSessionTicket;
LLAPI<FLootLockerAuthenticationResponse>::CallAPI(HttpClient, request, ULootLockerGameEndpoints::SteamSessionEndpoint, { }, EmptyQueryParams, OnCompletedRequestBP, OnCompletedRequest, responseHandler);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ void ULootLockerManager::ListCurrencies(const FLootLockerListCurrenciesResponseB

void ULootLockerManager::GetCurrencyDetails(const FString& CurrencyCode, const FLootLockerGetCurrencyDetailsResponseBP& OnCompletedRequest)
{
ULootLockerCurrencyRequestHandler::GetCurrencyDenominationsByCode(CurrencyCode, OnCompletedRequest);
ULootLockerCurrencyRequestHandler::GetCurrencyDetails(CurrencyCode, OnCompletedRequest);
}

void ULootLockerManager::GetCurrencyDenominationsByCode(const FString& CurrencyCode, const FLootLockerListDenominationsResponseBP& OnCompletedRequest)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ void ULootLockerSDKManager::ListCurrencies(const FLootLockerListCurrenciesRespon

void ULootLockerSDKManager::GetCurrencyDetails(const FString& CurrencyCode, const FLootLockerGetCurrencyDetailsResponseDelegate& OnCompletedRequest)
{
ULootLockerCurrencyRequestHandler::GetCurrencyDenominationsByCode(CurrencyCode, FLootLockerGetCurrencyDetailsResponseBP(), OnCompletedRequest);
ULootLockerCurrencyRequestHandler::GetCurrencyDetails(CurrencyCode, FLootLockerGetCurrencyDetailsResponseBP(), OnCompletedRequest);
}

void ULootLockerSDKManager::GetCurrencyDenominationsByCode(const FString& CurrencyCode, const FLootLockerListDenominationsResponseDelegate& OnCompletedRequest)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class LOOTLOCKERSDK_API ULootLockerCurrencyRequestHandler : public UObject
ULootLockerCurrencyRequestHandler();

static void ListCurrencies(const FLootLockerListCurrenciesResponseBP& OnResponseCompletedBP = FLootLockerListCurrenciesResponseBP(), const FLootLockerListCurrenciesResponseDelegate& OnResponseCompleted = FLootLockerListCurrenciesResponseDelegate());
static void GetCurrencyDetails(const FString& CurrencyCode, const FLootLockerGetCurrencyDetailsResponseBP& OnResponseCompletedBP = FLootLockerGetCurrencyDetailsResponseBP(), const FLootLockerGetCurrencyDetailsResponse& OnResponseCompleted = FLootLockerGetCurrencyDetailsResponse());
static void GetCurrencyDetails(const FString& CurrencyCode, const FLootLockerGetCurrencyDetailsResponseBP& OnResponseCompletedBP = FLootLockerGetCurrencyDetailsResponseBP(), const FLootLockerGetCurrencyDetailsResponseDelegate& OnResponseCompleted = FLootLockerGetCurrencyDetailsResponseDelegate());
static void GetCurrencyDenominationsByCode(const FString& CurrencyCode, const FLootLockerListDenominationsResponseBP& OnResponseCompletedBP = FLootLockerListDenominationsResponseBP(), const FLootLockerListDenominationsResponseDelegate& OnResponseCompleted = FLootLockerListDenominationsResponseDelegate());

static ULootLockerHttpClient* HttpClient;
Expand Down

0 comments on commit 18c3c98

Please sign in to comment.