Пример #1
0
    public void ServerStartCardSelection(PlayerController src, int seed1, int seed2, int seed3, CardGenerationFlags flags)
    {
        CardSelector cardSelector = GameUtils.GetCardSelector();

        cardSelector.SetCardSelection(this, src, seed1, seed2, seed3, flags);
        cardSelector.ShowSelections(this);
        RpcStartCardSelection(src.netIdentity, seed1, seed2, seed3, flags);
    }
Пример #2
0
 public void RpcStartCardSelection(NetworkIdentity src, int seed1, int seed2, int seed3, CardGenerationFlags flags)
 {
     if (!isServerOnly)
     {
         CardSelector cardSelector = GameUtils.GetCardSelector();
         cardSelector.SetCardSelection(this, src.GetComponent <PlayerController>(), seed1, seed2, seed3, flags);
         cardSelector.ShowSelections(this);
     }
 }