public void SaveData(ISerializableData _dataToStore, string _filename) { ConcreteModuleImplementation.SaveData(_dataToStore, _filename); }
/// <summary> /// Delete player with corresponding Id. /// </summary> /// <param name="_playerId"></param> public void DeletePlayer(string _playerId) { ConcreteModuleImplementation.DeletePlayer(_playerId); }
public void GameplayStart(IGameplayInfo _gameplayInfo) { ConcreteModuleImplementation.GameplayStart(_gameplayInfo); }
public ISerializableData LoadData(string _resourceName) { return(ConcreteModuleImplementation.LoadData(_resourceName)); }
/// <summary> /// Store alla player profiles. /// </summary> public void SaveAllOptions() { ConcreteModuleImplementation.SaveAllOptions(); }
/// <summary> /// Language to set. /// </summary> /// <param name="_languageToSet"></param> /// <returns></returns> public string SetActualLanguage(string _languageToSet) { return(ConcreteModuleImplementation.SetActualLanguage(_languageToSet)); }
/// <summary> /// Scene loaded behaviour. /// </summary> public void SceneLoadedBehaviour() { ConcreteModuleImplementation.SceneLoadedBehaviour(); }
/// <summary> /// Load player settings from previous saved. /// </summary> /// <param name="_playerId"></param> public IPlayerProfile LoadPlayerSettings <T>(string _playerId) where T : IPlayerProfile { return(ConcreteModuleImplementation.LoadPlayerSettings <T>(_playerId)); }
public void LevelStarted() { ConcreteModuleImplementation.LevelStarted(); }
public void LevelFinisched() { ConcreteModuleImplementation.LevelFinisched(); }
/// <summary> /// Hide container. /// </summary> public void HideUIContainer(string _UIContainerKey) { ConcreteModuleImplementation.HideUIContainer(_UIContainerKey); }
/// <summary> /// Show container. /// </summary> /// <param name="_UIContainerKey"></param> /// <param name="_withBreadcrumbs"></param> public void ShowUIContainer(string _UIContainerKey, OpenUIContainerSettings _openingSettins = null) { ConcreteModuleImplementation.ShowUIContainer(_UIContainerKey, _openingSettins); }
/// <summary> /// Get all available languages. /// </summary> /// <returns></returns> public string[] GetAllAvailableLanguages() { return(ConcreteModuleImplementation.GetAllAvailableLanguages()); }
/// <summary> /// Set Active player as Active Player. /// </summary> /// <param name="_playerId"></param> public void SetActivePlayer <T>(string _playerId) where T : IPlayerProfile { ConcreteModuleImplementation.SetActivePlayer <T>(_playerId); }
/// <summary> /// Unload scene. /// </summary> /// <param name="_transitionSettings"></param> public void UnloadSceneWithTransition(SceneTransition _transitionSettings) { ConcreteModuleImplementation.UnloadSceneWithTransition(_transitionSettings); }
/// <summary> /// Save player settins. /// </summary> /// <param name="_newPlayer"></param> /// <param name="_extProfile"></param> public void SavePlayerSettings(IPlayerProfile _newPlayer, IPlayerExtendedProfile _extProfile = null) { ConcreteModuleImplementation.SavePlayerSettings(_newPlayer, _extProfile); }
/// <summary> /// Load scene. /// </summary> /// <param name="_sceneToLoad"></param> /// <param name="_transitionSettings"></param> public void LoadSceneWithTransition(string _sceneToLoad, SceneTransition _transitionSettings) { ConcreteModuleImplementation.LoadSceneWithTransition(_sceneToLoad, _transitionSettings); }
/// <summary> /// Load all global options included list of players profiles. /// </summary> /// <returns></returns> //public IGlobalOptions LoadGlobalOptions<T>() where T : IGlobalOptions { // return ConcreteModuleImplementation.LoadGlobalOptions<T>(); //} public GlobalOptions LoadGlobalOptions <T>(T _defaultOptions) where T : GlobalOptions { return(ConcreteModuleImplementation.LoadGlobalOptions <T>(_defaultOptions)); }
public void GameplayResult(IGameplayResult _result) { ConcreteModuleImplementation.GameplayResult(_result); }
/// <summary> /// Create new player with informations provided. /// </summary> /// <param name="_newPlayer"></param> /// <param name="_extProfile"></param> /// <returns>Player created or null if player with user id already exist.</returns> public IPlayerProfile CreateNewPlayer(IPlayerProfile _newPlayer, IPlayerExtendedProfile _extProfile = null) { return(ConcreteModuleImplementation.CreateNewPlayer(_newPlayer, _extProfile)); }
/// <summary> /// Get localized string in actual selected language. /// </summary> /// <param name="_locStringID">ID of localized string.</param> /// <returns></returns> public string GetLocalizedString(string _locStringID) { return(ConcreteModuleImplementation.GetLocalizedString(_locStringID)); }