void Start() { mBackend = new QwfBackend(); //BackendManager.Init( mBackend ); MyMessenger.AddListener(BackendMessages.LOGIN_SUCCESS, OnLoginSuccess); MyMessenger.AddListener <IBackendFailure>(BackendMessages.BACKEND_REQUEST_FAIL, OnBackendFailure); LoginStatusText.text = STATUS_WAITING_TO_CHOOSE; }
void Start() { IBackend playFabBackend = new IdleFantasyBackend(); MyMessenger.AddListener(BackendMessages.LOGIN_SUCCESS, OnLogin); Login login = new Login(playFabBackend, new EmptyAnalyticsTimer()); login.Start(); }
public void Start() { MyMessenger.AddListener <IAuthenticationSuccess>(BackendMessages.AUTH_SUCCESS, OnAuthenticationSucess); MyMessenger.AddListener <IBackendFailure>(BackendMessages.BACKEND_REQUEST_FAIL, OnBackendFailure); mLoginTimer.Start(); mBackend.Authenticate(mLoginID); //mBackend.Authenticate( SystemInfo.deviceUniqueIdentifier ); //mBackend.Authenticate( TestUsers.FOUR ); }
public void Start() { mBackend = new IdleFantasyBackend(); BackendManager.Init(mBackend); MyMessenger.AddListener <IAuthenticationSuccess>(BackendMessages.AUTH_SUCCESS, OnAuthenticationSucess); MyMessenger.AddListener(BackendMessages.CLOUD_SETUP_SUCCESS, OnCloudSetupSuccess); MyMessenger.AddListener <IBackendFailure>(BackendMessages.BACKEND_REQUEST_FAIL, OnBackendFailure); mBackend.Authenticate(ID); }
void Start() { mBackend = new IdleFantasyBackend(); BackendManager.Init(mBackend); MyMessenger.AddListener(BackendMessages.LOGIN_SUCCESS, OnLoginSuccess); MyMessenger.AddListener <IBackendFailure>(BackendMessages.BACKEND_REQUEST_FAIL, OnBackendFailure); LoginStatusText.text = STATUS_CONNECTING; mLogin = new Login(mBackend, mLoginTimer); mLogin.Start(); }
private void SubscribeToMessages() { MyMessenger.AddListener <int>(MissionKeys.UNIT_SELECTED_EVENT, OnUnitSelected); }
public MyLogger() { MyMessenger.AddListener<LogTypes, string, string>( LOG_EVENT, LogWithCategory ); }
public IntegrationTestLogger() { MyMessenger.AddListener <LogTypes, string, string>(MyLogger.LOG_EVENT, LogWithCategory); }
private void SubscribeToMessages() { MyMessenger.AddListener(MapKeys.TRAVEL_TO_SUCCESS, OnTravelSuccess); }
private void SubscribeToMessages() { MyMessenger.AddListener <MissionData>(MissionKeys.MISSION_CLIENT_COMPLETE_PROCESSED, OnMissionCompleted); }
private void SubscribeToMessages() { MyMessenger.AddListener <string>(UnitKeys.UNLOCK_EVENT, OnUnitUnlocked); }
private void SubscribeToMessages() { MyMessenger.AddListener <int>(MapKeys.TRAVEL_TO_REQUEST, OnTravelToSelected); MyMessenger.AddListener(CLOSE_MAP_MESSAGE, CloseMap); }
private void SubscribeToMessages() { MyMessenger.AddListener(MapKeys.TRAVEL_TO_SUCCESS, OnTravelSuccess); MyMessenger.AddListener(OPEN_MAP_MESSAGE, CreateMapView); }
private void SubscribeToMessages() { EasyMessenger.Instance.AddListener <ITrainerManager>(TrainerManager.AVAILABLE_TRAINERS_EVENT, OnTrainersChanged); MyMessenger.AddListener <string>(Tutorial.TUTORIAL_FINISHED, OnTutorialFinished); }
private void SubscribeToMessages() { MyMessenger.AddListener <int>(MapKeys.TRAVEL_TO_REQUEST, OnTravelToSelected); }