mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-22 04:05:42 +00:00
Nullify all playfab references
This commit is contained in:
parent
1e463f6efc
commit
9b62b65d0e
@ -1017,11 +1017,6 @@ window.onload = function() {
|
||||
GameUI.initialized = supportedBrowser;
|
||||
ui.view.initialized = supportedBrowser;
|
||||
setTimeout(() => {
|
||||
if(Steam){
|
||||
if(Steam.initAPI()){
|
||||
playFabLogin();
|
||||
}
|
||||
}
|
||||
document.getElementById("loading").style.display = "none";
|
||||
}, 500);
|
||||
if (!supportedBrowser) {
|
||||
|
@ -84,7 +84,7 @@ const SteamFunctions = {
|
||||
Cloud.user.displayName = Steam.getSteamId().screenName
|
||||
},
|
||||
PurchaseIAP(STD, kreds) {
|
||||
if (!steamOn) return;
|
||||
/*if (!steamOn) return;
|
||||
const TheItem = { ItemId: `${STD}STD`, Quantity: 1, Annotation: "Purchased via in-game store" };
|
||||
PlayFab.settings.titleId = "59813";
|
||||
const loginRequest = {
|
||||
@ -113,10 +113,10 @@ const SteamFunctions = {
|
||||
} else if (error !== null) {
|
||||
console.log(error);
|
||||
}
|
||||
});
|
||||
});*/
|
||||
},
|
||||
ConfirmSteamPurchase(OrderIdentifier) {
|
||||
console.log(OrderIdentifier);
|
||||
/*console.log(OrderIdentifier);
|
||||
PlayFab.ClientApi.ConfirmPurchase({ OrderId: OrderIdentifier }, (result, error) => {
|
||||
if (result !== null && result.data.Items != null) {
|
||||
console.log(result);
|
||||
@ -138,7 +138,7 @@ const SteamFunctions = {
|
||||
} else if (error !== null) {
|
||||
console.log(error);
|
||||
}
|
||||
});
|
||||
});*/
|
||||
},
|
||||
PurchaseValidation() {
|
||||
if (SteamFunctions.purchaseChecker.length > 0) {
|
||||
|
@ -45,7 +45,6 @@
|
||||
</div>
|
||||
<div id="performance-stats" class="c-performance-stats" style="display: none;"></div>
|
||||
|
||||
<script type="text/javascript" src="PlayFab/PlayFabClientApi.js"></script>
|
||||
<script type="text/javascript" src="Steam/steam.js"></script>
|
||||
<canvas id="forceRefreshCanvas" style="position: fixed; right: 0px; bottom: 0px; width: 100vw; height: 100%; opacity: 0.01; pointer-events: none; z-index: -20;"></canvas>
|
||||
<script>
|
||||
|
Loading…
Reference in New Issue
Block a user