Package com.prineside.tdi2
Interface ActionResolver
- All Known Implementing Classes:
 ActionResolver.ActionResolverAdapter
public interface ActionResolver
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic class - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddNotification(int id, String title, String description, long timestampMs) booleanvoidclearNotification(int id) static ActionResolvercreateDummy(FileHandle logFile, PlatformLogger logger) Create a default platform-specific logger.booleanvoidgenerateDeviceReport(Json json) net.bytebuddy.dynamic.loading.ClassLoadingStrategygetClasses(String packageName) Must work even before GDX has started (no access to Gdx.files yet).voidgetMobilePasswordInput(Input.TextInputListener listener, String title, String text, String hint) com.badlogic.gdx.pay.PurchaseManagerint[]intintglGetStringi(int name, int index) voidhandleTextFieldFocus(FocusListener.FocusEvent event, TextField actor, boolean focused) voidhandleThreadExceptions(Thread thread) booleanbooleanbooleanbooleanvoidlogCurrencyReceived(String currencyName, String source, 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) voidvoidlogScreenChange(String screenName) voidlogShopOfferPurchased(String priceItem, int priceCount, String boughtItem, int boughtCount) voidlogShopOffersSkipped(int price) voidlogSignedUp(String method) newAudioDevice(int sampleRate, boolean isMono) voidonExit()voidvoidvoidbooleanbooleanvoidrequestGoogleAuth(ObjectConsumer<String> callback) voidvoidbooleanvoidsetFpsLimit(int limit) voidsetPersonalizedAds(boolean enabled) voidshowInterstitialAd(ObjectConsumer<Boolean> onDone) voidshowRewardAd(ObjectConsumer<Boolean> onDone, PurchaseManager.RewardingAdsType type) voidvoidunlockAchievement(AchievementType achievementType)  
- 
Method Details
- 
getLogFile
FileHandle getLogFile()Must work even before GDX has started (no access to Gdx.files yet). Normally called just once at the start of the game.- Returns:
 - log file handle to write logs to
 
 - 
createPlatformLogger
PlatformLogger createPlatformLogger()Create a default platform-specific logger. All input from the game and anything which uses Gdx logging will be written there. - 
isAppModified
boolean isAppModified() - 
getDeviceInfo
 - 
getShortDeviceInfo
String getShortDeviceInfo() - 
getPurchaseManager
com.badlogic.gdx.pay.PurchaseManager getPurchaseManager() - 
getBestScreenResolution
IntPair getBestScreenResolution() - 
newAudioDevice
 - 
getCachedMusicManager
MusicManager getCachedMusicManager() - 
onExit
void onExit() - 
getScreenSafeAreaInsets
int[] getScreenSafeAreaInsets()- Returns:
 - int[top right bottom left]
 
 - 
parseHtml
 - 
getWindowsGraphicsScale
int getWindowsGraphicsScale()- Returns:
 - 96, если стоит 100%
 
 - 
setFpsLimit
void setFpsLimit(int limit)  - 
getInitConfigManager
ActionResolver.InitConfigManager getInitConfigManager() - 
getClasses
 - 
getMobilePasswordInput
void getMobilePasswordInput(Input.TextInputListener listener, String title, String text, String hint)  - 
rewardAdsAvailable
boolean rewardAdsAvailable() - 
canShowRewardAd
boolean canShowRewardAd() - 
getSecondsTillCanShowRewardAd
int getSecondsTillCanShowRewardAd()- Returns:
 - -1, если неизвестно
 
 - 
showRewardAd
 - 
showInterstitialAd
 - 
hasGoogleAuth
boolean hasGoogleAuth() - 
isSignedInWithGoogle
boolean isSignedInWithGoogle() - 
requestGoogleAuth
 - 
signOutGoogle
void signOutGoogle() - 
requestLogin
void requestLogin() - 
logCurrencyReceived
 - 
logCurrencySpent
 - 
logLogined
 - 
logSignedUp
 - 
logCustomEvent
 - 
logIAP
 - 
logRewardedVideoViewed
 - 
logShopOfferPurchased
 - 
logShopOffersSkipped
void logShopOffersSkipped(int price)  - 
logScreenChange
 - 
hasNotifications
boolean hasNotifications() - 
addNotification
 - 
clearNotification
void clearNotification(int id)  - 
unlockAchievement
 - 
openHandbook
void openHandbook() - 
openSupportPage
void openSupportPage() - 
doubleGainEnabledBySteamGamePurchase
boolean doubleGainEnabledBySteamGamePurchase() - 
handleThreadExceptions
 - 
generateDeviceReport
 - 
glGetStringi
 - 
getByteBuddyClassLoadingStrategy
net.bytebuddy.dynamic.loading.ClassLoadingStrategy getByteBuddyClassLoadingStrategy() - 
handleTextFieldFocus
 - 
requestSteamAuthTicket
 - 
getDefaultLocale
String getDefaultLocale() - 
personalizedAdsSupported
boolean personalizedAdsSupported() - 
personalizedAdsEnabled
boolean personalizedAdsEnabled() - 
setPersonalizedAds
void setPersonalizedAds(boolean enabled)  - 
getFileChooser
 - 
createDummy
 
 -