Package com.prineside.tdi2
Class ActionResolver.ActionResolverAdapter
java.lang.Object
com.prineside.tdi2.ActionResolver.ActionResolverAdapter
- All Implemented Interfaces:
ActionResolver
- Enclosing interface:
- ActionResolver
public abstract static class ActionResolver.ActionResolverAdapter
extends Object
implements ActionResolver
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.prineside.tdi2.ActionResolver
ActionResolver.ActionResolverAdapter, ActionResolver.InitConfigManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNotification(int id, String title, String description, long timestampMs) booleanvoidclearNotification(int id) booleanvoidgenerateDeviceReport(com.badlogic.gdx.utils.Json json) net.bytebuddy.dynamic.loading.ClassLoadingStrategyvoidgetMobilePasswordInput(com.badlogic.gdx.Input.TextInputListener listener, String title, String text, String hint) com.badlogic.gdx.pay.PurchaseManagerint[]intintvoidhandleTextFieldFocus(com.badlogic.gdx.scenes.scene2d.utils.FocusListener.FocusEvent event, TextFieldXPlatform actor, boolean focused) voidhandleThreadExceptions(Thread thread) booleanbooleanbooleanbooleanvoidlogCurrencyReceived(String currencyName, int amount) voidlogCurrencySpent(String onItem, String currencyName, int amount) voidlogCustomEvent(String eventName, String[] paramPairs) voidlogIAP(Config.ProductId id, com.badlogic.gdx.pay.Transaction transaction) voidlogLogined(String method) voidvoidlogSignedUp(String method) com.badlogic.gdx.audio.AudioDevicenewAudioDevice(int sampleRate, boolean isMono) voidonExit()voidvoidvoidrequestGoogleAuth(ObjectRetriever<String> callback) voidvoidbooleanvoidsetFpsLimit(int limit) voidshowRewardAd(ObjectRetriever<Boolean> onDone, PurchaseManager.RewardingAdsType type) voidvoidMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.prineside.tdi2.ActionResolver
getDeviceInfo, getOkJoySDK, getShortDeviceInfo, glGetStringi
-
Constructor Details
-
ActionResolverAdapter
public ActionResolverAdapter()
-
-
Method Details
-
getPurchaseManager
public com.badlogic.gdx.pay.PurchaseManager getPurchaseManager()- Specified by:
getPurchaseManagerin interfaceActionResolver
-
getScreenSafeAreaInsets
public int[] getScreenSafeAreaInsets()- Specified by:
getScreenSafeAreaInsetsin interfaceActionResolver- Returns:
- int[top right bottom left]
-
getBestScreenResolution
- Specified by:
getBestScreenResolutionin interfaceActionResolver
-
setFpsLimit
public void setFpsLimit(int limit) - Specified by:
setFpsLimitin interfaceActionResolver
-
getWindowsGraphicsScale
public int getWindowsGraphicsScale()- Specified by:
getWindowsGraphicsScalein interfaceActionResolver- Returns:
- 96, если стоит 100%
-
getCachedMusicManager
- Specified by:
getCachedMusicManagerin interfaceActionResolver
-
hasNotifications
public boolean hasNotifications()- Specified by:
hasNotificationsin interfaceActionResolver
-
addNotification
- Specified by:
addNotificationin interfaceActionResolver
-
clearNotification
public void clearNotification(int id) - Specified by:
clearNotificationin interfaceActionResolver
-
requestLogin
public void requestLogin()- Specified by:
requestLoginin interfaceActionResolver
-
generateDeviceReport
public void generateDeviceReport(com.badlogic.gdx.utils.Json json) - Specified by:
generateDeviceReportin interfaceActionResolver
-
getInitConfigManager
- Specified by:
getInitConfigManagerin interfaceActionResolver
-
getMobilePasswordInput
public void getMobilePasswordInput(com.badlogic.gdx.Input.TextInputListener listener, String title, String text, String hint) - Specified by:
getMobilePasswordInputin interfaceActionResolver
-
rewardAdsAvailable
public boolean rewardAdsAvailable()- Specified by:
rewardAdsAvailablein interfaceActionResolver
-
canShowRewardAd
public boolean canShowRewardAd()- Specified by:
canShowRewardAdin interfaceActionResolver
-
hasGoogleAuth
public boolean hasGoogleAuth()- Specified by:
hasGoogleAuthin interfaceActionResolver
-
isSignedInWithGoogle
public boolean isSignedInWithGoogle()- Specified by:
isSignedInWithGooglein interfaceActionResolver
-
requestGoogleAuth
- Specified by:
requestGoogleAuthin interfaceActionResolver
-
signOutGoogle
public void signOutGoogle()- Specified by:
signOutGooglein interfaceActionResolver
-
logCurrencyReceived
- Specified by:
logCurrencyReceivedin interfaceActionResolver
-
logCurrencySpent
- Specified by:
logCurrencySpentin interfaceActionResolver
-
logLogined
- Specified by:
logLoginedin interfaceActionResolver
-
logSignedUp
- Specified by:
logSignedUpin interfaceActionResolver
-
getSecondsTillCanShowRewardAd
public int getSecondsTillCanShowRewardAd()- Specified by:
getSecondsTillCanShowRewardAdin interfaceActionResolver- Returns:
- -1, если неизвестно
-
showRewardAd
- Specified by:
showRewardAdin interfaceActionResolver
-
isAppModified
public boolean isAppModified()- Specified by:
isAppModifiedin interfaceActionResolver
-
logCustomEvent
- Specified by:
logCustomEventin interfaceActionResolver
-
logIAP
- Specified by:
logIAPin interfaceActionResolver
-
logRewardedVideoViewed
- Specified by:
logRewardedVideoViewedin interfaceActionResolver
-
onExit
public void onExit()- Specified by:
onExitin interfaceActionResolver
-
newAudioDevice
public com.badlogic.gdx.audio.AudioDevice newAudioDevice(int sampleRate, boolean isMono) - Specified by:
newAudioDevicein interfaceActionResolver
-
unlockAchievement
- Specified by:
unlockAchievementin interfaceActionResolver
-
openHandbook
public void openHandbook()- Specified by:
openHandbookin interfaceActionResolver
-
doubleGainEnabledBySteamGamePurchase
public boolean doubleGainEnabledBySteamGamePurchase()- Specified by:
doubleGainEnabledBySteamGamePurchasein interfaceActionResolver
-
openSupportPage
public void openSupportPage()- Specified by:
openSupportPagein interfaceActionResolver
-
handleThreadExceptions
- Specified by:
handleThreadExceptionsin interfaceActionResolver
-
getByteBuddyClassLoadingStrategy
public net.bytebuddy.dynamic.loading.ClassLoadingStrategy getByteBuddyClassLoadingStrategy()- Specified by:
getByteBuddyClassLoadingStrategyin interfaceActionResolver
-
handleTextFieldFocus
public void handleTextFieldFocus(com.badlogic.gdx.scenes.scene2d.utils.FocusListener.FocusEvent event, TextFieldXPlatform actor, boolean focused) - Specified by:
handleTextFieldFocusin interfaceActionResolver
-
requestSteamAuthTicket
- Specified by:
requestSteamAuthTicketin interfaceActionResolver
-