public static ApplicationLocation NameToEvent(string name) { ApplicationLocation applicationEvent; if (s_nameToEvent.TryGetValue(name, out applicationEvent)) { return(applicationEvent); } applicationEvent = new ApplicationLocation(name); s_nameToEvent[name] = applicationEvent; return(applicationEvent); }
static ApplicationLocation() { AppLoaded = NameToEvent("sessionStart"); MoreApps = NameToEvent("moreApps"); MoreAppsInSeries = NameToEvent("MoreAppsInSeries"); Terminated = NameToEvent("SessionEnded"); SceneStart = NameToEvent("SceneStart"); SceneEnd = NameToEvent("SceneEnd"); FocusGained = NameToEvent("FocusGained"); FocusLost = NameToEvent("FocusLost"); GameOver = NameToEvent("GameOver"); LevelStart = NameToEvent("LevelStart"); LevelEnd = NameToEvent("LevelEnd"); GameStart = NameToEvent("GameStart"); // Tempoarry placehoders until PSDK implement the location manager: RewardedAds = NameToEvent("RewardedAds"); Interstitial = NameToEvent("interstitial"); BannerAds = NameToEvent("BannerAds"); SceneTransitions = NameToEvent("sceneTransitions"); }
public PopupHandle(ApplicationLocation location) { Location = location; }
public NullPopupHandle(ApplicationLocation location) { _location = location; }
public IPromise <LocationResult> Show(ApplicationLocation location) { return(promise); }
public IPopupHandle Get(ApplicationLocation location) { return(new NullPopupHandle()); }
public bool IsReady(ApplicationLocation location) { return(false); }