public override void Launch()
    {
        #region GAMER SERVER STARTUP CODE ( You don't need to touch this )
        _logger = injectionBinder.GetInstance <LogSignal>();
        _logger.Dispatch(LoggerTypes.Info, "Launch from MainGameServer Context.");

        //Bind to onComplete.
        _loadPlayFabDataCompleteSignal = injectionBinder.GetInstance <PlayFabServerStartupCompleteSignal>();
        _loadPlayFabDataCompleteSignal.AddListener(OnPlayFabServerStartup);

        //Dispatch Signal to startup
        var loadPlayFabDataSignal = injectionBinder.GetInstance <PlayFabServerStartupSignal>();
        loadPlayFabDataSignal.Dispatch();
        #endregion
    }
Ejemplo n.º 2
0
    public override void Launch()
    {
        _logger = injectionBinder.GetInstance <LogSignal>();
        _logger.Dispatch(LoggerTypes.Info, "Launch from MainGameServer Context.");

        foreach (var pack in MainCtx.Packages)
        {
            pack.Launch(injectionBinder);
        }
        //Bind to onComplete.
        _loadPlayFabDataCompleteSignal = injectionBinder.GetInstance <PlayFabServerStartupCompleteSignal>();
        _loadPlayFabDataCompleteSignal.AddListener(OnPlayFabServerStartup);

        //Dispatch Signal to startup
        var loadPlayFabDataSignal = injectionBinder.GetInstance <PlayFabServerStartupSignal>();

        loadPlayFabDataSignal.Dispatch();
    }
Ejemplo n.º 3
0
    public override void Launch()
    {
        _logger = injectionBinder.GetInstance<LogSignal>();
        _logger.Dispatch(LoggerTypes.Info, "Launch from MainGameServer Context.");

        foreach (var pack in MainCtx.Packages)
        {
            pack.Launch(injectionBinder);
        }
        //Bind to onComplete.
        _loadPlayFabDataCompleteSignal = injectionBinder.GetInstance<PlayFabServerStartupCompleteSignal>();
        _loadPlayFabDataCompleteSignal.AddListener(OnPlayFabServerStartup);

        //Dispatch Signal to startup
        var loadPlayFabDataSignal = injectionBinder.GetInstance<PlayFabServerStartupSignal>();
        loadPlayFabDataSignal.Dispatch();

    }