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); }
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); } }