/*public PlatformManager([InjectOptional] List<ISocialPlatform> platforms) * { * if (platforms is null) _platforms = new List<ISocialPlatform>(); * else _platforms = platforms; * }*/ public PlatformManager(Config config, SiraLog siraLog, ISocialPlatform platform) { _config = config; _platforms = new List <ISocialPlatform> { platform }; }
public MenuButtonManager(ISocialPlatform socialPlatform, ActionFlowCoordinator actionFlowCoordinator, MainFlowCoordinator mainFlowCoordinator) { _socialPlatform = socialPlatform; _mainFlowCoordinator = mainFlowCoordinator; _actionFlowCoordinator = actionFlowCoordinator; _menuButton = new MenuButton(nameof(Actions), ShowFlow); }
public TwitchActionUser(ISocialPlatform socialPlatform, User user) { ID = user.ID; Name = user.DisplayName; ProfilePictureURL = user.ProfileImageURL; _socialPlatform = socialPlatform; }
public static IObservable <bool> ContinueAfterAuthenticate(this ISocialPlatform socialPlatform, IObservable <bool> command) { var authCommand = new AuthenticateCommand(socialPlatform); return(authCommand .Execute(Unit.Default) .Where(x => x.Result) .ContinueWith(command)); }
protected virtual void Awake() { // Ensure we have one only instance if (_instance != null) { Destroy(this); } else { if (dontDestroyOnLoad) { DontDestroyOnLoad(gameObject); } _instance = this; downloading = false; cancelling = false; _defaultSocialPlatform = Social.Active; _platform = new CombuPlatform(); if (setAsDefaultSocialPlatform) { Social.Active = _platform; } } }
public LoadScoresCommand(ISocialPlatform socialPlatform) { _socialPlatform = socialPlatform; }
protected SocialService(ISocialPlatform socialPlatform) { _socialPlatform = socialPlatform; }
public ReportProgressCommand(ISocialPlatform socialPlatform) { _socialPlatform = socialPlatform; }
public LoadAchievementDescriptionsCommand(ISocialPlatform socialPlatform) { _socialPlatform = socialPlatform; }
public LoadAchievementsCommand(ISocialPlatform socialPlatform) { _socialPlatform = socialPlatform; }
public AuthenticateCommand(ISocialPlatform socialPlatform) { _socialPlatform = socialPlatform; }
public CommandCreator(Config config, ActionMacroView macroView, ISocialPlatform socialPlatform) { _config = config; _macroView = macroView; _socialPlatform = socialPlatform; }
public PostScoreCommand(ISocialPlatform socialPlatform) { _socialPlatform = socialPlatform; }
public LoadUsersCommand(ISocialPlatform socialPlatform) { _socialPlatform = socialPlatform; }