Beispiel #1
0
    public void SetGameClientPlugin(IGameClient gameClient)
    {
        if (GameClientPlugin != gameClient)
        {
            GameData.Load();
            var dataSlot = GameData.current.GetCurrentDataSlot();

            GameClientPlugin = gameClient;
            GameClientPlugin.Initialize(this, dataSlot);
        }
    }
Beispiel #2
0
 public void Initialize() => _client.Initialize(IsHosting);
Beispiel #3
0
 /// <inheritdoc />
 public void Initialize() => _client.Initialize(isHost);
    public void SetGameClientPlugin(IGameClient gameClient)
    {
        if (GameClientPlugin != gameClient)
        {
            GameData.Load();
            var dataSlot = GameData.current.GetCurrentDataSlot();

            GameClientPlugin = gameClient;
            GameClientPlugin.Initialize(this, dataSlot);
        }
    }