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

            GameClientPlugin = gameClient;
            GameClientPlugin.Initialize(this, dataSlot);
        }
    }
コード例 #2
0
 public void Initialize() => _client.Initialize(IsHosting);
コード例 #3
0
ファイル: HumanClient.cs プロジェクト: vidostreif/AbathurBot
 /// <inheritdoc />
 public void Initialize() => _client.Initialize(isHost);
コード例 #4
0
    public void SetGameClientPlugin(IGameClient gameClient)
    {
        if (GameClientPlugin != gameClient)
        {
            GameData.Load();
            var dataSlot = GameData.current.GetCurrentDataSlot();

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